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

Make buildah manifest push --all true by default #5755

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

k9withabone
Copy link
Member

What type of PR is this?

/kind api-change

/kind bug

/kind cleanup
/kind deprecation
/kind design
/kind documentation
/kind failing-test
/kind feature
/kind flake
/kind other

What this PR does / why we need it:

Changed the --all option of buildah manifest push to be true by default. This matches the behavior of the equivalent Podman option (podman manifest push --all), making it easier to switch between Podman and Buildah.

Updated buildah-manifest-push(1) docs to reflect this change.

How to verify it

Use buildah manifest push --help, see that at the end of the line for the --all it says (default true).

Which issue(s) this PR fixes:

Fixes #5547

Special notes for your reviewer:

Does this PR introduce a user-facing change?

`buildah manifest push --all` is now true by default to match Podman.

Changed the `--all` option of `buildah manifest push` to be true by
default. This matches the behavior of the equivalent Podman option
(`podman manifest push --all`), making it easier to switch between
Podman and Buildah.

Updated buildah.manifest.push.1 docs to reflect this change.

Added test "manifest-push-all-default-true" to `tests/lists.bats`.

Closes: containers#5547
Signed-off-by: Paul Nettleton <[email protected]>
@openshift-ci openshift-ci bot added the kind/bug Categorizes issue or PR as related to a bug. label Sep 25, 2024
Copy link
Contributor

openshift-ci bot commented Sep 25, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: k9withabone
Once this PR has been reviewed and has the lgtm label, please assign lsm5 for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@rhatdan
Copy link
Member

rhatdan commented Sep 26, 2024

Could you Fix the man page and add a tests.

Test could be the equivalent of:

buildah manifest push --help | grep all.*true

@k9withabone
Copy link
Member Author

Added test "manifest-push-all-default-true" to tests/lists.bats.

What's wrong with the man page?

@rhatdan
Copy link
Member

rhatdan commented Sep 28, 2024

Add information about the default being true. Booleans without default in man pages are assumed False.

@k9withabone
Copy link
Member Author

Add information about the default being true.

Already done. It is the same as the Podman man page now.

@rhatdan
Copy link
Member

rhatdan commented Sep 29, 2024

LGTM
@nalind @flouthoc @giuseppe @mheon PTAL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants