1962: Support multiple mirror paths for git repositories

Goli*****@gmai***** (Google Code) (Is this you? Claim this profile.)
Feb. 8, 2011
http://reviews.reviewboard.org/


What version are you running?
1.5.2


What's the URL of the page this enhancement relates to, if any?

admin/db/scmtools/repository/1/


Describe the enhancement and the motivation for it.

Currently reviewboard only supports one "mirror path" per configured git repository. This leads to problems for Open Source projects (in this case KDE) because the developers tend to use a different URL than interested users when following some patch procedures. The users are told to use the read-only "anongit.kde.org" while developers use different URLs. The result is, that in the case where the git clone uses a different url than the configured mirror path, creating the review request will fail.

So it would be nice if there was the possibility to configure several mirror paths to be able to support this scenario without having to duplicate every repository entry. (we already have 144 of them :) )
chipx86
#1 chipx86
Absolutely, and I'm hoping to do this for 1.6.

Typically, you use Path for the anonymous read-only URL and Mirror Path for the developer one. Then it's a matter of telling people their origin must point to one of those.
  • +Confirmed
  • -Priority-Medium
    +Priority-High
    +Milestone-Release1.6
    +Component-SCMTools
david
#2 david
We can now use the repository name field instead.
  • -Confirmed
    +Fixed