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

Butler V2 suggestions #6

Open
matthsmi opened this issue Jun 21, 2018 · 0 comments
Open

Butler V2 suggestions #6

matthsmi opened this issue Jun 21, 2018 · 0 comments

Comments

@matthsmi
Copy link
Collaborator

Today you can specify the following values:

primary-config-name - name of merged files
primary-config - list of files in repo section to be merged into the primary-config-name
additional-config - just files to be put in place as is

What might be better is to do away with that, and enable the following flags in the repo sections

merged = true
merged-file = "filename"

That way it'd be easier to understand what is going on there. If the repo is set to merged true, then all the files that it downloads will be merged.

Another thing that would have to change with this is that for the http/https handler, you'll want to be able to specify the actual host to hit. If the URL doesn't exist, then use the repo name (which is default now.)

The reason for this is that if you want to hit the SAME repo yet have it merge, then that'll break the TOML config, since how it nests the configuration, you'll have duplicate repos. At that point you would need to have the repos have arbitrary names, and specify the host further down in the http settings.

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

No branches or pull requests

1 participant