savannah-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Savannah-help-public] Multiple git repos


From: Frederik Deweerdt
Subject: Re: [Savannah-help-public] Multiple git repos
Date: Sat, 18 Aug 2007 13:44:37 +0200
User-agent: mutt-ng/devel-r804 (Linux)

On Fri, Aug 17, 2007 at 11:36:19PM +0200, Jim Meyering wrote:
> Sylvain Beucler <address@hidden> wrote:
> >> We're considering moving several CVS modules of TSP
> >> (http://savannah.nongnu.org/projects/tsp/) to git. However, we'd like
> >> to keep the distantly related modules available separtely. This doesn't
> >> seem possible with one git repo only.
> >> Is it possible to have several git repos for one project?
> >
> > We planned to add multiple repositories support, but currently that
> > cannot be done automatically, so we'll have to do that manually. If
> > you can contribute a patch to
> > https://savannah.nongnu.org/p/savane-cleanup that'd be great. Else you
> > can tell us the list if names of the repositories we'll create under
> > /srv/git/tsp/.
> >
> > Jim, just to be sure: do you think they need several repositories, or
> > could they use different branches/entry points with the same result?
> > In principle you can push your original import to another branch than
> > "master", can't you?
> 
> Hi Sylvain,
> 
> Unless people expect bits of the two repos to migragrate from one to
> the other, I don't see much point in keeping the files in a single
> repository -- assuming they're logically independent.  However, if one
> calls functions in the other, it might make more sense to put them under
> the same roof; then it's easier to coordinate changes in one that affect
> uses in the other.
That's our case: the source trees are part of a debugging toolset and
are not tied ABI/API wise.
> 
> However, perhaps there is room for a compromise if you're willing to
> use a recent version of git, since it now has minimal submodule support.
> However, note that I've only noticed the new feature, and haven't used it.
Hmm, it seems that the git submodule command allows you to aggregate
several git repos in one. IOW, you get a master repo to which you can
add other repos. So this solution seems to require several repos anyway.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]