Project

General

Profile

Actions

Support #5541

open

SVN Settings: Repository Patterns

Added by Markus Leitold about 5 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
22.02.2019
Due date:
% Done:

0%

Estimated time:
Sorting:
Commit Number:
Affected Version:

Description

Hi everybody,

we have just a few SVN Repos but with many "Sub-Projects" each having its own "trunk/branches/tags" structure.
Now in the settings for each repo we have to use "Repository Patterns" so that RhodeCode can correctly identify all trunk/branches and tags structures.

We started with patterns like this, as this will work as expected:

Patterns
DeveloperBranches

/project1/trunk
/project1/branches/*
/project2/trunk
/project2/branches/*
/project3/trunk
/project3/branches/*
/project4/trunk
/project4/branches/*

[...]

Tags:

/project1/tags/*
/project2/tags/*
/project3/tags/*
/project4/tags/*

[...]

As this is a lot of work with a high number of "Sub-"Projects (esp. as one can only set one line per request in the Web GUI), we hoped, that sth. like this will work, but it didn't:

Patterns
DeveloperBranches

/*/trunk
/*/branches/*

Tags:

/*/tags/*

With these patterns no structure was correctly identified.

So do we really have to add these 3 lines for each and every existing (and future) Sub-Project in the repo settings? Or is there another pattern syntax or API Calls to do this programmatically?

Thx in advance!
Markus

Actions

Also available in: Atom PDF