diff options
author | Steffen Gebert <steffen.gebert@typo3.org> | 2013-07-29 08:24:13 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2015-02-10 21:04:40 +0000 |
commit | 1aacda9b4a4d3868002c52f8dcb8c6b53562b2d9 (patch) | |
tree | 7fb19ef8805338e08a1692dbcdbebe702f2ea7c5 /pom.xml | |
parent | 72beb963c78f8db3a0e3c9ce6844fe89cc17627e (diff) |
Introduce remoteNameStyle = basenameOnly
In order to replicate repositories below a certain namespace (e.g. foo/bar/),
the projects parameter allows to filter repositories (projects = foo/bar/*).
With the current implementation, the path on the target server contains the full
path to these repositories (foo/bar/myrepo), which can only be modified in terms
of replacing slashes with dash or underscore using the remoteNameStyle option.
This patch adds a new value "basenameOnly", which only takes the basename of the
repository path (e.g. myrepo when applied to foo/bar/myrepo), which, for example
enables Gerrit user to replicate whole namespaces to a special Github
organization.
Change-Id: Id12780948a4841c054eb76e359f02dae0816d576
(cherry picked from commit 8b2db583893c149c55dd47cf0fcb59b38150fb70)
Reviewed-by: Ismo Haataja <ismo.haataja@digia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -82,6 +82,12 @@ limitations under the License. <version>4.8.1</version> <scope>test</scope> </dependency> + + <dependency> + <groupId>commons-io</groupId> + <artifactId>commons-io</artifactId> + <version>2.4</version> + </dependency> </dependencies> <repositories> |