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

Move config file parsing from tpkg executable to tpkg.rb #22

Open
jheiss opened this issue Aug 17, 2012 · 0 comments
Open

Move config file parsing from tpkg executable to tpkg.rb #22

jheiss opened this issue Aug 17, 2012 · 0 comments

Comments

@jheiss
Copy link
Member

jheiss commented Aug 17, 2012

Config file parsing should be done in the library rather than the executable so that all users of the library benefit from config file support.

Additionally the path for finding tpkg.conf should respect the file_system_root option to allow for unit testing of the config file parsing. I added this to etch recently and it could serve as an example.

Was: https://sourceforge.net/apps/trac/tpkg/ticket/28

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