People freaking out that gitlab.com is considering to delete inactive free-tier repositories ... I mean what did you expect? Someone to host all your stuff for free forever?
Github will do exactly the same if that's at any point convenient to them. You are responsible for keeping your projects online/available/backed-up, if you don't have a contract with someone to do it for you.
 https://www.theregister.com/2022/08/04/gitlab_data_retention_policy/ (so far that seems to be a still just a rumor/leak? No official confirmation afaik.)
@fossil @Mehrad @Bubu do you have any idea of how many npm, pip or Go dependencies in widely used projects point to repositories that haven't been updated in more than a year, and are often maintained by a single developer? Can you imagine the cost that taking down those repos overnight would have on a lot of production software?
Do you know how many academic notebooks and libraries are hosted in repos that haven't been updated in a long time? And yet a few years later a Ph.D or a graduate student finds them, uses them and maybe writes a couple of papers on the findings? Can you imagine the negative impact on scientific research that taking down those repos just because they haven't been updated would have?
These are all things that you must take into account if you're a company that hosts open-source code. If you don't take those things into account, and you pick profitability over responsibility for the availability of the content that you host, then you're in the wrong job, period.
And fair enough, those who are in free tiers shouldn't expect to have everything for free. But they shouldn't trust a company that claims the right to delete their hard work on an arbitrary retention basis either. That's why now it's more important than ever to #GiveUpGitlab.
"These are all things that you must take into account if you're a company that hosts open-source code."
No. No. A thousand times no.
Those are the things that you must take into account before choosing a company to host your code.
A for-profit company has absolutely zero obligation to people that are not paying it anything.
If you want your code to survive forever, pay for hosting.
The point is there are *already* thousands of useful projects on gitlab.com and Github that haven't been updated in a year or more, and yet it's fundamental to preserve them.
Some are used in goddamn deep npm dependency graphs that power big production software, without developers on either side even being aware of that, and shutting down the repos means to break production stuff.
Some of them contain code used in research papers. Once the paper is out they are unlikely to receive many updates. Still, it's fundamental to preserve them, because maybe 10 years down the line the conclusions of that paper become suddenly relevant for a bunch of reasons, and it's crucial to be able to replicate the results - and you can't do it if Gitlab or Github took down the repo because it was inactive.
Or course we can tell people "if you want your code to be preserved forever, then pay for your hosting" (and that would already be unfair, because then the only code that can be preserved is that of people who can either pay for hosting or self-host). But that doesn't answer the question: what are we going to do if Gitlab takes down for inactivity a repo that, although inactive, is crucial either to our infrastructure, to other businesses, or to scientific research? Gitlab can't just shrug it out and say "it's profit baby, I don't care". They have a freaking moral responsibility to ensure that other production code won't break, and that their retention policies won't prevent the next big scientific discovery.