-
-
Notifications
You must be signed in to change notification settings - Fork 198
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
feat(config)!: support regex in 'tag_pattern' configuration #318
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov ReportAll modified and coverable lines are covered by tests ✅ ❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
📢 Thoughts on this report? Let us know!. |
woshilapin
force-pushed
the
feat/regex-tag_pattern
branch
3 times, most recently
from
October 21, 2023 05:15
0fababf
to
19da127
Compare
BREAKING CHANGE: `tag_pattern` now takes a valid regular expression instead of a glob pattern resolves orhun#289
woshilapin
force-pushed
the
feat/regex-tag_pattern
branch
from
October 27, 2023 08:08
19da127
to
8fee4c0
Compare
orhun
approved these changes
Oct 29, 2023
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.
Perfect, thanks!
orhun
changed the title
feat(config): support 'Regex' in 'tag_pattern' configuration
feat(config)!: support regex in 'tag_pattern' configuration
Oct 29, 2023
inglor
pushed a commit
to archlinux/aurweb
that referenced
this pull request
Dec 8, 2023
Changed with v1.4.0 See: orhun/git-cliff#318 Signed-off-by: moson <[email protected]>
zedseven
added a commit
to zedseven/breeze
that referenced
this pull request
Jan 17, 2024
…attern`. This is required due to orhun/git-cliff#318.
zedseven
added a commit
to zedseven/clog
that referenced
this pull request
Feb 7, 2024
…attern`. This is required due to orhun/git-cliff#318.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
resolves #289
Description
Change how the configuration works about
tag_pattern
. It was only supporting glob patterns for matching (mostly due to the underlying support of such glob bygit2
). Now, it should directly supportRegex
.Motivation and Context
Closes #289.
How Has This Been Tested?
An existing test had to be modified after the change.
Another test has been added to test more explicitly the modification.
Types of Changes
I believe this is a breaking change, since all existing configurations may now break (if it's not parsable as a valid regular expression). I created the commit accordingly (conventional commit).
Checklist: