Skip to content

feat(cli): follow files share options per storage; update files-server and samba-server - #4372

Merged
eball merged 2 commits into
mainfrom
cli/files-share-rules-main
Nov 1, 2026
Merged

eball merged 2 commits into
mainfrom
cli/files-share-rules-main

Conversation

@pengpeng

@pengpeng pengpeng commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

Summary

Keeps olares-cli files consistent with LarePass and with files-server v0.2.206, and updates the files images.

Share options per storage

files share internal | smb | public now offers each storage the same options as LarePass:

Storage internal smb public
drive/Home yes yes yes
sync yes no no
external no yes no
drive/Data, drive/Common, cache, cloud drives no no no

A single table, shareFlavorsFor, replaces the per-flavor namespace list and the drive/Common special case. When an option isn't available, the error names the ones that are, or says the storage cannot be shared. Help text and the olares-files skill docs are updated.

Images

  • beclab/files-server v0.2.202 → v0.2.206
  • beclab/samba-server 0.0.18 → 0.0.21

Testing

  • go test ./cmd/ctl/files/ ./internal/files/...
  • The files end-to-end suite (148 cases) passes on a single-node Olares 1.12.8 with a CLI built from this branch.

🤖 Generated with Claude Code

pengpeng and others added 2 commits November 1, 2026 20:09
drive/Home takes internal shares, SMB shares and public links; sync
internal shares only; external SMB shares only; drive/Data,
drive/Common, cache and cloud drives none, as in LarePass. The files
commands are kept in step with files-server.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit ed50d47)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 2542f96)
@vercel

vercel Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
olares Ready Ready Preview Nov 1, 2026 12:44pm UTC
1 Skipped Deployment
Project Deployment Actions Updated
olares-docs Ignored Ignored Preview Nov 1, 2026 12:44pm UTC

@eball
eball merged commit 1dc6a68 into main Nov 1, 2026
42 of 44 checks passed

This branch was successfully deployed

1 active deployment
Preview – olares — 1fc2173f Deployed Nov 1, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants