Skip to content

fix(deps): update module github.com/spf13/pflag to v1.1.0 - #4295

Closed
ocmbot[bot] wants to merge 1 commit into
mainfrom
renovate/spf13
Closed

ocmbot[bot] wants to merge 1 commit into
mainfrom
renovate/spf13

Conversation

@ocmbot

@ocmbot ocmbot Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change OpenSSF
github.com/spf13/pflag require minor v1.0.10 → v1.1.0 OpenSSF Scorecard

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

spf13/pflag (github.com/spf13/pflag)

v1.1.0

Compare 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

New Contributors

Full Changelog: spf13/pflag@v1.0.10...v1.1.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Only on Sunday (* * * * 0)
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

@ocmbot
ocmbot Bot requested a review from a team as a code owner November 15, 2026 00:23
@ocmbot
ocmbot Bot enabled auto-merge (squash) November 15, 2026 00:23
@netlify

netlify Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for ocm-website canceled.

Name Link
🔨 Latest commit 46a38bf
🔍 Latest deploy log https://app.netlify.com/projects/ocm-website/deploys/6afacb7e38dada158b514a78

@coderabbitai

coderabbitai Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: e6d9267c-8d5c-4ca2-9a9a-613c3096a7d1

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions github-actions Bot added kind/bugfix Bug kind/dependency dependency update, etc. size/xs Extra small labels Nov 15, 2026
@jakobmoellerdev

Copy link
Copy Markdown
Member

Not approving yet: Code Generation is red. pflag v1.1.0 changes the generated usage output, so the whole of bindings/go/cli/docs/reference/*.md is stale after task generate. Re-run task generate on this branch and commit the regenerated CLI reference, then this is good to go.

@ocmbot
ocmbot Bot force-pushed the renovate/spf13 branch from b3834db to 8bdb21c Compare November 16, 2026 07:24
@frewilhelm frewilhelm self-assigned this Nov 16, 2026
@ocmbot
ocmbot Bot force-pushed the renovate/spf13 branch 9 times, most recently from 4c56b5f to 76cc540 Compare November 16, 2026 09:10
@frewilhelm

Copy link
Copy Markdown
Contributor

superseded by #4305

@frewilhelm frewilhelm closed this Nov 16, 2026
auto-merge was automatically disabled November 16, 2026 09:31

Pull request was closed

@ocmbot

ocmbot Bot commented Nov 16, 2026

Copy link
Copy Markdown
Contributor Author

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (v1.1.0). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

frewilhelm added a commit that referenced this pull request Nov 16, 2026
## 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]>
ocmbot Bot pushed a commit that referenced this pull request Nov 16, 2026
## 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bugfix Bug kind/dependency dependency update, etc. size/xs Extra small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants