3 ms·
Yea, I feel like the "going down" metric is completely different. With Github, it's very possible that their seemingly frequent outages will cause problems for
by asdkhadsj 8y ago
Yea, I feel like the "going down" metric is completely different.
With Github, it's very possible that their seemingly frequent outages will cause problems for your deploys/etc. Yet, those problems will likely be short lived.
On the flipside, your tiny instance of Git will likely be more stable than Github, but if it does go down you better hope you had proper backups, can spin those backups easily, etc. It might be down for days. It's unlikely to happen, but you can't just go get coffee.
Though, with the right self hosted solution, it should be fairly trivial to deploy a new instance, restoring from backup/etc. The concern would be data loss, but even at that, it's Git so you're likely fine due to distributed backups.
- WrtCdEvrydy 8y agoThis is what I'd love to see, a local git-like instance to syncs to Github.
- jsjohnst 8y agoPut this in a cronjob: git remote add github url_to_repo git push —mirror github
- fiddlerwoaroof 8y agoThis is what post_receive hooks are for.
- jsjohnst 8y agoDepends on what you’re using for the local Git server. Sometimes it’s not easily doable, but yes, if possible using hooks is better.
- fiddlerwoaroof 8y agogitolite + gitolite-simple-mirror is amazing for this.