-
Notifications
You must be signed in to change notification settings - Fork 4
Allow initializing pool without a buildroot & other minor cleanup #29
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
base: master
Are you sure you want to change the base?
Conversation
OnGle
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good otherwise.
| strict: bool = False, | ||
| quiet: bool = False, | ||
| tree: bool = False, | ||
| preserve_buildroot: str | None = None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With this setting the deckdebuild env-vars and conf relating to buildroot preservation are never read. This was set to None specifically to ensure this does not happen.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doh! 🤦♂️ Great catch!
I'll wind that back and assuming it "just works" I'll merge this...
Change function name to reflect what it does.
As per the title, the primary purpose of this PR is to support creation of a pool without a buildroot (e.g. if you only need a pool with stocks of pools and/or directories of prebuilt packages). That is achevied in these 2 commits:
Plus there are some other minor modifications:
Bugfix:
Improvement:
pool-...commands fail: d9925b2Other general code tiding:
preserve_buildroot="on-error"' as default inpool_get()func inpool_bin`: 76b0c0f