-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
README needs better explanations of the use case and better structuring.
- Overview
- Simple mirror
- Use case
- Setup
- Any caveats, e.g. deadlock?
- GitLab mirror with satellite
- Use case: want to do code review and merge requests in GitLab, otherwise code in origin repo
- "Origin takes precedence"-policy - GitLab only pushes changed refs. Is this relevant for simple too?
- Setup
- Caveats
- Deadlock caveat. Cron script needs to be in separate location from the script in post-receive hook, otherwise two runs of the same script will deadlock as follows:
- cron: call script
- script: create lock, push changes from origin to gitlab, wait for gitlab response
- gitlab: call script from post-receive hook
- script: wait for lock created by the instance run from cron
- ⇒ deadlock
Metadata
Metadata
Assignees
Labels
No labels