dukeofgaming wrote:
I thought it might be interesting for all to read some feedback I got
from some questions I made to the Joomla community, specifically, the
guys and gals that have been implementing the decoupling of the Joomla
framework: the Joomla Platform.
They currently still use svn officially but they have been experimenting
with both mercurial and git. These are their responses so far:
http://groups.google.com/group/joomla-dev-framework/browse_thread/thread/fd3b0151cc215c0e
It may bring some insight to what a DVCS could do for the PHP community.
I think that there are perhaps still a couple of separate problems here which
the DVCS community need to get behind for any of them to become a 'front runner'.
The main problem here IS 'subrepo' which is a concept that neither HG or GIT
handle particularly well, but to my mind is essential for a very much modular
project like PHP! While I have sort of managed to put together a 'checkout' of a
set of packages which together make a single build of the target project, I'm
still having to pull and commit changes manually to each subrepo - I don't get
the simple overview of outstanding changes that was SO nice to work with in CVS!
To try and put this in a 'PHP' context ... I DID have a list of extensions I was
working with, and a 'sync' in ECLIPSE gave me a nice list of which ones had had
changes pushed ... I could then go and either simply update to those changes on
an extension by extension basis - or review the changes in each file so allow me
to integrate other peoples changes with my own local 'tweaks'. This is something
that DVCS SHOULD be perfect for, but the management tools for bundling a
selection of parts of a project are not there yet, mainly because the core
developers on both HG and GIT "don't see then need because they don't need that
type of working"!
I'm limping along with HG at the moment simply because it works on both Linux
AND Windows, while GIT's windows support is still rather hit and miss when one
is already using other unix tools on windows, but I do not have the same level
of integration in Eclipse that CVS and SVN provide beautify straight out of the
box. At least I can drop out of Eclipse into TortoiseHg and do the code
management, but it's not an ideal way of working.
If I was a 'console jockey' then much of this would probably be a lot less of a
problem. One seems to need to write scripts to do what YOU want to do in both HG
and GIT - and then need to learn Python to do that in HG :( But I never used CVS
from the command line so a LOT of the reasoning for even the switch to SVN was
irrelevant since Eclipse had already solved all of those 'problems'.
At the current time I think that PHP would need to restructure how it is
packaged up to provide a single repo in both HG or GIT. Keeping SVN ( I'd still
prefer CVS here it works BETTER as a master for DVCS! ) as the master from which
we CAN currently sync using HG or GIT is the best of a bad job currently. Unless
some knows better?
--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php