Git Repo Mirroring Not working- Need option to mirror without user check / Commit check #5675

Closed
opened 2025-11-02 06:32:43 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @ssubramanian123 on GitHub (Jul 1, 2020).

In Our organization, we are using two gitlabs and which was used by two different groups. Say Gitlab-A is used by Group A team and Gitlab-B is used by Group B team. (There is other reason why we use separate gitlab for each group, can't merge it now)

Now I have a requirement to keep some Project repo common between two gitlabs. So we decided to use gitlab repo mirroring. I tried with sample repo which i created in Gitlab-A, it worked fine and i was able to see all the commits and any new commits immediately getting replicated.

I tried the same with other repo in Gitlab-A which was committed by Group-A, but this repo mirroring not working. I feel the issue is the commit was in Group-A members are not part of Gitlab-b.

Is there a way to mirror the repository without checking user committed?

Originally created by @ssubramanian123 on GitHub (Jul 1, 2020). In Our organization, we are using two gitlabs and which was used by two different groups. Say Gitlab-A is used by Group A team and Gitlab-B is used by Group B team. (There is other reason why we use separate gitlab for each group, can't merge it now) Now I have a requirement to keep some Project repo common between two gitlabs. So we decided to use gitlab repo mirroring. I tried with sample repo which i created in Gitlab-A, it worked fine and i was able to see all the commits and any new commits immediately getting replicated. I tried the same with other repo in Gitlab-A which was committed by Group-A, but this repo mirroring not working. I feel the issue is the commit was in Group-A members are not part of Gitlab-b. Is there a way to mirror the repository without checking user committed?
Author
Owner

@ssubramanian123 commented on GitHub (Jul 1, 2020):

i found the solution. removed "Check whether author is a GitLab user" in destnation repo. now it works.

@ssubramanian123 commented on GitHub (Jul 1, 2020): i found the solution. removed "Check whether author is a GitLab user" in destnation repo. now it works.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#5675