Dunno about docker setup, but I mirror github repos I worry may disappear automatically using my self-hosted gogs instance. (Gitea/Forgejo likely also can do it). It’s point-and-click, you just specify the github URL and check a box “this is a mirror”.
Comment on Open Source Github Repositories in Danger of being Deleted
ocean@lemmy.selfhostcat.com 3 days ago
Wonder is their a docker to backup and update repos
Arghblarg@lemmy.ca 2 days ago
Akito@lemmy.zip 3 days ago
ocean@lemmy.selfhostcat.com 3 days ago
Thanks!
ocean@lemmy.selfhostcat.com 3 days ago
@TeamAssimilation@infosec.pub Why did you report my comment???
Reason: Honest question: why docker if a simple git command is enough?
TeamAssimilation@infosec.pub 2 days ago
I don’t recall reporting any comment today. Can I fix that if I reported it somehow?
ocean@lemmy.selfhostcat.com 2 days ago
I figured it seems like a response not a report! Thanks for clarifying :)
I agree with cli command over docker. Sometimes docker is easier for the less informed though, me.
InnerScientist@lemmy.world 2 days ago
You triggered the independent thought alarm
gwheel@lemm.ee 3 days ago
Forgejo has an option to mirror a repository and update on a regular interval. It won’t get wikis or issues though. I’ve got mine set up to mirror a bunch of decomps.
486@lemmy.world 3 days ago
You can easily mirror Github wikis as well. You just need to add
.wiki.git
to the repo URL. That way you can clone the wiki just like any other Git repo.slazer2au@lemmy.world 1 day ago
How do you do that without needing a pak for that repo?
Unless I am doing something Wong which is always likely.
gwheel@lemm.ee 1 day ago
forgejo.org/docs/latest/user/repo-mirror/
Akito@lemmy.zip 3 days ago
Running Gitea and want to mirror worthwhile repositories, hence this post. :)
mesamunefire@piefed.social 3 days ago
Yep and you can dictate the sync time. It's great.
ocean@lemmy.selfhostcat.com 3 days ago
Thanks! This is great to know.