[FEATURE REQUEST] Add ability to S3FS to limit to specific directory
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 15.7k
- Forks
- 5.6k
- Avg merge
- 2d 44m
- Merged PRs (30d)
- 80
Description
Is your feature request related to a problem? Please describe.
When using a shared S3 bucket for S3FS within an org it is beneficial to limit the path that is searched/cache by the Salt master. The idea here being that we could use this similar to gitfs where you can specify the file path in the repo as the starting point for the environment.
Describe the solution you'd like
The current configuration looks like this:
s3.buckets:
production:
- bucket1
- bucket2
staging:
- bucket3
- bucket4
It would be nice to be able to specify something like this:
s3.buckets:
production:
- bucket1:/path/to/start
- bucket2:/
staging:
- bucket3:/path/to/start
- bucket4:/
Or to have an option like gitfs_root.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the s3.buckets configuration shown in the issue and compare its requested path scoping with the linked gitfs_root documentation. Trace how bucket entries are interpreted and define completion as supporting per-bucket starting paths without changing the existing bucket-only configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, python
- Domain
- cloud, devops
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100