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

Override or disable config files #33

Closed
andrewclegg opened this issue Mar 17, 2011 · 2 comments
Closed

Override or disable config files #33

andrewclegg opened this issue Mar 17, 2011 · 2 comments

Comments

@andrewclegg
Copy link

It'd be really useful to have a command-line switch to say "don't read any config files" or "read this specific config file instead of the default ones".

That way, you could run dumbo from a virtualenv or buildout without worrying that eggs, jars etc. specified in dumbo.conf or .dumborc would sneak in.

@klbostee
Copy link
Owner

Agreed. This is kind of related to #29 too.

I guess the easiest way of doing this would be to always pass the "opts" list to the "dumbo.util.configopts" function and vary its behavior based on a "config" option or so. While we're at it, It might make sense to rethink the options handling a bit and do a more involved refactor though -- it's one of the (several) implementation aspects of Dumbo that evolved very fast and organically and consequently isn't as clean and elegant as it could be.

Anyway, patches and/or pull requests are welcome.. :)

@andrewclegg
Copy link
Author

Cool, if you think it's a good plan I'll see if I can knock up a patched version at some point.

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

2 participants