Any interest in using git for scm?

Thomas de Grivel billitch at macports.org
Mon Nov 9 05:53:22 PST 2009


2009/11/6 Blair Zajac <blair at orcaware.com>:
>
> On Nov 5, 2009, at 5:46 PM, Darren Weber wrote:
>
>>
>> After listening to Linus Torvalds talk about git and looking at a video
>> tutorial from Scott Chacon, it would seem beneficial to use git for MacPorts
>> development.  It appears that git can be used with an existing svn
>> repository (man git-svn), or the svn repository could be imported into a new
>> master git repository (perhaps host it with github).  Is anyone currently
>> using git for MacPorts development?
>>
>> After a few tips from MacPorts gurus and some experiments, I was able to
>> draft the instructions at
>> Create an experimental users directory in the MacPorts Subversion
>> repository
>>
>> http://trac.macports.org/wiki/CommittersTipsAndTricks
>>
>> The merge process with svn takes a while to grok, but it works OK.  Is
>> anyone having an easier time with git?
>>
>> The resources here are helpful in learning git:
>> http://www.linuxfoundation.org/search/node/git
>
> While I use git svn on a daily on my own source code projects, I don't see
> the value in migrating from svn over to git for MacPorts for the repository.
>  Nothing stopping people from using git to checkout from svn.
>
> Also, I don't keep a local svn checkout of the dports portion of the
> repository and the one thing I do when I want to update a port is just
> checkout the directory of the port I'm updating, which is a feature
> Subversion supports that git doesn't.

The main interest would be for very easy create / merge of overlays as
branches, it could be much stimulating from an open-source with many
contributors point of view. Non-macports devs could be provided same
SCM tools as MacPorts commiters, while still needing them for
integration into MacPorts when stable.

This could provide easy sub-communities of testers while providing
everyone with the official, stable, ports tree.

I also would say that I also switched recently to git for a few of my
own projects and am very pleased. It is much faster and helps commits
to be really atomic, both because it's not reliant on network. Also
backing up / providing a git tree is really easy, as simple as copying
a directory. Even server-side I am glad to progressively saying
goodbye to subversion's fsfs and webdav (..yuck).

-- 
 Thomas de Grivel
 http://www.lowh.net/


More information about the macports-dev mailing list