-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
build(deps): bump github.com/spf13/cobra from 1.5.0 to 1.6.0 #16125
build(deps): bump github.com/spf13/cobra from 1.5.0 to 1.6.0 #16125
Conversation
0d11657
to
a647ddd
Compare
@Luap99 PTAL |
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.5.0 to 1.6.0. - [Release notes](https://github.com/spf13/cobra/releases) - [Commits](spf13/cobra@v1.5.0...v1.6.0) --- updated-dependencies: - dependency-name: github.com/spf13/cobra dependency-type: direct:production update-type: version-update:semver-minor ... PH: manually update the completion scripts and fix deprecated function call. Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Paul Holzinger <pholzing@redhat.com>
a647ddd
to
b256f5f
Compare
Interesting the new cobra version shows more options in the help output, however it looks like the new version is correct so we missed documenting some options. |
Oh.... interesting. I'd love to read your postmortem on this one. |
It is complaining about the the --namespace option in podman pod ps (before it only showed --ns which is the alias). So now --help list the same flag twice:
However what is super weird is that podman ps which uses the same flag name/setup code still only shows --ns??? |
Correction, the flags are setup differently. podman pod ps defines the same flag twice instead of using an alias which is wrong. We only see this now because cobra fixed an underlying bug: spf13/cobra#1776 |
The new cobra update fixed a bug which caused some options to not be included in --help when there was already a option with the same name on a parent command. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This looks good now, can someone look at the buildah options please. I just copied them from buildah build so let me know if this is not correct. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dependabot[bot], rhatdan 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 |
LGTM |
Bumps github.com/spf13/cobra from 1.5.0 to 1.6.0.
Release notes
Sourced from github.com/spf13/cobra's releases.
... (truncated)
Commits
8607918
feat: make InitDefaultCompletionCmd public (#1467)2169adb
Add groups for commands in help (#1003)212ea40
Include --help and --version flag in completion (#1813)d4040ad
Allow user to add completion for powershell alias (#1621)23fc5e0
ci: add minimum GitHub token permissions for workflows (#1792)93d1913
Add OnFinalize method (#1788)07034fe
build(deps): bump actions/stale from 5 to 6 (#1815)3dc9761
Add allero to list of projects using cobra (#1819)7039e1f
Add '--version' flag to Help output (#1707)fce8d8a
Expose ValidateRequiredFlags and ValidateFlagGroups (#1760)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)