summaryrefslogtreecommitdiffstats
path: root/src/main/resources/Documentation/config.md
diff options
context:
space:
mode:
authorChad Horohoe <chorohoe@wikimedia.org>2012-12-18 16:20:41 -0500
committerChad Horohoe <chorohoe@wikimedia.org>2012-12-19 09:10:28 -0500
commit5cef6e590f9dabe83a83c0bde28f78edf8a76f78 (patch)
tree2977fdd7ba6889ced2e63b249c5d6d7611c40263 /src/main/resources/Documentation/config.md
parentbe37ad5cb0356dbd682fede1612acf46a4417ca1 (diff)
Add remote.NAME.remoteNameStyle
Github and Gitorious have naming conventions that do not allow for slashes in the repository name. This new option allows you to configure the replication plugin to replace slashes in the ${name} placeholder with dashes (-) or underscores (_). This option makes it much easier to replicate repositories from Gerrit to Github or Gitorious Change-Id: Ic4cd5ba6917412675342f6d1126f4b564c72a91a
Diffstat (limited to 'src/main/resources/Documentation/config.md')
-rw-r--r--src/main/resources/Documentation/config.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/main/resources/Documentation/config.md b/src/main/resources/Documentation/config.md
index 4b8c6c6..fd90581 100644
--- a/src/main/resources/Documentation/config.md
+++ b/src/main/resources/Documentation/config.md
@@ -216,6 +216,19 @@ remote.NAME.mirror
By default, false, do not remove remote branches.
+remote.NAME.remoteNameStyle
+: Slashes in the `${name}` placeholder are replaced with either
+ dashes or underscores.
+
+ Github and Gitorious do not permit slashes "/" in repository
+ names and changes this to dashes "-" at repository creation
+ time. If set to "dash," this changes slashes to dashes in the
+ repository name. If set to "underscore", this changes slashes
+ to underscores in the repository name.
+
+ By default, "slash," remote name will contain slashes as they
+ do in Gerrit.
+
File `secure.config`
--------------------