Git-proxy includes a REST-based API for managing certain aspects of repositories & git operations (pushes, pulls). This API is fronted by a web UI. The web interface is under active development and is missing some key features to allow Git Proxy to push commits through it.
The below procedure will allow you to "authorize" a push through git-proxy using the included API. The following assumptions are made and must be modified to match your deployment of git-proxy:
- Both the proxy & API server is running. This is the default behaviour.
- git-proxy is running on
localhost
on ports 8000 (proxy) and 8080 (API) - The instructions from the quick start have been followed. This includes modifying the configuration to add a new repository to the
authorisedList
. For this doc, we assume the upstream repository is https://github.com/RBC/git-proxy.