monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] Sharing subprojects between projects


From: Richard Levitte
Subject: Re: [Monotone-devel] Sharing subprojects between projects
Date: Thu, 14 Jun 2007 13:40:27 +0200 (CEST)

In message <address@hidden> on Thu, 14 Jun 2007 13:21:36 +0200, Ludovic Brenta 
<address@hidden> said:

ludovic> I used Monotone's merge_into_dir for that purpose once.  I
ludovic> suggest you have a look at it.

It's true that it's (well, it and the subsequent propagates) the most
supported way to do this.  The flip side of the coin is that it
requires that maintainers of the subprojects remember to do the
subsequent propagates a little now and then, which doesn't scale well
for popular subprojects (libraries, for example?).

As an alternative, I could easily imagine having a file _MTN/subdirs
or something like that in the main workspace that describe
subdirectories that need to be treated as separate workspaces in a way
that's transparent to the user.  Unfortunately, that would require
that each user is informed of the relationship between projects and
"install" subdirectories manually.  The real beef is having that kind
of information in a distributed way, so whenever a project is checked
out or updated, that kind of information, as well as the
subdirectories themselves, get checked out or updated automagically.

Yet another possibility is to have the subsequent propagates that done
automagically instead of manually, as is done today.  I wonder,
though, if that's such a smart idea...  It *could* be done through
some of the hooks, of course...

Cheers,
Richard

-- 
Richard Levitte                         address@hidden
                                        http://richard.levitte.org/

"When I became a man I put away childish things, including
 the fear of childishness and the desire to be very grown up."
                                                -- C.S. Lewis




reply via email to

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