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

Several shell completion fixes #10328

Merged
merged 1 commit into from
May 17, 2021

Conversation

Luap99
Copy link
Member

@Luap99 Luap99 commented May 13, 2021

  • fix network filters
  • add prune filters
  • pod create --share support comma separated namespaces

Also fix the volume prune man page which listed invalid prune filters.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented May 13, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Luap99

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 openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 13, 2021
@Luap99
Copy link
Member Author

Luap99 commented May 13, 2021

This is the second time this week that dependabot breaks the CI. Both after #10303 and #10316 the Test Code Consistency check was failing due an change in the go.sum file. How can the original PR pass this test but break for all future PRs until the missing line is added to go.sum?

@vrothberg @rhatdan @mheon PTAL

@Luap99 Luap99 force-pushed the completions branch 2 times, most recently from df3abf2 to 183dddb Compare May 13, 2021 16:47
@TomSweeneyRedHat
Copy link
Member

@Luap99 all kinds of test unhappiness.

@Luap99
Copy link
Member Author

Luap99 commented May 13, 2021

@TomSweeneyRedHat The tests are failing because podman.io is down ;(

@jmguzik
Copy link
Contributor

jmguzik commented May 14, 2021

@Luap99 @TomSweeneyRedHat
I opened similar PR a couple of days ago. Could you check how much this ovelaps?
#10254

@Luap99
Copy link
Member Author

Luap99 commented May 14, 2021

@jmguzik This does not interfere. I merged your PR and rebased this one to also add shell completion for network prune --filter.

@rhatdan
Copy link
Member

rhatdan commented May 14, 2021

LGTM
@edsantiago PTAL

@@ -21,14 +21,9 @@ Do not prompt for confirmation.

#### **--filter**

Filter volumes to be pruned. Volumes can be filtered by the following attributes:
Filter volumes to be pruned. Volumes can be filtered by the following attribute:
Copy link
Member

Choose a reason for hiding this comment

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

Is this true? I seem to be able to use every one of those (the removed entries) as an argument to podman volume prune --filter.

Copy link
Member Author

Choose a reason for hiding this comment

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

You are right. This was apparently only removed from the compat api endpoint.

@Luap99 Luap99 force-pushed the completions branch 2 times, most recently from 6e12188 to b65ef44 Compare May 17, 2021 13:36
- fix network filters
- add prune filters
- pod create --share support comma separated namespaces

[NO TESTS NEEDED]

Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
@edsantiago
Copy link
Member

LGTM. If you have to push again (please don't re-push just for this), I think future maintainers might appreciate a checkin comment that includes something like "prune --labels and --until are only stubs; implementing actual completion is TBI".

@TomSweeneyRedHat
Copy link
Member

LGTM
assuming happy tests.

@edsantiago
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label May 17, 2021
@openshift-merge-robot openshift-merge-robot merged commit 0a34446 into containers:master May 17, 2021
@Luap99 Luap99 deleted the completions branch April 29, 2022 14:21
@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 21, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 21, 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.

6 participants