Skip to content
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

Project level mirroring #76

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Project level mirroring #76

wants to merge 6 commits into from

Conversation

uldisa
Copy link

@uldisa uldisa commented Oct 30, 2019

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.

Uldis Ansmits added 4 commits October 25, 2019 12:47
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.
@uldisa
Copy link
Author

uldisa commented Nov 8, 2019

Added form for manual mirror triggering and deleting from remote host
mirror_form

@nickbroon
Copy link

Project level configuration of mirroring would be very useful!

@npaul3
Copy link

npaul3 commented Oct 27, 2020

This would be a very useful feature for us. Any idea when it is going to be merged to main? @adrianluisgonzalez ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants