• 
      

    A mirror URL can now be defined for git repositories in rb-gateway.

    Review Request #9305 — Created Oct. 21, 2017 and updated

    Information

    rb-gateway
    master
    0282c75...

    Reviewers

    A Mirror string field was added to Repository Info and a GetMirror
    method was implemented in git_repository.go. LoadConfig was modified
    to handle the new mirror option, and a getMirror function was added to
    routes.go.

    httpie was used to send a getMirror API request to an rb-gateway
    server. The plain text stored in Mirror was obtained if it was defined,
    otherwise a "Mirror not defined" message is obtained.

    Description From Last Updated

    Can we add a unit test for the mirror route?

    daviddavid
    hmarceau
    hmarceau
    hmarceau
    hmarceau
    david
    1. 
        
    2. Show all issues

      Can we add a unit test for the mirror route?

      1. The tests can be found in Review Request 9435.
        https://reviews.reviewboard.org/r/9435/

    3. 
        
    hmarceau
    Review request changed
    Commit:
    a6fdde509d627b75d28a5453ee9d83549842dbcf
    0282c759e241e70e21a4e2656025923d758df0e5

    Checks run (2 succeeded)

    flake8 passed.
    JSHint passed.