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 build --label foo create an empty "foo" label again #3963

Merged
merged 1 commit into from
May 4, 2022

Conversation

nalind
Copy link
Member

@nalind nalind commented May 4, 2022

What type of PR is this?

/kind bug

What this PR does / why we need it:

Restore podman's CLI compatibility with docker build by making its --label and --annotate options set empty labels and annotations when they're given a name but no = or value.

How to verify it

Updated integration test!

Which issue(s) this PR fixes:

Test failures in containers/podman#14118, h/t @flouthoc.

Special notes for your reviewer:

Does this PR introduce a user-facing change?

None

Restore podman's CLI compatibility with `docker build` by making its
`--label` and `--annotate` options create empty labels and annotations
when they're given a name but no `=` or value.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
@openshift-ci openshift-ci bot added kind/bug Categorizes issue or PR as related to a bug. approved labels May 4, 2022
Copy link
Collaborator

@flouthoc flouthoc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
/lgtm
/hold

@openshift-ci
Copy link
Contributor

openshift-ci bot commented May 4, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: flouthoc, nalind

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

The pull request process is described 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 May 4, 2022

/hold cancel

@rhatdan rhatdan merged commit 39c3e2f into containers:main May 4, 2022
@nalind nalind deleted the label-compat branch May 4, 2022 21:36
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved kind/bug Categorizes issue or PR as related to a bug. lgtm locked - please file new issue/PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants