-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(regex): don’t escape forward slash in fileMatch #19314
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should search for additional \\/
to replace
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
This branch doesn't yet see two more patterns that PR #19182 introduced in lib/modules/manager/gradle/index.ts just today. Probably also worth considering in this PR👍 |
Now replaced all, but I'd like to be paranoid and have multiple eyes on this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
otherwise LGTM
@JamieMagee another set of eyes please :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks okay, but we might need to document the trimming of /
in regex patterns. The standard1 says that the first character of a regex is the delimiter, but the delimiter can be any character. /
is just a convention, but I've seen #
, @
, etc. used, which makes it easier when /
is a part of the pattern you're trying to match.
Footnotes
I think we've mentioned that |
# Conflicts: # lib/config/presets/internal/monorepo.ts # lib/modules/manager/woodpecker/index.ts
Non-breaking but will release it as part of v35 just in case |
Changes `rangeStrategy` default value from `'replace'` to `'auto'`. Changes `auto` behavior so that `update-lockfile` is preferred if the manager supports the `updateLockedDependency()` function. Closes #19800 BREAKING CHANGE: Renovate will now default to updating locked dependency versions. To revert to previous behavior, configure rangeStrategy=replace.
Set default GOPROXY value to match `go`'s own default. Closes #20040 BREAKING CHANGE: Renovate will now use go's default `GOPROXY` settings. To avoid using the public proxy, configure `GOPROXY=direct`.
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
There are some docs updates, but they won't block code changes:
|
Changes
Removes unnecessary forward slash escaping.
Context
Closes #19312
Documentation (please check one with an [x])
How I've tested my work (please select one)
I have verified these changes via: