ApacheAccessHandler.py can be used to authenticate repo access on the server, and we use it on forge-allura.apache.org for git repos. It simulates a web login to verify authentication, but it can't handle two-factor auth.
Fix in db/8128 This also adds a "git-http" container to run the access handler locally, and provide local http based checkouts. A fresh docker setup or just running docker-compose up -d should set it up I think.
docker-compose up -d
Then you can do a git checkout from localhost:8081 (as mentioned in the checkout commands on the repo web pages). If you are using docker-machine in a VM, or a remote host, just change "localhost" to the right IP address or host.
Also note that for 2FA you have to enter your password + pin code together, as your password. And it may error out if you try too many at once.
Good point. Updated the branch to show a contextual message.
Feature, and updated message look good. Clear to merge.
Log in to post a comment.