Set replication authGroup to Anonymous.
Set the replication authGroup for github to Anonymous Users. Enable the "mirror" option which "will remove remote branches that absent locally or invisible to the replication (i.e. read access denied via authGroup option)." Disable replicatePermissions which will cause permissions-only projects and the refs/meta/config branch not to be replicated. I'm ambivalent about refs/meta/config, but disabling permissions-only projects will remove the periodic errors we get when trying to replicate All-Projects to github. Change-Id: I9c302b68e0a213d35683d7105341788923c5770a
This commit is contained in:
parent
f525460398
commit
67a085ba7d
@ -3,7 +3,9 @@
|
||||
|
||||
[remote "github"]
|
||||
url = git@github.com:${name}.git
|
||||
authGroup = Registered Users
|
||||
authGroup = Anonymous Users
|
||||
replicatePermissions = false
|
||||
mirror = true
|
||||
|
||||
[remote "local"]
|
||||
url = file:///var/lib/git/${name}.git
|
||||
|
Loading…
x
Reference in New Issue
Block a user