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

Support filter image by reference to the image name #2430

Merged
merged 1 commit into from
Mar 6, 2019

Conversation

QiWang19
Copy link
Contributor

fix #2266
Signed-off-by: Qi Wang qiwan@redhat.com

@baude
Copy link
Member

baude commented Feb 25, 2019

/approve

@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: baude, QiWang19

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

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 25, 2019
@baude
Copy link
Member

baude commented Feb 25, 2019

needs an integration test or two/ else lgtm

@TomSweeneyRedHat
Copy link
Member

ditto @baude's comment. LGTM once new tests are provided.

@rhatdan
Copy link
Member

rhatdan commented Feb 25, 2019

@QiWang19 and I just did a lot of rework on this one. She will be pushing a new PR along with tests.

@QiWang19 QiWang19 changed the title Support filter image by reference to the repo name Support filter image by reference to the image name Feb 25, 2019
if podmanTest.RemoteTest {
Skip("Does not work on remote client")
}
result := podmanTest.Podman([]string{"images", "-q", "-f", "reference=docker.io*"})
Copy link
Member

Choose a reason for hiding this comment

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

Lets add a couple of others.

Look for only alpine, make sure you get one
Look for a*pine a make sure you get one.
and look for bogus. and make sure you get none.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed 🙋‍♀️

@mheon
Copy link
Member

mheon commented Feb 27, 2019

Needs to update RELEASE_NOTES.md with changes

@mheon
Copy link
Member

mheon commented Feb 27, 2019

Nevermind the noise, no need to hit the release notes doc

@QiWang19 QiWang19 force-pushed the issfiltet branch 2 times, most recently from b85b938 to a7a07a2 Compare March 5, 2019 00:10
Signed-off-by: Qi Wang <qiwan@redhat.com>
@rhatdan
Copy link
Member

rhatdan commented Mar 5, 2019

@QiWang19 Did you add tests?

@QiWang19
Copy link
Contributor Author

QiWang19 commented Mar 5, 2019

@rhatdan added tests. Ready to be merged.

@rhatdan
Copy link
Member

rhatdan commented Mar 6, 2019

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Mar 6, 2019
@openshift-merge-robot openshift-merge-robot merged commit 2dc8568 into containers:master Mar 6, 2019
@QiWang19 QiWang19 deleted the issfiltet branch June 26, 2020 15:09
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 24, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow filtering images by reference
7 participants