Live data from Hacker News

PHP will switch to git

news.php.net

71–80 of 108 posts

Re: PHP will switch to git

#71
post #41
post #24

Earlier quoted context omitted.

I went from 999 to 992. I guess I should have kept my mouth shut, but it was worth it. But tbh, I have nothing against PHP; it was just a joke.

Wow, I went from 999 to 964.. that's 35 down-votes! This is insane, but not surprising coming from PHP folks. (Too serious to laugh, too stupid to switch, too stubborn to think, too old to learn, amen.)

It isn't PHP folks who are down voting you, it's the Hacker News community. You didn't add anything to this conversation, so you were down voted. Please read the guidelines: http://ycombinator.com/newsguidelines.html

If you want that sort of conversation, go to reddit.

Re: PHP will switch to git

#72
There is no point in git-vs-hg debate. Main point is that PHP people are switching to DVCS.

Git is often chosen because it is more popular, has larger community and stuff-written-about-it.

Also, it has GitHub, which can be attributed for most of the huge boost of git popularity.

That does not neccessarily mean that git is better. Still, it is good enough for most of us (and them), and there is just no point in debating. PHP vote was not about which-is-better. It as about - which-one-to-chose.

Re: PHP will switch to git

#73
post #6

Earlier quoted context omitted.

because github is one of the most visible and most visited source hosting sites?

I still don't get your point. It's the most visited source hosting site, no doubt about that, so...? On the subject of the topic, I'm getting tired of this git euforia. The linked message says zero about the reason beyond a simple direct voting. So, for no reason they decided to have a voting and ignore the reasons why people vote whatever they did? Sounds like a pretty useless voting for me. Well, except if you want…

> The linked message says zero about the reason beyond a simple direct voting.

The linked message is a single posting from thousands to an internal message list, of course it doesn't. A quick search for "git" on the PHP internals list shows lots of posts.

> So, for no reason they decided to have a voting and ignore the reasons why people vote whatever they did?

Jumping to conclusions much?

Re: PHP will switch to git

#74
post #71
post #41

Earlier quoted context omitted.

Wow, I went from 999 to 964.. that's 35 down-votes! This is insane, but not surprising coming from PHP folks. (Too serious to laugh, too stupid to switch, too stubborn to think, too old to learn, amen.)

It isn't PHP folks who are down voting you, it's the Hacker News community. You didn't add anything to this conversation, so you were down voted. Please read the guidelines: http://ycombinator.com/newsguidelines.html If you want that sort of conversation, go to reddit.

Point taken. :) Sorry. Removing my post (and taking most of this thread with it.)

EDIT: Except I didn't realize I can't do that after folks have replied. Anyways, it's pretty clear a lot of folks didn't find it funny or appreciate it. I went from about 90 karma to 55 or so. Sorry to be a bother.

Re: PHP will switch to git

#75

Earlier quoted context omitted.

Git appears to be fast becoming the standard DVCS. Whenever I read a statement about popularity of technology, the first thing I do is check the job ratios: http://www.indeed.com/jobtrends?q=cvs%2C+subversion%2C+git&#... Git has been picking up speed, but Subversion seems to be (nearly) matching its growth. This makes me feel slightly less bad that all my personal projects are checked into Subversion on Dreamhost. :-…

You present an interesting tool for settling such debates. However, I believe the more appropriate URL would be: http://www.indeed.com/jobtrends?q=git%2C+hg%2C+mercurial%2C+... Obviously, cvs and svn will be with us for some time still, but those are not distributed version control systems (DVCS). However, you raise a good question: is distributed version control so much better than centralized version control that w…

"is distributed version control so much better than centralized version control that we will all eventually be using a DVCS?"

I can't predict the future, but I do think DVCS is fundamentally superior. Joel Spolsky called it "possibly the biggest advance in software development technology in the ten years I’ve been writing articles here." (http://www.joelonsoftware.com/items/2010/03/17.html)

Let me describe a key weakness of centralized version control and how decentralizing fixes it.

Say you're working on a project with others. All of you commit to the repo, and you use it to deploy to production.

When you're coding experimentally, you have to make a choice: do I commit often, possibly giving half-baked code to my peers? Or do I commit only when I'm totally done, with long periods between commits, during which I can't roll back changes?

DVCS eliminates this painful choice. Commit as often as you like on your local repo. When your code is ready, push up to the shared repo. If you like, you can even do better: push up to a shared development branch for review and merging into the deployable branch. And better than that: if it took you 20 false steps to get to the end result, doing stuff, undoing it, redoing it differently, etc, you can clean up that commit history to a single, logical, readable commit for your teammates to read.

That is fundamentally better for teammwork. Add all the stuff about offline access, etc, and it's just clearly better.

Re: PHP will switch to git

#76
post #40

Git appears to be fast becoming the standard DVCS. Is there any reason that all reasonably well-run projects should not be using git? GitHub seems vastly superior to BitBucket, and git itself seems pretty much isomorphic to hg (albeit with worse syntax). (This ignores darcs, bzr, etc., but those never seemed terribly competitive for mindshare.) Furthermore, the network effects (with pull requests on Github, not havin…

I'm a pious hg user - even gave git a good run (mostly because of Github). I can't get over how amazing mercurial patch-queues are. Big win. I love mercurial's easy plugin development and hooks (thank you Python); I love how many awesome plugins exist for mercurial. On and on and on.

I'm pretty addicted to git's lightweight branching now. Mercurial looks appealing in some ways but, from what I understand, it doesn't support anything similar, at least not in the core.

Re: PHP will switch to git

#77

Git appears to be fast becoming the standard DVCS. Is there any reason that all reasonably well-run projects should not be using git? GitHub seems vastly superior to BitBucket, and git itself seems pretty much isomorphic to hg (albeit with worse syntax). (This ignores darcs, bzr, etc., but those never seemed terribly competitive for mindshare.) Furthermore, the network effects (with pull requests on Github, not havin…

Git appears to be fast becoming the standard DVCS. Whenever I read a statement about popularity of technology, the first thing I do is check the job ratios: http://www.indeed.com/jobtrends?q=cvs%2C+subversion%2C+git&#... Git has been picking up speed, but Subversion seems to be (nearly) matching its growth. This makes me feel slightly less bad that all my personal projects are checked into Subversion on Dreamhost. :-…

I can't speak for anyone else, but I would personally be extremely hesitant about taking a job anywhere that doesn't use a DVCS (and, realistically, for 'DVCS' read: Git or Hg). The technology an organisation uses says a lot about its culture. Anyone who hasn't switched to, or isn't in the process of switching to a DVCS is at a huge disadvantage.

Re: PHP will switch to git

#78
post #74
post #71

Earlier quoted context omitted.

It isn't PHP folks who are down voting you, it's the Hacker News community. You didn't add anything to this conversation, so you were down voted. Please read the guidelines: http://ycombinator.com/newsguidelines.html If you want that sort of conversation, go to reddit.

Point taken. :) Sorry. Removing my post (and taking most of this thread with it.) EDIT: Except I didn't realize I can't do that after folks have replied. Anyways, it's pretty clear a lot of folks didn't find it funny or appreciate it. I went from about 90 karma to 55 or so. Sorry to be a bother.

No problem. Everyone makes mistakes. Just learn from your experience and move on. We try to keep a high level of conversation here. Please try to keep things civil, and make comments that actually add to the conversation. Thanks :)

Re: PHP will switch to git

#79
post #2

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.

Isn't decentralised and ACL is a bit of an oxymoron?

Re: PHP will switch to git

#80
post #64
post #60

Earlier quoted context omitted.

Mercurial is written in Python - as a Python developer I can attest to the phenomenon of Python developers preferring software written in Python. Part of this is rational, part of this is pure "my tribe" bias (by the way, I use and like git, don't know Mercurial at all.) PHP developers are less likely to be affected by that.

> PHP developers are less likely to be affected by that. We won't know until someone writes a DVCS in PHP..

hmmmmmmm.....
Post reply on HN