Repository navigation
fix(deps): update module github.com/spf13/pflag to v1.1.0 - #4295
ocmbot[bot] wants to merge 1 commit into
Conversation
✅ Deploy Preview for ocm-website canceled.
|
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
|
Not approving yet: Code Generation is red. pflag v1.1.0 changes the generated usage output, so the whole of |
b3834db to
8bdb21c
Compare
4c56b5f to
76cc540
Compare
76cc540 to
46a38bf
Compare
|
superseded by #4305 |
Pull request was closed
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update ( If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
## What Bump `github.com/spf13/pflag` from `v1.0.10` to `v1.1.0` and regenerate the CLI reference pages that the upgrade affects. ## Why pflag v1.1.0 ([#453](spf13/pflag#453)) appends `[=true|false]` directly after Boolean flag names in `FlagUsagesWrapped` output. This changes the generated CLI help and therefore the checked-in reference under `bindings/go/cli/docs/reference/`. The dependency-only bump in #4295 left those pages stale, so the Code Generation CI job fails its clean-tree check on 30 reference pages. This PR keeps the upgrade and runs `task generate` so the committed reference matches live `ocm --help` output again. ## Changes - `bindings/go/go.mod` / `go.sum`: pflag `v1.0.10` → `v1.1.0`. - 30 regenerated `bindings/go/cli/docs/reference/ocm*.md` pages (Boolean flags now render `--flag[=true|false]`, with recalculated column alignment). ## Verification - `task generate` run twice: second run produces no diff and no untracked files (idempotent). - `ocm --help` and `ocm transfer component-version --help` match the regenerated pages (`--help[=true|false]`, `--version[=true|false]`, `--dry-run[=true|false]`, `--latest[=true|false]`). - `task bindings/go/cli:test` passes, including `cmd/generate/docs`. Supersedes #4295 (same bump, plus the required regeneration). Signed-off-by: Frederic Wilhelm <[email protected]>
## What Bump `github.com/spf13/pflag` from `v1.0.10` to `v1.1.0` and regenerate the CLI reference pages that the upgrade affects. ## Why pflag v1.1.0 ([#453](spf13/pflag#453)) appends `[=true|false]` directly after Boolean flag names in `FlagUsagesWrapped` output. This changes the generated CLI help and therefore the checked-in reference under `bindings/go/cli/docs/reference/`. The dependency-only bump in #4295 left those pages stale, so the Code Generation CI job fails its clean-tree check on 30 reference pages. This PR keeps the upgrade and runs `task generate` so the committed reference matches live `ocm --help` output again. ## Changes - `bindings/go/go.mod` / `go.sum`: pflag `v1.0.10` → `v1.1.0`. - 30 regenerated `bindings/go/cli/docs/reference/ocm*.md` pages (Boolean flags now render `--flag[=true|false]`, with recalculated column alignment). ## Verification - `task generate` run twice: second run produces no diff and no untracked files (idempotent). - `ocm --help` and `ocm transfer component-version --help` match the regenerated pages (`--help[=true|false]`, `--version[=true|false]`, `--dry-run[=true|false]`, `--latest[=true|false]`). - `task bindings/go/cli:test` passes, including `cmd/generate/docs`. Supersedes #4295 (same bump, plus the required regeneration). Signed-off-by: Frederic Wilhelm <[email protected]> fb01512
This PR contains the following updates:
v1.0.10→v1.1.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
spf13/pflag (github.com/spf13/pflag)
v1.1.0Compare Source
It's been long enough, and enough things have been fixed, that it might be time to release a new version, even if there isn't any particular big new issue to market as the reason for this release.
If you notice anything breaking, it is entirely un-intentional, but you might also have been relying on undocumented or buggy behavior. Please file an issue describing what you're doing, how it worked before this release and why it doesn't work anymore, and pin your projects to
v1.0.10(the latest release before this one) while we decide how to address your concerns.What's Changed
UnknownFlagstoUnknownFlagsHandlingand introducePassUnknownFlagToArgs(#337) by @ikedam in #440New Contributors
Full Changelog: spf13/pflag@v1.0.10...v1.1.0
Configuration
📅 Schedule: (UTC)
* * * * 0)🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.