Update module github.com/urfave/cli/v2 to v3#60
Conversation
There was a problem hiding this comment.
Pull request overview
This PR aims to upgrade the project’s CLI dependency from github.com/urfave/cli/v2 to github.com/urfave/cli/v3, but the current changes only adjust module metadata and do not migrate the codebase off v2.
Changes:
- Updated
go.modto add a direct requirement ongithub.com/urfave/cli/v3 v3.8.0while still requiringgithub.com/urfave/cli/v2 v2.27.7. - Updated
go.sumto include thecli/v3go.modchecksum.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| go.mod | Adds a direct dependency on cli/v3 but retains cli/v2, leaving the repo not actually migrated. |
| go.sum | Adds cli/v3 checksum entry, reflecting it’s in the module graph but not necessarily used by builds. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| require github.com/urfave/cli/v3 v3.8.0 // direct | ||
|
|
There was a problem hiding this comment.
go.mod now requires urfave/cli/v3 as a direct dependency while the codebase still imports github.com/urfave/cli/v2 (e.g., cmd/syspkg/main.go). As a result, this PR does not actually upgrade the CLI usage and leaves both major versions in the module graph. Either migrate imports/usages to github.com/urfave/cli/v3 (and then remove the v2 requirement), or drop the v3 requirement to keep the module state consistent with the code.
| require github.com/urfave/cli/v3 v3.8.0 // direct |
|
@copilot do a proper v2 -> v3 migration |
Agent-Logs-Url: https://github.com/bluet/syspkg/sessions/29683f9b-5722-4580-b626-363a0c7ed113 Co-authored-by: bluet <51141+bluet@users.noreply.github.com>
Agent-Logs-Url: https://github.com/bluet/syspkg/sessions/29683f9b-5722-4580-b626-363a0c7ed113 Co-authored-by: bluet <51141+bluet@users.noreply.github.com>
Agent-Logs-Url: https://github.com/bluet/syspkg/sessions/29683f9b-5722-4580-b626-363a0c7ed113 Co-authored-by: bluet <51141+bluet@users.noreply.github.com>
Done in commit
All tests pass, build is clean. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
|
@copilot whitelist added: cli.urfave.org also make sure all tests passed, and list if there's any breaking changes |
Agent-Logs-Url: https://github.com/bluet/syspkg/sessions/b33a5537-916e-4809-9e92-0870722011d8 Co-authored-by: bluet <51141+bluet@users.noreply.github.com>
All tests pass ( Breaking changes from v2 → v3 (per the migration guide) that were applied:
Not applicable to this codebase: |
|
@copilot resolve merge conflicts properly |
…rfave-cli-v2-3.x # Conflicts: # go.mod # go.sum Co-authored-by: bluet <51141+bluet@users.noreply.github.com>
Done in commit |
|
@copilot resolve merge conflicts properly |
…rfave-cli-v2-3.x # Conflicts: # go.mod # go.sum Co-authored-by: bluet <51141+bluet@users.noreply.github.com>
Done in commit |
|



This PR contains the following updates:
v2.27.7→v3.8.0Release Notes
urfave/cli (github.com/urfave/cli/v2)
v3.8.0Compare Source
What's Changed
New Contributors
Full Changelog: urfave/cli@v3.7.0...v3.8.0
v3.7.0Compare Source
What's Changed
New Contributors
Full Changelog: urfave/cli@v3.6.2...v3.7.0
v3.6.2Compare Source
What's Changed
New Contributors
Full Changelog: urfave/cli@v3.6.1...v3.6.2
v3.6.1Compare Source
What's Changed
New Contributors
Full Changelog: urfave/cli@v3.6.0...v3.6.1
v3.6.0Compare Source
What's Changed
New Contributors
Full Changelog: urfave/cli@v3.5.0...v3.6.0
v3.5.0Compare Source
What's Changed
New Contributors
Full Changelog: urfave/cli@v3.4.1...v3.5.0
v3.4.1Compare Source
What's Changed
v3series is recommended for new development by @meatballhat in #2186Full Changelog: urfave/cli@v3.4.0...v3.4.1
v3.4.0Compare Source
What's Changed
New Contributors
Full Changelog: urfave/cli@v3.3.9...v3.4.0
v3.3.9Compare Source
What's Changed
New Contributors
Full Changelog: urfave/cli@v3.3.8...v3.3.9
v3.3.8Compare Source
What's Changed
v3series by @meatballhat in #2155Full Changelog: urfave/cli@v3.3.7...v3.3.8
v3.3.7Compare Source
What's Changed
IsLocalfor BoolWithInverseFlag by @huiyifyj in #2151New Contributors
Full Changelog: urfave/cli@v3.3.6...v3.3.7
v3.3.6Compare Source
What's Changed
Full Changelog: urfave/cli@v3.3.5...v3.3.6
v3.3.5Compare Source
What's Changed
Full Changelog: urfave/cli@v3.3.4...v3.3.5
v3.3.4Compare Source
What's Changed
New Contributors
Full Changelog: urfave/cli@v3.3.3...v3.3.4
v3.3.3Compare Source
What's Changed
New Contributors
Full Changelog: urfave/cli@v3.3.2...v3.3.3
v3.3.2Compare Source
What's Changed
New Contributors
Full Changelog: urfave/cli@v3.3.1...v3.3.2
v3.3.1Compare Source
What's Changed
Full Changelog: urfave/cli@v3.3.0...v3.3.1
v3.3.0Compare Source
What's Changed
float32andfloat64by @ldez in #2112New Contributors
Full Changelog: urfave/cli@v3.2.0...v3.3.0
v3.2.0Compare Source
Breaking change IntFlag now uses int type and not int64. Please change to using Int64Flag for int64 types. Similar behavior for UintFlag as well. See https://pkg.go.dev/github.com/urfave/cli/v3 for a full list of flag types. See #2094 for full patch for this
What's Changed
New Contributors
Full Changelog: urfave/cli@v3.1.1...v3.2.0
v3.1.1Compare Source
v3.1.0Compare Source
What's Changed
New Contributors
Full Changelog: urfave/cli@v3.0.0-beta1.01...v3.1.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.