Repositories can now be cloned from a mirror URL using rb-gateway.

Review Request #9326 — Created Oct. 25, 2017 and updated

hmarceau
rb-gateway
master
282abcf...
rb-gateway, students

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.

  • 0
  • 0
  • 3
  • 0
  • 3
Description From Last Updated
hmarceau
hmarceau
hmarceau
hmarceau
hmarceau
david
  1. 
      
  2. auth.go (Diff revision 4)
     
     

    There's extra whitespace at the end of this line.

  3. util.go (Diff revision 4)
     
     

    No blank line here.

  4. 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.

  5. 
      
hmarceau
Review request changed

Commit:

-315498ad9379dfb82274c4982b3f97d60eacacfe
+282abcf12907947ae80b64380cf35ac562a2a6a3

Diff:

Revision 5 (+40)

Show changes

Checks run (2 succeeded)

flake8 passed.
JSHint passed.
Loading...