bootjp / nicopetter

nicopetter(ニコニコ大百科 更新お知らせbot)
https://twitter.com/nicopetter
1 stars 1 forks source link

Update module gopkg.in/urfave/cli.v2 to v2.4.0 #113

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Type Update Change
gopkg.in/urfave/cli.v2 require minor v2.0.0-20180128182452-d3ae77c26ac8 -> v2.4.0

Release Notes

urfave/cli ### [`v2.4.0`](https://togithub.com/urfave/cli/releases/v2.4.0) [Compare Source](https://togithub.com/urfave/cli/compare/v2.3.0...v2.4.0) These release notes were written for the git hash https://github.com/urfave/cli/commit/7b2e60968b20976f8acdf71f7e9b4c07bf853f5c. ##### Fixed - Fixed incorrect Help Name in [#​1202](https://togithub.com/urfave/cli/issues/1202) via [@​fxrlv](https://togithub.com/fxrlv) - Fixed a bug where `Context.Value` did not look across all fileSets when looking for a named flag in [#​1210](https://togithub.com/urfave/cli/issues/1210) via [@​jcgregorio](https://togithub.com/jcgregorio) - Fixed an issue with flags being set by parent context's (`IntSlice`, `Int64Slice`) in [#​1214](https://togithub.com/urfave/cli/issues/1214) via [@​anicoll](https://togithub.com/anicoll) - Fixed a bug where `App.Reader` was not correctly propagated to the subcommands in [#​1225](https://togithub.com/urfave/cli/issues/1225) via [@​Coderlane](https://togithub.com/Coderlane) - Fixed example code input arguments in [#​1226](https://togithub.com/urfave/cli/issues/1226) via [@​Coderlane](https://togithub.com/Coderlane) - Fixed a bug where default value would changed when parsing slice flags in [#​1236](https://togithub.com/urfave/cli/issues/1236) via [@​vipally](https://togithub.com/vipally) - Fixed a bug where slice flag values don't append default values from ENV or a file in [#​1239](https://togithub.com/urfave/cli/issues/1239) via [@​vipally](https://togithub.com/vipally) - Fixed indentation on help text in [#​1279](https://togithub.com/urfave/cli/issues/1279) via [@​rliebz](https://togithub.com/rliebz) - Fixed a Go 1.17 compatibility issue for a test case in [#​1277](https://togithub.com/urfave/cli/issues/1277) via [@​GlenPickle](https://togithub.com/GlenPickle) - Fixed a nil pointer panic when getting cli/context flagSet in UsageError function in [#​1327](https://togithub.com/urfave/cli/issues/1327) via [@​WUST-mengqinyu](https://togithub.com/WUST-mengqinyu) - Fix `strconv.ParseFloat` usage in [#​1335](https://togithub.com/urfave/cli/issues/1335) via [@​kolyshkin](https://togithub.com/kolyshkin) - Improve handling of file flags in [#​1336](https://togithub.com/urfave/cli/issues/1336) via [@​kolyshkin](https://togithub.com/kolyshkin) ##### Changed - Improve help text for Slice flags in [#​1208](https://togithub.com/urfave/cli/issues/1208) via [@​Madhur1997](https://togithub.com/Madhur1997) - Update GitHub actions in [#​1212](https://togithub.com/urfave/cli/issues/1212) via [@​jcgregorio](https://togithub.com/jcgregorio) - Fix typo in documentation in [#​1216](https://togithub.com/urfave/cli/issues/1216) via [@​wgumenyuk](https://togithub.com/wgumenyuk) - Improve Man Page in [#​1227](https://togithub.com/urfave/cli/issues/1227) via [@​bobuhiro11](https://togithub.com/bobuhiro11) - Remove duplicate comment in [#​1232](https://togithub.com/urfave/cli/issues/1232) via [@​corburn](https://togithub.com/corburn) - Improve how UsageText appears when viewing help from subcommands in [#​1255](https://togithub.com/urfave/cli/issues/1255) via [@​cpacifying](https://togithub.com/cpacifying) - Remove reflect calls for Hidden flags feature in [#​1258](https://togithub.com/urfave/cli/issues/1258) via [@​dearchap](https://togithub.com/dearchap) - Refactor and Cleanup context in [#​1264](https://togithub.com/urfave/cli/issues/1264) via [@​dearchap](https://togithub.com/dearchap) - Fix grammatical error in documentation in [#​1281](https://togithub.com/urfave/cli/issues/1281) via [@​imaskm](https://togithub.com/imaskm) - Improve documentation in [#​1304](https://togithub.com/urfave/cli/issues/1304) via [@​JayCeeJr](https://togithub.com/JayCeeJr) - Improve Man Page in [#​1311](https://togithub.com/urfave/cli/issues/1311) via [@​jolheiser](https://togithub.com/jolheiser) - Improve migration documentation in [#​1317](https://togithub.com/urfave/cli/issues/1317) via [@​tlimoncelli](https://togithub.com/tlimoncelli) - Improve migration documentation in [#​1319](https://togithub.com/urfave/cli/issues/1319) via [@​mritunjaysharma394](https://togithub.com/mritunjaysharma394) - Fixed assertion function in test cases in [#​1320](https://togithub.com/urfave/cli/issues/1320) via [@​anthonyfok](https://togithub.com/anthonyfok) - Update markdown library dependency in [#​3121](https://togithub.com/urfave/cli/issues/3121) via [@​anthonyfok](https://togithub.com/anthonyfok) - Update yaml library dependency in [#​1326](https://togithub.com/urfave/cli/issues/1326) via [@​mildaniel](https://togithub.com/mildaniel) - Remove useless variable declaration in [#​1330](https://togithub.com/urfave/cli/issues/1330) via [@​chenxiao-zhao](https://togithub.com/chenxiao-zhao) - Improve migration documentation in [#​1340](https://togithub.com/urfave/cli/issues/1340) via [@​infraredgirl](https://togithub.com/infraredgirl) ##### Added - Added support for Go 1.15 in [#​1200](https://togithub.com/urfave/cli/issues/1200) via [@​asahasrabuddhe](https://togithub.com/asahasrabuddhe) - Add link to pkg.go.dev in manual.md in [#​1207](https://togithub.com/urfave/cli/issues/1207) via [@​bbkane](https://togithub.com/bbkane) - Add link to GoDoc for v2 in [#​1228](https://togithub.com/urfave/cli/issues/1228) via [@​zwass](https://togithub.com/zwass) - Add `Destination` field to the `TimeStamp` flag in [#​1251](https://togithub.com/urfave/cli/issues/1251) via [@​davidsbond](https://togithub.com/davidsbond) - Add support for Go 1.16 in [#​1270](https://togithub.com/urfave/cli/issues/1270) via [@​rliebz](https://togithub.com/rliebz) - Add description and usage text in generated documentation in [#​1287](https://togithub.com/urfave/cli/issues/1287) via [@​subpop](https://togithub.com/subpop) - Add support for Go 1.17 in [#​1323](https://togithub.com/urfave/cli/issues/1323) via [@​rliebz](https://togithub.com/rliebz) ### [`v2.3.0`](https://togithub.com/urfave/cli/releases/v2.3.0) [Compare Source](https://togithub.com/urfave/cli/compare/v2.2.0...v2.3.0) These release notes were written for the git hash [`09ac54c`](https://togithub.com/urfave/cli/commit/09ac54c2f97f4249282baf266c54a09fab1bef58). #### Fixed - Fixed a bug 'Unable to load file' in altsrc in [#​1086](https://togithub.com/urfave/cli/issues/1086) via [@​akramarenkov](https://togithub.com/akramarenkov) - Fixed a bug where `App.ErrWriter` not being initialized in `App.Setup()` in [#​1100](https://togithub.com/urfave/cli/issues/1100) via [@​Nokel81](https://togithub.com/Nokel81) - Harmonize BeforeError handling in [#​1117](https://togithub.com/urfave/cli/issues/1117) via [@​creekorful](https://togithub.com/creekorful) - Fixed a bug where the default value is not set in the `Destination` field in the `StringSliceFlag` in [#​1121](https://togithub.com/urfave/cli/issues/1121) via [@​sgoroshko](https://togithub.com/sgoroshko) - Fixed a bug where the version flag was shown unexpectedly on commands with subcommands in [#​1153](https://togithub.com/urfave/cli/issues/1153) via [@​lrioth](https://togithub.com/lrioth) - Fixed a bug where the default `StringSlice` values would be mutated in [#​1170](https://togithub.com/urfave/cli/issues/1170) via [@​tych0](https://togithub.com/tych0) - Fixed a bug where values set by environment var are not saved to existing stringslice reference in [#​1178](https://togithub.com/urfave/cli/issues/1178) via [@​alexcb](https://togithub.com/alexcb) - Fixed a bug where fish completion did not respect TakesFile on PathFlags in [#​1198](https://togithub.com/urfave/cli/issues/1198) via [@​ErinCall](https://togithub.com/ErinCall) #### Changed - Improved ZSH Autocompletion (List files on tab with no completion options) in [#​1130](https://togithub.com/urfave/cli/issues/1130) via [@​oleorhagen](https://togithub.com/oleorhagen) - Improved help text rendering in [#​1175](https://togithub.com/urfave/cli/issues/1175) via [@​imle](https://togithub.com/imle) #### Added - Added support for Go 1.14 in [#​1085](https://togithub.com/urfave/cli/issues/1085) via [@​lynncyrin](https://togithub.com/lynncyrin) - Added support for Powershell autocompletion in [#​1139](https://togithub.com/urfave/cli/issues/1139) via [@​kirinnee](https://togithub.com/kirinnee) - Added support for using `Value` with `TimeStamp` flag in [#​1160](https://togithub.com/urfave/cli/issues/1160) via [@​vschettino](https://togithub.com/vschettino) - Added ShowSubcommandHelpAndExit to print help for the given subcommand and exit with exit code in [#​1183](https://togithub.com/urfave/cli/issues/1183) via [@​knqyf263](https://togithub.com/knqyf263) - Expose the constructor of `MapInputSource` type in [#​1194](https://togithub.com/urfave/cli/issues/1194) via [@​igorrius](https://togithub.com/igorrius) - Added support for a `App.Reader` that defaults to `os.Stdin` via [#​1191](https://togithub.com/urfave/cli/issues/1191) via [@​stellirin](https://togithub.com/stellirin) ### [`v2.2.0`](https://togithub.com/urfave/cli/releases/v2.2.0) [Compare Source](https://togithub.com/urfave/cli/compare/v2.1.1...v2.2.0) These release notes were written for the git hash [`d648edd`](https://togithub.com/urfave/cli/commit/d648edd48d89ef3a841b1ec75c2ebbd4de5f748f) #### Fixed - Fixed zsh completion scripts in [#​1062](https://togithub.com/urfave/cli/issues/1062) via [@​zhsj](https://togithub.com/zhsj) - Fixed description of subcommand to be more consistent in [#​1054](https://togithub.com/urfave/cli/issues/1054) via [@​itchyny](https://togithub.com/itchyny) - Fixed possible runtime panic in slice parsing in [#​1049](https://togithub.com/urfave/cli/issues/1049) via [@​saschagrunert](https://togithub.com/saschagrunert) - Fixed invalid man page header generation in [#​1041](https://togithub.com/urfave/cli/issues/1041) via [@​saschagrunert](https://togithub.com/saschagrunert) #### Changed - Improved auto-completion instructions and added example gifs in [#​1059](https://togithub.com/urfave/cli/issues/1059) via [@​masonj188](https://togithub.com/masonj188) - Removed the author from generated man pages in [#​1041](https://togithub.com/urfave/cli/issues/1041) via [@​saschagrunert](https://togithub.com/saschagrunert) #### Added - Added destination field to StringSliceFlag in [#​1078](https://togithub.com/urfave/cli/issues/1078) via [@​davidsbond](https://togithub.com/davidsbond) - Added HideHelpCommand. While HideHelp hides both help command and --help flag, HideHelpCommand only hides help command and leave --help flag as-is in [#​1083](https://togithub.com/urfave/cli/issues/1083) via [@​AkihiroSuda](https://togithub.com/AkihiroSuda) - Added timestampFlag docs in [#​997](https://togithub.com/urfave/cli/issues/997) via [@​drov0](https://togithub.com/drov0) - Added required flags documentation in [#​1008](https://togithub.com/urfave/cli/issues/1008) via [@​lynncyrin](https://togithub.com/lynncyrin), [@​anberns](https://togithub.com/anberns) ### [`v2.1.1`](https://togithub.com/urfave/cli/releases/v2.1.1) [Compare Source](https://togithub.com/urfave/cli/compare/v2.1.0...v2.1.1) Fixed a `Context` regression introduced in `v2.1.0` in [https://github.com/urfave/cli/pull/1014](https://togithub.com/urfave/cli/pull/1014) via [@​lynncyrin](https://togithub.com/lynncyrin) ### [`v2.1.0`](https://togithub.com/urfave/cli/releases/v2.1.0) [Compare Source](https://togithub.com/urfave/cli/compare/v2.0.0...v2.1.0) These release notes were written for the git hash [ae84df4cef4a2a6f1a0cb1d41ea0f3af8755e5a8](https://togithub.com/urfave/cli/tree/ae84df4cef4a2a6f1a0cb1d41ea0f3af8755e5a8) ##### Fixed - Fixed some golint errors in [https://github.com/urfave/cli/pull/988](https://togithub.com/urfave/cli/pull/988) via [@​liamchampton](https://togithub.com/liamchampton) - Fixed a panic with flag completion [https://github.com/urfave/cli/pull/946](https://togithub.com/urfave/cli/pull/946) via [@​unRob](https://togithub.com/unRob) ##### Changed - Changed docs generation to use visible flags in [https://github.com/urfave/cli/pull/999](https://togithub.com/urfave/cli/pull/999) via [@​subpop](https://togithub.com/subpop) - Changed `App.Run` to use an optional context for timeouts and cancellation in [https://github.com/urfave/cli/pull/975](https://togithub.com/urfave/cli/pull/975) via [@​marwan-at-work](https://togithub.com/marwan-at-work) - Changed version info to be hidden if the user has not defined a version in [https://github.com/urfave/cli/pull/955](https://togithub.com/urfave/cli/pull/955) via [@​asahasrabuddhe](https://togithub.com/asahasrabuddhe) - Changed docs generation to take into account multiple authors in [https://github.com/urfave/cli/pull/900](https://togithub.com/urfave/cli/pull/900) via [@​saschagrunert](https://togithub.com/saschagrunert) - Changed context to expose a `Value` accessor in [https://github.com/urfave/cli/pull/741](https://togithub.com/urfave/cli/pull/741) via [@​corruptmemory](https://togithub.com/corruptmemory) ##### Added - Added timestamp flag in [https://github.com/urfave/cli/pull/987](https://togithub.com/urfave/cli/pull/987) via [@​drov0](https://togithub.com/drov0) ### [`v2.0.0`](https://togithub.com/urfave/cli/releases/v2.0.0) [Compare Source](https://togithub.com/urfave/cli/compare/v2.0.0-alpha.2...v2.0.0) V2 was merged in [https://github.com/urfave/cli/pull/892](https://togithub.com/urfave/cli/pull/892), which included the work of all of these contributors: [@​asahasrabuddhe](https://togithub.com/asahasrabuddhe), [@​meatballhat](https://togithub.com/meatballhat), [@​jszwedko](https://togithub.com/jszwedko), [@​lynncyrin](https://togithub.com/lynncyrin), [@​AudriusButkevicius](https://togithub.com/AudriusButkevicius), [@​saschagrunert](https://togithub.com/saschagrunert), [@​rliebz](https://togithub.com/rliebz), [@​johnweldon](https://togithub.com/johnweldon), [@​nlewo](https://togithub.com/nlewo), [@​grubernaut](https://togithub.com/grubernaut), [@​OneOfOne](https://togithub.com/OneOfOne), [@​VMitov](https://togithub.com/VMitov), [@​cbranch](https://togithub.com/cbranch), [@​marwan-at-work](https://togithub.com/marwan-at-work), [@​uudashr](https://togithub.com/uudashr), [@​bfreis](https://togithub.com/bfreis) Discuss the state of V2 here => [https://github.com/urfave/cli/issues/826](https://togithub.com/urfave/cli/issues/826) *** ##### Added - Added `NewStringSlice` and `NewIntSlice` for creating their related types - Added `Float64SliceFlag` for unmarshaling a list of floats from the user - Added `Context.Lineage` to get all contexts from current up to global - Added `Context.LocalFlagNames` to get the flag names from *only* the current context - Added `BoolFlag.Value` to handle both default-false and default-true - Added `IsSet` method to the `Flag` interface which allows us to detect whether or not a flag has been set ##### Changed - Occurrences of `[]Command` have been changed to `[]*Command` - Occurrences of `[]cli.Flag` have been changed to `[]*cli.Flag` - `Context.FlagNames` now returns all flags in the context lineage - `Context.IsSet` now considers the full context lineage ##### Removed - Removed `Global*` flags since all flags are now global - when updating, replace `GlobalBool` with `Bool` - and `GlobalInt` with `Int` - and `GlobalString` with `String` - and so on for any other global flags - Removed `Context.Parent` method, as this is now available via `Context.Lineage` - when updating, replace `Context.Parent()` with `Context.Lineage()[1]` - Removed the `App.Author` and `App.Email` - these have been replaced with the `Authors []*Author` field - Removed the ability to specify multiple entries in the `Command.Name` field - when updating, replace `Name: "a, b, c"` with `Name: "a", Aliases: []string{"b", "c"}` - Removed the `Command.ShortName` field - when updating, replace `ShortName: "i"` with `Aliases: []string{"i"}` - Removed all `Context.Global*` methods, as the non-global versions now traverse up the context lineage automatically. - Removed the ability to specify `&StringSlice{...string}` or `&IntSlice{...int}`. - Removed adapter code for deprecated `Action` func signature - Removed `BoolTFlag` and related code, as this is now available via `BoolFlag.Value` ### [`v2.0.0-alpha.2`](https://togithub.com/urfave/cli/releases/v2.0.0-alpha.2) [Compare Source](https://togithub.com/urfave/cli/compare/v2.0.0-alpha.1...v2.0.0-alpha.2) This is a pre-release meant for internal testing purposes. Please do not use this until you really know what you are doing. ### [`v2.0.0-alpha.1`](https://togithub.com/urfave/cli/compare/v2.0.0-alpha...v2.0.0-alpha.1) [Compare Source](https://togithub.com/urfave/cli/compare/v2.0.0-alpha...v2.0.0-alpha.1)

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 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 has been generated by WhiteSource Renovate. View repository job log here.

renovate[bot] commented 2 years ago

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

The artifact failure details are included below:

File name: go.sum
Command failed: docker run --rm --name=renovate_go --label=renovate_child -v "/mnt/renovate/gh/bootjp/go_twitter_bot_for_nicopedia":"/mnt/renovate/gh/bootjp/go_twitter_bot_for_nicopedia" -v "/tmp/renovate-cache":"/tmp/renovate-cache" -e GOPATH -e GOPROXY -e GOFLAGS -e CGO_ENABLED -e GIT_CONFIG_KEY_0 -e GIT_CONFIG_VALUE_0 -e GIT_CONFIG_KEY_1 -e GIT_CONFIG_VALUE_1 -e GIT_CONFIG_KEY_2 -e GIT_CONFIG_VALUE_2 -e GIT_CONFIG_COUNT -e GIT_CONFIG_KEY_3 -e GIT_CONFIG_VALUE_3 -e GIT_CONFIG_KEY_4 -e GIT_CONFIG_VALUE_4 -e GIT_CONFIG_KEY_5 -e GIT_CONFIG_VALUE_5 -w "/mnt/renovate/gh/bootjp/go_twitter_bot_for_nicopedia" docker.io/renovate/go:1.17.8 bash -l -c "go get -d -t ./..."
go: gopkg.in/urfave/cli.v2@v2.4.0: parsing go.mod:
    module declares its path as: github.com/urfave/cli/v2
            but was required as: gopkg.in/urfave/cli.v2