This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: git mirror repacked, new branches


On Thu, 2009-11-19 at 03:11 -0200, Alexandre Oliva wrote:
> Yup.  Here's the configuration I'm using to build a git repo with all
> branches, tags, and also retaining the ability to check out any
> directory containing multiple tags, branches, and even the entire SVN
> tree (look for dirs).
> 
> [svn-remote "svn"]
> 	rewriteRoot = svn+ssh://gcc.gnu.org/svn/gcc
> 	# url = svn+ssh://aoliva@gcc.gnu.org./svn/gcc
> 	url = file:///l/tmp/build/gcc/gccrepo
> 	fetch = trunk:refs/remotes/trunk
> 	branches = branches/ARM/*:refs/remotes/branches/ARM/*
> 	fetch = branches/ARM:refs/remotes/dirs/branches/ARM
> 	branches = branches/apple/*:refs/remotes/branches/apple/*
> 	fetch = branches/apple:refs/remotes/dirs/branches/apple
> 	branches = branches/csl/*:refs/remotes/branches/csl/*
> 	fetch = branches/csl:refs/remotes/dirs/branches/csl
> 	branches = branches/dead/*:refs/remotes/branches/dead/*
> 	fetch = branches/dead:refs/remotes/dirs/branches/dead
> 	branches = branches/gcj/*:refs/remotes/branches/gcj/*
> 	fetch = branches/gcj:refs/remotes/dirs/branches/gcj
> 	branches = branches/ibm/*:refs/remotes/branches/ibm/*
> 	fetch = branches/ibm:refs/remotes/dirs/branches/ibm
> 	branches = branches/ix86/*:refs/remotes/branches/ix86/*
> 	fetch = branches/ix86:refs/remotes/dirs/branches/ix86
> 	branches = branches/redhat/*:refs/remotes/branches/redhat/*
> 	fetch = branches/redhat:refs/remotes/dirs/branches/redhat
> 	branches = branches/st/*:refs/remotes/branches/st/*
> 	fetch = branches/st:refs/remotes/dirs/branches/st
> 	branches = branches/suse/*:refs/remotes/branches/suse/*
> 	fetch = branches/suse:refs/remotes/dirs/branches/suse
> 	branches = branches/ubuntu/*:refs/remotes/barnches/ubuntu/*
> 	fetch = branches/ubuntu:refs/remotes/dirs/branches/ubuntu
> 	branches = branches/*:refs/remotes/branches/*
> 	fetch = branches:refs/remotes/dirs/branches/root
> 	tags = tags/apple/*:refs/remotes/tags/apple/*
> 	fetch = tags/apple:refs/remotes/tags/dirs/apple
> 	tags = tags/csl/arm/*:refs/remotes/tags/csl/arm/*
> 	fetch = tags/csl/arm:refs/remotes/tags/dirs/csl/arm
> 	tags = tags/csl/coldfire/*:refs/remotes/tags/csl/coldfire/*
> 	fetch = tags/csl/coldfire:refs/remotes/tags/dirs/csl/coldfire
> 	tags = tags/csl/morpho/*:refs/remotes/tags/csl/morpho/*
> 	fetch = tags/csl/morpho:refs/remotes/tags/dirs/csl/morpho
> 	tags = tags/csl/renesas/*:refs/remotes/tags/csl/renesas/*
> 	fetch = tags/csl/renesas:refs/remotes/tags/dirs/csl/renesas
> 	tags = tags/csl/sourcerygxx/*:refs/remotes/tags/csl/sourcerygxx/*
> 	fetch = tags/csl/sourcerygxx:refs/remotes/tags/dirs/csl/sourcerygxx
> 	tags = tags/csl/wrs-linux/*:refs/remotes/tags/csl/wrs-linux/*
> 	fetch = tags/csl/wrs-linux:refs/remotes/tags/dirs/csl/wrs-linux
> 	tags = tags/csl/*:refs/remotes/tags/csl/others/*
> 	fetch = tags/csl:refs/remotes/tags/dirs/csl/root
> 	tags = tags/ix86/*:refs/remotes/tags/ix86/*
> 	fetch = tags/ix86:refs/remotes/tags/dirs/ix86
> 	tags = branches/st/tags/*:refs/remotes/tags/st/*
> 	fetch = branches/st/tags:refs/remotes/tags/dirs/st
> 	tags = tags/redhat/*:refs/remotes/tags/redhat/*
> 	fetch = tags/redhat:refs/remotes/tags/dirs/redhat
> 	tags = tags/ubuntu/*:refs/remotes/tags/ubuntu/*
> 	fetch = tags/ubuntu:refs/remotes/tags/dirs/ubuntu
> 	tags = tags/*:refs/remotes/tags/*
> 	fetch = tags:refs/remotes/tags/dirs/root
> 	fetch = :refs/remotes/dirs/root

Amazing. And how well does this monster config work? Would you recommend
doing the same with our public git mirror?

-- 
   // Bernie Innocenti - http://codewiz.org/
 \X/  Sugar Labs       - http://sugarlabs.org/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]