News for hackers. Stuff that matters.
Re:Facebook's git repo is 54GB by TD-Linux on Friday April 25, 2014 @04:01PM (#7648724)
Yes, and an intern would be subject to a code review before pushing to master - no way would they have write access to the "master" repo.
Re:Facebook's git repo is 54GB by vmarsy on Friday April 25, 2014 @04:16PM (#7648802)
Indeed the process of facebook code deployment is pretty complex:

https://www.facebook.com/publications/514128035341603/

And I assume they have extra requirements for interns to push code.

Re:Facebook's git repo is 54GB by d_j_b on Friday April 25, 2014 @04:35PM (#7648903)
that is a fascinating article, thank you. i like the idea of 'push karma'.
Re:Facebook's git repo is 54GB by vmarsy on Friday April 25, 2014 @04:59PM (#7649000)
You're welcome! I really liked the 'push karma' too.

I liked this idea too : "all engineers who contributed code must be available online during the push. The release system verifies this by contacting them automatically using a system of IRC bots; if an engineer is unavailable (at least for daily pushes), his or her commit will be reverted."

That way, they are be able to react very quickly in case of a problem.

Re:Facebook's git repo is 54GB by Myrmornis on Saturday April 26, 2014 @02:19AM (#7650608)
But this isn't a magic bullet...a commit can't always be reverted without conflicts, and even if reverted there's no guarantee that it leaves the codebase in a correct state. (Guess I should read the article you're talking about.)
Re:Facebook's git repo is 54GB by slig on Friday April 25, 2014 @04:11PM (#7648772)
Yes, but the new intern would be able to read all the source and "secret sauces".

I doubt that an intern on Google would've access to the search codebase. I'd wager that only a handful of trusted employees have access to that codebase.

Re:Facebook's git repo is 54GB by Jasper_ on Friday April 25, 2014 @04:24PM (#7648840)
All Google code is stored in one master repository, for all products. An intern can look at the search code.
Re:Facebook's git repo is 54GB by skj on Saturday April 26, 2014 @10:54AM (#7651554)
Not so. Search is specifically sequestered.
Re:Facebook's git repo is 54GB by Moto7451 on Friday April 25, 2014 @05:52PM (#7649243)
If you don't trust your employees why did you hire them? Besides, the source code isn't where FB's money is at, that would be their users.
Re:Facebook's git repo is 54GB by slig on Friday April 25, 2014 @06:47PM (#7649542)
> If you don't trust your employees why did you hire them?

On a small company, I agree. But on FB they're around 5k people. Let's say they have 3k engineers, that's a awful lot of people they're trusting with their source code

Re:Facebook's git repo is 54GB by why-el on Friday April 25, 2014 @04:25PM (#7648846)
Google is also one source tree I think.
Re:Facebook's git repo is 54GB by skj on Saturday April 26, 2014 @10:53AM (#7651551)
You are correct for the search codebase - it is separate from the main tree, as is a lot of the core ad placement code. If you aren't working on those projects, you don't have access.
Re:Facebook's git repo is 54GB by Theodores on Friday April 25, 2014 @04:50PM (#7648958)
So it is like the Coca Cola recipe? Only two people allowed to know it and not allowed to get the same flight? Yet everyone else able to mix and serve the syrup?