RFR: mirror-bot: support mirroring of selected branches

Kevin Rushforth kcr at openjdk.java.net
Tue Mar 24 11:58:54 UTC 2020

On Tue, 24 Mar 2020 07:37:11 GMT, Robin Westberg <rwestberg at openjdk.org> wrote:

>> Hi all,
>> please review this patch that enables the mirror bot to mirror only selected
>> branches (instead of all as is done today). This is useful for projects who
>> might have a `master` that is a replica of `jdk:master`, but don't want tags
>> (nor potentially other branches) from the
>> [jdk](https://git.openjdk.java.net/jdk) repository.
>> Testing:
>> - `make test` passes on Linux x64
>> - Added a new unit test
>> Thanks,
>> Erik
> Looks good!

Nice. Would it be possible to have an option to also sync reachable tags, using `git push --follow-tags` in the case
where only a single branch is mirrored?


PR: https://git.openjdk.java.net/skara/pull/536

More information about the skara-dev mailing list