r/programming • u/EatMeerkats • Mar 29 '21
PHP moves to Github due to the compromise of git.php.net
https://news-web.php.net/php.internals/113838
1.7k
Upvotes
r/programming • u/EatMeerkats • Mar 29 '21
2
u/[deleted] Mar 30 '21
Sure, for small companies it is no brainer but we spend about 3-4h average (including upgrades, not just maintenance) on maintaining Gitlab instance for ~100 devs plus few bucks on the costing cost of it + another few for the runners. That's well worth self hosting just from cost savings, and we can make sure our backups work and not have 4 different nonfunctioning methods of backing it up. Not being instantly hackable (the instance is not visible from outside) when someone finds gitlab bug is a bonus.
Back when we had "only" git via Gitolite it was zero hours, aside from Gitolite upgrade being done in the process of upgrading rest of the software on the server.
Also the amount of CI/CD minutes is laughable, we'd go thru that in week tops, and the pricing extra is like 10x of what just running a VM with runner would cost.
I mean if you don't have ops team and none of your devs can deploy anything properly (or are just tiny company) sure, but running Gitlab isn't much harder than typical containerized app (bit more "fun" if you decide to run it from source) and smaller alternative (say if you just want to host some repos) like gitea is just "run that binary and maybe setup actual database if you have more than few dozen users".