Hacker News new | comments | show | ask | jobs | submit login
PHP source code now hosted on Github (github.com)
138 points by birken 1802 days ago | hide | past | web | 14 comments | favorite

Note, to those that wonder: It moved to git.php.net as github only contains a mirror. And other parts of the PHP project are still in transition. There's also a mercurial mirror. The PHP source module is named php-src.

While that is true they now encourages people to submit patches as github pull requests: https://wiki.php.net/vcs/gitworkflow

Thanks for the clarification. It's been mirrored on github for a long time, but it's almost always a pretty old release.

To OP, "hosted on git" and "hosted on github" are two very different things.

Wow. I think one of the coolest things about this, is seeing a GitHub repo with some of the commits being from 12 years ago. Gives you an idea of how long PHP's been around as compared to a lot of the projects floating around GH.

Python - first commit, 22 years ago


(Current first page: https://github.com/python-git/python/commits/master?page=117... )

Perl - first commit, 24 years ago

Amazing title: a "replacement" for awk and sed


(Current first page: https://github.com/mirrors/perl/commits/ams/no-more-study?&#... )

Apparently the current Linux kernel repositories don't go back as far: http://kerneltrap.org/node/13996

I remember Linus saying they only keep the last 5 years of commits, because more isn't really necessary.

I think it's very dependent on the project. There really are times in php-src when you want to be able to go back a fair way, since the last significant change to function's implementation may well have been 10 years ago in the early 4.x days (and Git is going to be a huge win for us there over Subversion).

I wouldn't be surprised if it makes much less sense for the kernel, though.

It's weird to see PHP as being comprised of 62.5% C, though obviously it makes sense.

Does this mean they will also use the GitHub issues instead of bugzilla? I would very much welcome this.

I'm nitpicking, but they were never using bugzilla but their own system (which now lives here: http://git.php.net/?p=web/bugs.git;a=summary)

Also, github is just a mirror. The main repo is on git.php.net where they are continuing to use their karma based everyone-commits-to-a-central-repo system (see http://git.php.net/?p=karma.git;a=summary). This goes together with the rest of the infrastructure that they continue to self-host

it is a DVCS. it doesnt matter where it's hosted. external contributors should use github, core developers will go through git.php.net. it's all the same.

PHP's always used it's own tracker (http://bugs.php.net).

Ban Rasmus please.

Heh. It was a tongue-in-cheek reference to http://svn.php.net/viewvc/php/php-src/trunk/ext/standard/php...

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact