News for hackers. Stuff that matters.
Re:PHP will switch to git by asuth on Wednesday September 07, 2011 @06:30PM (#2971801)
Rasmus gave a talk yesterday and I asked if they were switching to github. He said they'd likely switch to git (it's now happening, apparently), but not github because it can't do ACLs and the PHP project has thousands of people who need commit access to various places.
Re:PHP will switch to git by treffer on Wednesday September 07, 2011 @06:36PM (#2971822)
exactly, they want to keep their karma system. But a github mirror is not unlikely.

Oh, and that's the reason why the mail states that they'll now figure out how to move php-src to git.

Re:PHP will switch to git by stoph on Wednesday September 07, 2011 @07:51PM (#2972033)
There is already a github mirror:

https://github.com/php/php-src

Re:PHP will switch to git by brianmario on Wednesday September 07, 2011 @11:06PM (#2972478)
Wonder if they knew about GitHub Organizations?

https://github.com/blog/674-introducing-organizations

Re:PHP will switch to git by jlogsdon on Wednesday September 07, 2011 @11:32PM (#2972523)
This only provides repo level access control. They want ACL's to control down to the branch level.
Re:PHP will switch to git by zbowling on Thursday September 08, 2011 @02:26AM (#2972842)
Think certially and not distributed there :-)

This is handled in projects like the Linux kernel.

Could easily enough have the commitor push to a different repo than he pulls from. Then you could have person manually review pull his changes into manager (like Linus does with Linux).. or if you wanted some automation, have a script import his changes if they match a set of rules.

The other option is submodules.

Re:PHP will switch to git by pilif on Thursday September 08, 2011 @04:05AM (#2973055)
> Then you could have person manually review pull his changes into manager (like Linus does with Linux)

this assumes that there are enough trusted people in the PHP project with enough time to spend for doing nothing but reviewing pull requests.

> The other option is submodules.

that's a very good idea, especially when you consider how modularized PHP's build system already is. Give them time though. Moving from SVN to git is already a huge step in the right direction, even though the keep most of the old model the same.

Once all of that works nicely, a further step can be to move to submodules.

Re:PHP will switch to git by ch0wn on Thursday September 08, 2011 @09:22AM (#2973780)
This sounds like a horribly broken development process to me. Is there any article that explains the idea behind this? I would really like to know how this could work.
Re:PHP will switch to git by hm2k on Thursday September 08, 2011 @08:58AM (#2973694)
Isn't decentralised and ACL is a bit of an oxymoron?
Re:PHP will switch to git by andrewflnr on Wednesday September 07, 2011 @07:16PM (#2971940)
And plain Git can do ACLs? I didn't know that.
Re:PHP will switch to git by sho_hn on Wednesday September 07, 2011 @07:43PM (#2972015)
I assume you already know this, i.e. the above was sarcasm, but: No, it can't. But since remote access to Git most commonly happens over SSH, ACLs can be implemented by additional tools which serve as the login shell and filter the git commands the client wants to run. The best such tool right now is gitolite, building on concepts established by gitosis. The GitHub-like open source web repo manager Gitorious also implements an ACL system that way.
Re:PHP will switch to git by andrewflnr on Thursday September 08, 2011 @01:09AM (#2972708)
I was pretty sure, but I never know when I've missed some huge piece of functionality in a program. Thanks for the explanation.
Re:PHP will switch to git by jarin on Wednesday September 07, 2011 @07:22PM (#2971955)
Yep, it can.
Re:PHP will switch to git by dcope on Wednesday September 07, 2011 @08:47PM (#2972152)
Was there any official statement stating that they would switch to GitHub? All I see is that they're switching to git.
Re:PHP will switch to git by philfreo on Wednesday September 07, 2011 @10:14PM (#2972346)
no; they aren't moving to github at least right now