feat(gerrit): add support for labels through hashtags#35900
Merged
rarkins merged 23 commits intorenovatebot:mainfrom Jul 4, 2025
Merged
feat(gerrit): add support for labels through hashtags#35900rarkins merged 23 commits intorenovatebot:mainfrom
rarkins merged 23 commits intorenovatebot:mainfrom
Conversation
686ea3f to
c408b07
Compare
6 tasks
Contributor
Author
rarkins
reviewed
May 24, 2025
rarkins
reviewed
May 24, 2025
rarkins
previously requested changes
May 25, 2025
viceice
reviewed
May 25, 2025
viceice
reviewed
Jun 5, 2025
Member
viceice
left a comment
There was a problem hiding this comment.
lgtm beside the two conversations
…errit-labels-as-hashtags
…errit-labels-as-hashtags
…errit-labels-as-hashtags
6 tasks
Contributor
Author
Contributor
Author
viceice
approved these changes
Jul 3, 2025
|
🎉 This PR is included in version 41.19.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
6 tasks
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Changes
This PR adds support for labels in the
renovate.jsonconfig file for the Gerrit platform. In Gerrit, labels are done through hashtags.Example:
{ "packageRules": [ { "matchPackageNames": ["dependency-name"], "labels": [ "hi there", "hi+there", "hi-there", "hi_there", "hi/there", "hi%there", "hi=there", "hi.there", "hi;there", "hi^there", "hi~there", "hi@there", "hi$there", "hi#there" ] } ] }Therefore, this PR also adds support for
rebaseLabel,stopUpdatingLabel, andkeepUpdatedLabelfor the Gerrit platform.EDIT: the following is no longer part of this PR.
Furthermore, it changes the rebase instructions to preferrebaseLabelinstead. This is especially important in Gerrit because otherwise updating the commit message will cause the CI pipelines to be triggered.Context
This is a missing feature in the Gerrit platform, and I thought it would be nice to have it.
Documentation (please check one with an [x])
How I've tested my work (please select one)
I have verified these changes via: