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 --wolfi-defaults flag, clean up flag handling. #641

Merged
merged 3 commits into from
Aug 30, 2023

Conversation

vaikas
Copy link
Member

@vaikas vaikas commented Aug 30, 2023

Prior to this change, wolfi repo / keyring was hardcoded to python/gem convert command. Add a flag --wolfi-defaults if set to false will not do that. Motivation is that then removing them is manual work, that shouldn't be necessary. Default behaviour is unchanged.
Also unified the flag handling so that the common flags are specified in one place and not replicated.
Also fixed couple of .Equal commands where the expected / got were reversed which made it wonky to read the output.

Signed-off-by: Ville Aikas <vaikas@chainguard.dev>
@vaikas vaikas requested a review from a team as a code owner August 30, 2023 19:47
@vaikas vaikas requested review from ajayk and removed request for a team August 30, 2023 19:47
@vaikas vaikas enabled auto-merge August 30, 2023 19:48
vaikas added 2 commits August 30, 2023 12:55
…ant.

Signed-off-by: Ville Aikas <vaikas@chainguard.dev>
Signed-off-by: Ville Aikas <vaikas@chainguard.dev>
@vaikas
Copy link
Member Author

vaikas commented Aug 30, 2023

Fixes: #638

@vaikas vaikas merged commit a91a4c7 into chainguard-dev:main Aug 30, 2023
@vaikas vaikas deleted the optional-repos branch August 30, 2023 21:15
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

Successfully merging this pull request may close these issues.

2 participants