Project level mirroring#76
Open
uldisa wants to merge 6 commits into
Open
Conversation
Interpolate mirrorRepoUrl before push.
Only repository object with the name "repository" is accessible for expressions. Methods are accessed from object reflection. Method parameters and object fileds are not supported.
Example:
http://hostname/${repository.getProject().getKey()}/${repository.getName()}.git
Plugin configuration field for remote url changed to text area.
Author
|
Project level configuration of mirroring would be very useful! |
|
This would be a very useful feature for us. Any idea when it is going to be merged to main? @adrianluisgonzalez ? |
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 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.

We have large project with several thousands repositories. We have remote CI infrastructure on gitlab. To avoid hook configuration at repository level, repository remote url interpolation is introduced. This allows project level hook configuration. Repository hook configuration is inherited from project (I don't know since when it is supported in bitbucket).
Also notice ClassCastException workaround in pushExecutor after each plugin upgrade.
Please review if this makes sense for Your mainstream project.