Re:Twitch source code and customer data has reportedly been ...
by hnick on Wednesday October 06, 2021 @08:11AM
(#28772149)
Dozens? The 4chan post said "almost 6,000 internal Git repositories". We don't use git at work (TFS, yay), and we definitely aren't on their scale, but that seems high to me. Do they have a repo for every class? Is this normal?
[ Parent
| on HN ]
Re:Twitch source code and customer data has reportedly been ...
by cedilla on Wednesday October 06, 2021 @08:14AM
(#28772171)
If they use the common github approach of one fork per contributor, 6,000 repos accumulate quickly.
Re:Twitch source code and customer data has reportedly been ...
by PUSH_AX on Wednesday October 06, 2021 @08:44AM
(#28772452)
I've never worked in this way (when I've been part of the org), is it that common? What are the benefits of making everyone fork repos vs branching off the original repo?
Re:Twitch source code and customer data has reportedly been ...
by _joel on Wednesday October 06, 2021 @08:59AM
(#28772586)
It's common in general open source projects where you might want to send a patch for something that you don't have commit priveleges too, but I've never seen that used in enterprises as they have central auth / groups with the users required to work on the code.
Re:Twitch source code and customer data has reportedly been ...
by robjan on Wednesday October 06, 2021 @08:55AM
(#28772542)
I don't think that's a common workflow within companies. In every org I have worked at, forking is explicitly disabled
Re:Twitch source code and customer data has reportedly been ...
by MAGZine on Wednesday October 06, 2021 @12:19PM
(#28774914)
I worked at a large gaming company and that was definitely the collaboration model.
Before per-branch controls, the only way to disable write access (while maintaining read access, pull-request privs, etc) to a repository's blessed branches was forks.
Re:Twitch source code and customer data has reportedly been ...
by vultour on Wednesday October 06, 2021 @10:40AM
(#28773718)
You don't have 500000 garbage leftover branches on the main repo.
Re:Twitch source code and customer data has reportedly been ...
by Shalomboy on Wednesday October 06, 2021 @10:13AM
(#28773425)
TFS converting to Git/Azure DevOps here. Be the change you want to see in the world! There's a chance that some of the people in your org that don't use TFS could use the organizational tools built into GitHub/GitLab/BitBucket/DevOps. If you get enough teams on board with that platform that also happens to use Git, then you can make that push to IT!
Re:Twitch source code and customer data has reportedly been ...
by theneworc on Wednesday October 06, 2021 @07:09PM
(#28779631)
My company has way more than 6,000 devs and each dev creates a git repo as part of our onboarding process and uploads it to our centralized git tool (you create and push a mostly empty test repo as part of the basic training). Just from that, I'd imagine my company has tens of thousands of git repos, although a lot of them probably only have a single file or some random throwaway code.
The number of git repos might look big but without knowing more, the content of most of those repos could be a complete nothingburger. Number of git repos is pretty meaningless metric, IMO.
Re:Twitch source code and customer data has reportedly been ...
by BeefWellington on Wednesday October 06, 2021 @08:16AM
(#28772189)
Note it doesn't say unique git repositories. It could just mean each employee's fork is included in that count, which would inflate the number like that.