bachp/git-mirror

Repository has to be shared with group

pquerner opened this issue · 6 comments

I think you failed to mention that the repository must be shared with the "mirror" group.

bachp commented

Do you mean that any repository shared with a group will be synced? If yes I was not aware of that "feature". Currently the assumption was that all projects in a group (mirror in the example) will get synced.

Yes, if a previously existing repository is shared with the group "mirror", then this repository will be included in the update mechanism. Thats no writting in the README (installation).

I dont know what you mean by "all projects in a group". Isnt that what I mean? Are these two seperate things?

image
(Settings > Member from a repository)

bachp commented

Yes you can create a repository inside a group eg. mirror/my-project, this is what I mean with all project within a group. You can also create a project in a different group eg. other/foobar and then share it with the mirror group, this would then still be part of the other group but would also be accessible to members of the mirror group.

Ah yes, gotcha.

bachp commented

@pquerner I think your question is answered.

Wasnt really a question, but a reminder that I couldnt find that information in the docs.