aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_fs_configure.go
AgeCommit message (Collapse)AuthorFilesLines
2025-11-09Unify the parameter to disable dry-run on weed shell commands to `-apply` ↵Lisandro Pin1-0/+25
(instead of `-force`). (#7450) * Unify the parameter to disable dry-run on weed shell commands to --apply (instead of --force). * lint * refactor * Execution Order Corrected * handle deprecated force flag * fix help messages * Refactoring]: Using flag.FlagSet.Visit() * consistent with other commands * Checks for both flags * fix toml files --------- Co-authored-by: chrislu <chris.lu@gmail.com>
2025-03-31chore(deps): bump gocloud.dev from 0.40.0 to 0.41.0 (#6679)dependabot[bot]1-1/+1
* chore(deps): bump gocloud.dev from 0.40.0 to 0.41.0 Bumps [gocloud.dev](https://github.com/google/go-cloud) from 0.40.0 to 0.41.0. - [Release notes](https://github.com/google/go-cloud/releases) - [Commits](https://github.com/google/go-cloud/compare/v0.40.0...v0.41.0) --- updated-dependencies: - dependency-name: gocloud.dev dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * fix error * fix printing errors * Update go.mod --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: chrislu <chris.lu@gmail.com>
2024-12-31worm grace period and retention time support (#6404)Guang Jiong Lou1-13/+17
Signed-off-by: lou <alex1988@outlook.com>
2024-10-22adjust help messagechrislu1-1/+1
2024-09-29refactorchrislu1-1/+1
2024-09-28add IsResourceHeavy() to command interfacechrislu1-0/+4
2024-09-16improve worm support (#5983)Guang Jiong Lou1-0/+2
* improve worm support Signed-off-by: lou <alex1988@outlook.com> * worm mode in filer Signed-off-by: lou <alex1988@outlook.com> * update after review Signed-off-by: lou <alex1988@outlook.com> * update after review Signed-off-by: lou <alex1988@outlook.com> * move to fs configure Signed-off-by: lou <alex1988@outlook.com> * remove flag Signed-off-by: lou <alex1988@outlook.com> * update after review Signed-off-by: lou <alex1988@outlook.com> * support worm hardlink Signed-off-by: lou <alex1988@outlook.com> * update after review Signed-off-by: lou <alex1988@outlook.com> * typo Signed-off-by: lou <alex1988@outlook.com> * sync filer conf Signed-off-by: lou <alex1988@outlook.com> --------- Signed-off-by: lou <alex1988@outlook.com>
2023-10-12 fix: disallow file name too long when writing a file (#4881)Konstantin Lebedev1-0/+2
* fix: disallow file name too long when writing a file * bool LongerName to MaxFilenameLength --------- Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co>
2023-04-10adjusted regex to be from 1 to 255 for the value (#4377)Matt1-2/+2
* compatibility patch for csi driver * added namespace to all component parameters * added namespace to all component parameters * dereference in range * added namespace to values.yml defaults * added namespace to s3 component * added helm chart to github pages * added helm chart to github pages * added helm chart to github pages * added helm chart to github pages * added helm chart to github pages * push on all tags * push on all tags * push on all tags * push on all tags * push on all tags * changed helm directory structure * update charts location * fixed dereference * updated permissions * updated permissions * match current action schema * added helm chart liniting CI * modified chart list changed * fixed nodejs warning * standardized a few defaults * added chart dirs * lowerd period seconds for volume startup to test chart lint changes * lowerd period seconds for volume startup to test chart lint changes * test * changed back * adjustment * debug ls statment * removed change detection * remvoed change detection * always lint the charts * added missing ) * fixed typo * added spaces in front of all comments * pdated values.yaml * pdated values.yaml * don't validate maintainers for now * update helm_ci.yml * update helm_ci.yml * update helm_ci.yml * update helm_ci.yml * update helm_ci.yml * - adds helm chart lint on changes - adds test helm chart install on k8s * updated helm chart readme.md * added artifact hub * added artifact hub * added ttl validation * adjusted regex to be from 1 to 255 for the value * added better error message * fixed regex
2023-04-04File Path Configuration TTL Validation (#4376)Matt1-1/+12
* compatibility patch for csi driver * added namespace to all component parameters * added namespace to all component parameters * dereference in range * added namespace to values.yml defaults * added namespace to s3 component * added helm chart to github pages * added helm chart to github pages * added helm chart to github pages * added helm chart to github pages * added helm chart to github pages * push on all tags * push on all tags * push on all tags * push on all tags * push on all tags * changed helm directory structure * update charts location * fixed dereference * updated permissions * updated permissions * match current action schema * added helm chart liniting CI * modified chart list changed * fixed nodejs warning * standardized a few defaults * added chart dirs * lowerd period seconds for volume startup to test chart lint changes * lowerd period seconds for volume startup to test chart lint changes * test * changed back * adjustment * debug ls statment * removed change detection * remvoed change detection * always lint the charts * added missing ) * fixed typo * added spaces in front of all comments * pdated values.yaml * pdated values.yaml * don't validate maintainers for now * update helm_ci.yml * update helm_ci.yml * update helm_ci.yml * update helm_ci.yml * update helm_ci.yml * - adds helm chart lint on changes - adds test helm chart install on k8s * updated helm chart readme.md * added artifact hub * added artifact hub * added ttl validation
2022-09-16refactor(shell): readability improvements (#3704)Ryan Russell1-1/+1
Signed-off-by: Ryan Russell <git@ryanrussell.org> Signed-off-by: Ryan Russell <git@ryanrussell.org>
2022-07-29move to https://github.com/seaweedfs/seaweedfschrislu1-3/+3
2022-05-31help message when in simulation modechrislu1-0/+8
2022-04-29fix return valueguosj1-1/+1
2022-02-17fix minor bug in commandFsConfigure.Doguosj1-1/+1
2021-12-26use streaming mode for long poll grpc callschrislu1-1/+1
streaming mode would create separate grpc connections for each call. this is to ensure the long poll connections are properly closed.
2021-12-23filer server: add "datacenter, rack and datanode" for path specific ↵banjiaojuhao1-0/+6
configuration
2021-10-11AclHandlersKonstantin Lebedev1-18/+1
2021-07-25refactorChris Lu1-15/+23
2021-07-12fix typo in fs.configure help message textbingoohuang1-5/+5
2021-07-09/etc files are stored inside metadata storeChris Lu1-1/+3
2021-06-04filer: add path-specific option to enforce readonlyChris Lu1-0/+2
2021-02-22disk type support custom tagsChris Lu1-1/+1
2021-02-14disk type only supports hdd and ssd, not ready for random tags yetChris Lu1-1/+1
2021-02-13adjust help messageChris Lu1-1/+1
2020-12-22Merge branch 'master' into support_ssd_volumeChris Lu1-1/+1
2020-12-22minorChris Lu1-1/+1
2020-12-13rename parameter name to "disk"Chris Lu1-1/+1
2020-12-13rename from volumeType to diskTypeChris Lu1-0/+2
2020-12-10filer: change to /etc/seaweedfs folder on filerChris Lu1-2/+2
fix https://github.com/chrislusf/seaweedfs/issues/1666
2020-12-06refactoringChris Lu1-15/+1
2020-12-06fix import cycleChris Lu1-1/+1
2020-12-06refactoringChris Lu1-13/+1
2020-12-06shell: fix fs.configureChris Lu1-3/+5
2020-11-26go fmtChris Lu1-1/+1
2020-11-17fs.configure: configurable volume growthChris Lu1-5/+26
2020-11-16fail fast if user configures collection for a bucketChris Lu1-0/+4
2020-11-16adjust help messageChris Lu1-1/+1
2020-11-15filere.conf: prefer to use json formatChris Lu1-0/+1
2020-11-15adds more help messageChris Lu1-1/+12
2020-11-15fix typoChris Lu1-1/+1
2020-11-15filer conf: delete location specific configurationChris Lu1-3/+30
2020-11-15fs.configure: read and local add filer configurationChris Lu1-0/+87