laanwj on Nostr: it used to take some elaborate setup and scripting, but they made it lots easier ! to ...
it used to take some elaborate setup and scripting, but they made it lots easier !
to get started, for each repository you want to mirror:
git clone --mirror https://somewhere.com/user/repo.git
then run in a crontab or such periodically, for every repo:
cd /backup/repo.git && git fetch -q --tags
that it for local access—to make it clonable over http is unfortunately still more of a hassle with nginx and fcgiwrap
to get started, for each repository you want to mirror:
git clone --mirror https://somewhere.com/user/repo.git
then run in a crontab or such periodically, for every repo:
cd /backup/repo.git && git fetch -q --tags
that it for local access—to make it clonable over http is unfortunately still more of a hassle with nginx and fcgiwrap