Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add download & retainment preferences differentiated by service #16

Closed
delgadom opened this issue Nov 21, 2016 · 0 comments
Closed

Add download & retainment preferences differentiated by service #16

delgadom opened this issue Nov 21, 2016 · 0 comments
Milestone

Comments

@delgadom
Copy link
Member

Presumably, if you have a remote and a local service, you don't want to keep every version of your data on the local system.

If we implement #10 it would be great if we could specify a config file something like this:

services:
    local:
        service: fs.osfs.OSFS
        service_path: '~/my_data_files/'
        retain_versions: 1
        size_warning: 500MB
        size_limit: 5GB

    osdc:
        service: fs.s3fs.S3FS
        service_config: '~/.aws/config'
        bucket: my-data-file
        retain_versions: -1
        size_warning: -1
        size_limit: -1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant