News for hackers. Stuff that matters.
Re:Anyone can access deleted and private repository data on ... by chrisandchris on Wednesday July 24, 2024 @03:51PM (#41061222)
Yep, I see GitHub as "public only" hosting, and if I want to host something private, I will choose another vendor.
Re:Anyone can access deleted and private repository data on ... by OutOfHere on Wednesday July 24, 2024 @03:59PM (#41061323)
The noted issue looks to be applicable to forks only, not to all private repos.
Re:Anyone can access deleted and private repository data on ... by eslaught on Wednesday July 24, 2024 @05:05PM (#41062108)
It also applies to this situation:

    1. Create a private repo R
    2. Create a private fork F of R
    3. Push commits to the fork F
    4. Make R public
The commits pushed to F prior to R being made public will become de facto public, even though F has always been a private fork. The post makes clear that commits pushed to F after R is made public are placed into a separate, private fork network.

So basically, if you ever intend to open source anything, never do it to an existing private repo. Always start a from-scratch repo to be the root of your new public project.

Re:Anyone can access deleted and private repository data on ... by EugeneOZ on Thursday July 25, 2024 @02:58AM (#41065545)
Github’s attitude and perception of the terms “privacy” and “security” - it is more important.
Re:Anyone can access deleted and private repository data on ... by chrisandchris on Thursday July 25, 2024 @06:30AM (#41066914)
I find the attitude worrying. I understand that it's maybe not easy to fix, or even fixable without breaking some use cases.

However, if they "don't care" about such an issue, how can I trust them to care about other stuff?

Re:Anyone can access deleted and private repository data on ... by stvltvs on Wednesday July 24, 2024 @03:56PM (#41061282)
Which vendors work best for private projects?
Re:Anyone can access deleted and private repository data on ... by tracker1 on Wednesday July 24, 2024 @04:05PM (#41061415)
You could consider GitLab.. though this only seems to affect private forks of public repos.
Re:Anyone can access deleted and private repository data on ... by the8thbit on Wednesday July 24, 2024 @06:22PM (#41062821)
I've used both Bitbucket and Azure in the corporate world.
Re:Anyone can access deleted and private repository data on ... by t-writescode on Thursday July 25, 2024 @01:22AM (#41064971)
I've been happy with Jetbrains Space (now Space Code); but I'm using it for private, professional work and paying for it, so perhaps that isn't what you mean.
Re:Anyone can access deleted and private repository data on ... by prmoustache on Thursday July 25, 2024 @03:16AM (#41065679)
gitea works well. Use that on your own network.
Re:Anyone can access deleted and private repository data on ... by Ragnarork on Thursday July 25, 2024 @04:23AM (#41066184)
Sourcehut :)
Re:Anyone can access deleted and private repository data on ... by chrisandchris on Thursday July 25, 2024 @06:25AM (#41066887)
JetBrains Space, Atlassian Bitbucket, GitLab (also On-Premises), Gitea

Order does not indicate any preference.

Re:Anyone can access deleted and private repository data on ... by dheera on Wednesday July 24, 2024 @06:44PM (#41062999)
Or commit an ecryptfs.

Clone and mount, unmount and commit

Re:Anyone can access deleted and private repository data on ... by 1oooqooq on Thursday July 25, 2024 @03:58AM (#41066011)
extremely annoying, but only true private option on somebody's else computer.

i read headlines like the above with the implied "not just to the employees there anymore"

Re:Anyone can access deleted and private repository data on ... by account42 on Thursday July 25, 2024 @05:57AM (#41066762)
> if I want to host something private, I will choose another vendor.

Or you know, self-host, preferrably on-prem.

Basic git hosting only needs a sshd running on the server. If you want collaborative features with a web UI then there are solutions for that available too.

Re:Anyone can access deleted and private repository data on ... by thingification on Saturday July 27, 2024 @05:13AM (#41085389)
For the benefit of anybody thinking "with gitlab I'm safe from this": If you're saying (and perhaps you're not) that some other git hosting service

- gives you control over gc-ing their hosted remote?

- does not to your knowledge have a third-party public reflog or an events API or brute-forceable short hashes?

if so, especially the second of those seems a fragile assumption, because this is "just" the way git works (I'm not saying the consequences aren't easy to mentally gloss over). Even if gitlab lacks those things curently (but I think for example it does support short hashes), it's easy to imagine them showing up somehow retroactively.

If you're just agreeing with the grandparent post that github's naming ("private") is misleading or that the fork feature encourages this mistake: agreed.

Curious to know if any git hosting service does support gc-ing under user control.