remote.NAME.projects exclude projects

29 views
Skip to first unread message

Dean Wheatley

unread,
Dec 12, 2017, 6:54:30 AM12/12/17
to Repo and Gerrit Discussion
From https://gerrit.googlesource.com/plugins/replication/+doc/master/src/main/resources/Documentation/config.md it's clear that regular expressions can be used to match projects.

How can remote.NAME.projects be used to exclude a certain set of repositories (e.g. exclude all matching the wild-card secret-project/*)?

Dean Wheatley

unread,
Dec 12, 2017, 5:08:43 PM12/12/17
to Repo and Gerrit Discussion
Doing

projects = ^(?:(?!PATTERN).)*$

David Pursehouse

unread,
Dec 13, 2017, 12:43:37 AM12/13/17
to Dean Wheatley, Repo and Gerrit Discussion
On Wed, Dec 13, 2017 at 7:08 AM Dean Wheatley <dean.w...@gmail.com> wrote:
Doing

projects = ^(?:(?!PATTERN).)*$



Thanks for finding out about this.  I've uploaded a change that adds this information to the documentation:


 

On Tuesday, December 12, 2017 at 10:54:30 PM UTC+11, Dean Wheatley wrote:
From https://gerrit.googlesource.com/plugins/replication/+doc/master/src/main/resources/Documentation/config.md it's clear that regular expressions can be used to match projects.

How can remote.NAME.projects be used to exclude a certain set of repositories (e.g. exclude all matching the wild-card secret-project/*)?

--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages