_ __ | |__ | | ___ __ _
| '_ \| '_ \| |/ _ \ / _` |
| |_) | | | | | (_) | (_| |
| .__/|_| |_|_|\___/ \__, |
|_| ...2018-06-10 |___/
So I guess it was time anyway, to host my own repositories..
I'll start out just with plain git, in two docker containers.. One for ssh
access, read/write, and one for http access, for gitweb and git clone over http.
Maybe if I remember, I will update thid document to explain what I.
Easy enough, I made a text file called "list" with all the URLs, as they are
on gitweb. (for example email@example.com:DusteDdk/SDL-Ball.git) one per line.
Then I made a path /dockers/config/git/repos/ and in there I ran this bash:
for R in `cat list`; do git clone --bare "$R"; done
To populate it.
To acommodate gitweb, I initialized the repos directory as an empty git repo.
Created a small entrypoint script which starts git instaweb and tails logs.
Only the .git is owned by the user running in docker, and the other directories
are read-only for that user.
website with the new link. Which I will do now.
git cloning instead of cloning over http, that's an extra port to
be routed, but other than that, all is good.