Re: HTML::Mason git repo - SVN mirror

Pedro Melo <[email protected]> Fri, 2 Oct 2009 18:36:30 +0100
Newsgroups gmane.comp.web.mason.devel
Message-ID <[email protected]>
Hi,

On 2009/10/02, at 18:26, Jonathan Swartz wrote:
>> Well, thats the beauty with git, you can just host it on several  
>> places.
>>
>> You could just run gitosis on the masonhq site, or just the plain git
>> daemon, or even push to the sourceforge git server, or use another
>> site like gitorious.org.
>>
>> Lots of choice.
>>
>> All my projects @ github have this [remote] defined:
>>
>> [remote "all"]
>>        url = git:melo/anna.git
>>        url = [email protected]:melo/anna.git
>>
>> You can't get this by the command line (at least, i don't know how)
>> but if you edit your config file directly, you can create a remote
>> with several url's, and then you can just git push all and it will
>> send to all of those repos with a single command.
>>
>
> I guess you can do this, but if you have multiple main commit  
> authors, they all have to have the same lines, right?

Right.

> And if one place is down, they'll get out of sync?

Right, until the next push.

> I know this is probably "the git way" but it's still a little hard  
> for me to break away from the single-official-repo philosophy.

Sure, and I didn't say it was "the git way", only that it is easy to  
do with git.

Alternatively, git clone --bare the github repo at masonhq, and cron a  
git fetch to update that mirror from time to time.

Best regards,


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf