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:
-
~ Experimenting with git2go.
~ 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. - Commit:
-
f7e1e77c29acef6580a94bc97102b48748e8dfb1314e090fce6da7e1f9b9226dffa926c50107e983
- Diff:
-
Revision 2 (+52)
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.
- Commit:
-
314e090fce6da7e1f9b9226dffa926c50107e983c80cc3943ff69a31c04e6974108f589adfe6b7b8
- Diff:
-
Revision 3 (+39)
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.
- Commit:
-
c80cc3943ff69a31c04e6974108f589adfe6b7b8315498ad9379dfb82274c4982b3f97d60eacacfe
- Diff:
-
Revision 4 (+41)
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.
- Summary:
-
[WIP] Adding Cloning from Mirror for New ReposAdding Cloning from Mirror for New Repos
- Testing Done:
-
+ 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.
- Commit:
-
315498ad9379dfb82274c4982b3f97d60eacacfe282abcf12907947ae80b64380cf35ac562a2a6a3
- Diff:
-
Revision 5 (+40)
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.