Update module github.com/ryancurrah/gomodguard to v2 - #456
Update module github.com/ryancurrah/gomodguard to v2#456red-hat-konflux-kflux-prd-rh02[bot] wants to merge 1 commit into
Conversation
|
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: red-hat-konflux-kflux-prd-rh02[bot] The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
0de5738 to
8dbc0c3
Compare
|
Important Review skippedBot user detected. To trigger a single review, invoke the ⚙️ Run configurationConfiguration used: Repository: openshift-online/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
Signed-off-by: red-hat-konflux-kflux-prd-rh02 <190377777+red-hat-konflux-kflux-prd-rh02[bot]@users.noreply.github.com>
8dbc0c3 to
96b4ce7
Compare
|
@red-hat-konflux-kflux-prd-rh02[bot]: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
This PR contains the following updates:
v1.4.1→v2.1.3Release Notes
ryancurrah/gomodguard (github.com/ryancurrah/gomodguard)
v2.1.3Compare Source
v2.1.1Compare Source
What's Changed
Full Changelog: ryancurrah/gomodguard@v2.1.0...v2.1.1
v2.1.0Compare Source
Breaking changes
New configuration schema. The
.gomodguard.yamlformat has been redesigned. Run gomodguard migrate to automatically convert a v1 config to v2.Before (v1):
After (v2):
Key differences:
allowed.modulesandallowed.domainsare replaced by a flat list where each entry has amodulefield and an optionalmatch-typefield (exact,prefix,regex)blocked.modulesandblocked.versionsare merged into a single flat list where each entry has amodulefieldmatch_typeis nowmatch-type(hyphen, not underscore)local_replace_directivesmoves fromblockedto the top levelNew features
Layered match type precedence. Rules can now match by
exact(default),prefix, orregex. When multiple rules overlap,exactbeatsprefixbeatsregex, with longestprefixwinning amongprefixrules.Regex support. Block or allow entire namespaces with regex patterns:
local_replace_directives. Block modules with local filesystem replace directives to catch accidental commits of dev overrides. Multi-module repo aware — sibling modules whose replacement path contains a matchinggo.modare automatically permitted.The
gomodguard migratecommand converts a v1.gomodguard.yamlto v2 format and prints to stdout.-version flag. Prints the installed version.Split module layout. The library (
github.com/ryancurrah/gomodguard/v2) and CLI (github.com/ryancurrah/gomodguard/cmd/gomodguard/v2) are now separate Go modules, allowing the library to be imported without pulling in CLI dependencies.Changelog
082be15feat: use array with module field for allowed and blocked configConfiguration
📅 Schedule: (in timezone UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.
To execute skipped test pipelines write comment
/ok-to-test.Documentation
Find out how to configure dependency updates in MintMaker documentation or see all available configuration options in Renovate documentation.