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

Fixes --remote flag issues #6716

Merged
merged 1 commit into from
Jun 29, 2020

Conversation

jwhonce
Copy link
Member

@jwhonce jwhonce commented Jun 22, 2020

* --remote, --url and --identity are now anchored to podman command.
  Subcommands should no longer have issues
* TraverseChildren now set to V1 expectations
* Latest flag now has helper function. Now has consistent usage.
* IsRemote() uses cobra parser to determin if --remote is given
* Moved validation functions from parser pkg to validate pkg

Fixes #6598
Fixes #6704

Signed-off-by: Jhon Honce [email protected]

@jwhonce jwhonce added the kind/bug Categorizes issue or PR as related to a bug. label Jun 22, 2020
@jwhonce jwhonce requested review from baude and vrothberg June 22, 2020 21:35
@jwhonce jwhonce self-assigned this Jun 22, 2020
@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 22, 2020
Copy link
Member

@vrothberg vrothberg left a comment

Choose a reason for hiding this comment

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

Code LGTM but I'd love a more descriptive commit message and, if possible, some tests.

@rhatdan
Copy link
Member

rhatdan commented Jun 23, 2020

LGTM

@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jwhonce

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

@jwhonce jwhonce force-pushed the issues/6598 branch 3 times, most recently from 6fd57fe to 350d89e Compare June 24, 2020 16:40
@rhatdan
Copy link
Member

rhatdan commented Jun 24, 2020

/lgtm
/hold

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 24, 2020
@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 24, 2020
@rhatdan
Copy link
Member

rhatdan commented Jun 24, 2020

@jwhonce Tests are not happy.

@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Jun 24, 2020
@jwhonce jwhonce changed the title Set cobra.Command.TraverseChildren=true for all commands [WIP] Set cobra.Command.TraverseChildren=true for all commands Jun 25, 2020
@openshift-ci-robot openshift-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 25, 2020
@jwhonce jwhonce force-pushed the issues/6598 branch 4 times, most recently from 7b5c11c to 74b4159 Compare June 26, 2020 23:15
@jwhonce jwhonce changed the title [WIP] Set cobra.Command.TraverseChildren=true for all commands Fixes --remote flag issues Jun 26, 2020
@openshift-ci-robot openshift-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 26, 2020
* --remote, --url and --identity are now anchored to podman command.
  Subcommands should no longer have issues
* TraverseChildren now set to V1 expectations
* Latest flag now has helper function. Now has consistent usage.
* IsRemote() uses cobra parser to determin if --remote is given
* Moved validation functions from parser pkg to validate pkg
*

Fixes containers#6598
Fixes containers#6704

Signed-off-by: Jhon Honce <[email protected]>
@mheon
Copy link
Member

mheon commented Jun 29, 2020

LGTM

Copy link
Member

@vrothberg vrothberg left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 29, 2020
@jwhonce jwhonce removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 29, 2020
@openshift-merge-robot openshift-merge-robot merged commit 59e6192 into containers:master Jun 29, 2020
@jwhonce jwhonce deleted the issues/6598 branch June 30, 2021 16: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 23, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 23, 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. kind/bug Categorizes issue or PR as related to a bug. 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.

location of the --remote flag breaks commands. Non-obvious extra argument to new podman --remote
7 participants