46 points · by draegtun · 14y ago · 41 comments
Slowly migrating users by teachings the early adopters with git-p4 also helps to prevent the sudden switch on "Monday" that goes horribly wrong causing everyone to loose a few days.
The real problem has been shops that have 400GB perforce servers and they employed absolutely no rules about where things would live on the server. This would result in Perforce clients that would cherry pick directories from all sorts of random sub directories across the Perforce server to build a product (v.s. say something simpler like projectFoo/, 3rdparty/, and binaryTools/) The worst are the exceptions in the perforce client such as the perforce client would grab the src/ directory, but exclude src/vs/ because a few years ago someone checked in a visual studio install into the src directory and somewhere someone is still using it so they can't remove/move it... Even if they stick with Perforce companies like this really should clean up their repositories, call it simple professionalism.
After a repository is cleaned up (even a basic pass can make a huge deal) then using git on top of perforce or even thinking of migrating is much easier to do.
Using Git inside large companies is completely doable right now. In the past when Git was younger I gave a few presentations in the Boston area (where I live) to companies that were interested in learning more. If your in the area and if you just want to pick my brain on the topic or how it might apply to your situation I am always up for grabbing lunch.
- Storage of database on local drive - the last time I worked with perforce, HEAD alone was 280GB... where would this fit? (there's a presentation about google's use of perforce where they say the metadata alone for their database is >1TB! - so even storing just metadata might not fly)
- As number of people using database increases, chance of needing to store hand-modified binary files (Office, Photoshop, Maya/Max/XSI/etc.) increases, and advantage to storing non-modified binary files (old builds, tools, etc.) increases. (Storing things in shares on people's PCs, or having two systems, or whatever, just ain't great.) Centralized locking is pretty much essential for such files, but, being centralized, it's hard to support with a distributed system...
The former problem could almost certainly be solved. The latter I'm less sure about. Partly for technical reasons, but partly because the idea that binary files shouldn't be version-controlled is, for some people (and I don't know if the git people are of this mind), a point of inviolable principle.
As someone who has used both, the workflow features geared towards large organizations and professional-grade code processes have always struck me as a major feature of p4.
http://blogs.atlassian.com/2012/10/stash-13-enterprise-git-p...
Disclaimer: I work for Atlassian
FTFY. Vendor apps and commercialized software aren't purchased (to my knowledge) with the intent of being able to point the finger with the buyer's lawyer. The reason large enterprises prefer Perforce/TFS/etc. is (along with their proven capability to scale) that if something goes wrong they can call the vendor for help.
While you might be able to post on a usergroup and hope for a response, you can't call Linus directly. That's a big difference for the people making the decisions from a financial, architectural, and tools-planning level.
extra ref: Perl5 git repo: http://perl5.git.perl.org/perl.git | Github mirror: https://github.com/mirrors/perl
- lightweight branches (your branch is just a different head, there is nothing permanent about it)
- git rebase -i (rewrite your history)
- git add --patch (add parts of a file to a commit instead of the whole file)
- the philosophy of preparing the commit by putting the files or portions of files you want to commit in the staging area, as opposed to committing everything per default
I know Mercurial has alternatives to most of these functionalities, through various plugins. But I can't say I found them nearly as usable as Git. And that's saying something considering Git's command line interface.
Webinar's next week, and I may sign up to see what this is all about. (Disclaimer: Certified Perforce Admin here, and no, I don't work for Perforce.)
The code is out of the hands of Linux kernel team, so you can believe that git will work well. And the fame of Linus and later github also count.
I don't know many people who use Windows that like Git. The ports were buggy for a long time and the best visual tool, SmartGit, isn't free. Mercurial which has TortoiseHg which is excellent but I hear is painful to get running on OSX (maybe this has changed). Mercurial is fairly popular still though. I think a lot of people use it but not many popular articles get written about it the same way it does about Git.
A real git front end would be awesome!
Excellent suggestion with the screenshots and the six items.
So if some developers are using Git, and the idea is to keep all company stuff in a clearly-shareable and accessible spot, Git + Git Fusion + p4 + Commons would do it.
[Disclaimer: I work at Perforce, hence shamelessness of plug]