Repositories can now be cloned from a mirror URL using rb-gateway.
Review Request #9326 — Created Oct. 25, 2017 and updated
New Repos can now be cloned with SSH. This is done through an SSH agent.
Repositories are only cloned if a local copy doesn't exist in the
defined path.
A tester repository, hosted on github, was set as the upstream mirror
for one of the repositories defined in the config file. Upon starting
the rb-gateway server, a local clone of the upstream remote was
successfully created.

Description: |
|
||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Commit: |
|
||||||||||||
Diff: |
Revision 2 (+52) |
Checks run (2 succeeded)

Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 3 (+39) |
Checks run (2 succeeded)

Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 4 (+41) |
Checks run (2 succeeded)

Summary: |
|
||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Testing Done: |
|
-
-
-
-
util.go (Diff revision 4) This should maybe be
log.Fatal
?We probably should also add some context to this line that it was the clone operation that failed.

Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 5 (+40) |