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

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

Information

rb-gateway
master
282abcf...

Reviewers

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 From Last Updated

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

daviddavid

No blank line here.

daviddavid

This should maybe be log.Fatal? We probably should also add some context to this line that it was the clone …

daviddavid
hmarceau
hmarceau
hmarceau
hmarceau
hmarceau
david
  1. 
      
  2. auth.go (Diff revision 4)
     
     
    Show all issues

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

  3. util.go (Diff revision 4)
     
     
    Show all issues

    No blank line here.

  4. util.go (Diff revision 4)
     
     
    Show all issues

    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

Checks run (2 succeeded)

flake8 passed.
JSHint passed.