https://bugzilla.wikimedia.org/show_bug.cgi?id=47274
--- Comment #3 from [email protected] --- (In reply to comment #1) > Currently the gerrit replication plugin only supports minimal slash '/' > replacement in gerrit repository names. That's only partly true. You can push to whatever Url you like, so you can push to whatever name you choose. So any renaming is possible already now. However, automatic substituting of ${name} is currently only implemented for * '/' -> '-', and * '/' -> '_'. > We'd like to add support for > arbitrary > mapping from a gerrit repository name to any name in a replication.config > file. That sounds like a request for obfuscation to me :-) Or is there something wrong with the way we name our repos in gerrit? If you do not want to do automatic mangling of ${name} you can go straight for the Url to push to. If you prefer automatic mangling, the code at src/main/java/com/googlesource/gerrit/plugins/replication/Destination.java:getURIs:360 in the replication plugin should get you started. P.S.: Bear in mind that the other day, someone asked how to arrive at a repo's gerrit name, if all we know is the github's repo name. So I'd be all for keeping the translation between names as simple as possible ... and if that's possible: reasonaly close to being two-way. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
