[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Permanent tags / Virtual subprojects

From: John Doisneau <jdoisneau_at_gmail.com>
Date: 2005-05-11 11:59:57 CEST

Hello,

Here's the problem I am trying to solve with SubVersion.

In our company's main project directory we have a many subdirectories,
some of which are totally independent of each other.

I would like to have a way of "tagging permanently" a subset of all
those directories as being a defined product, in order to be able to
checkout only the set of directories related to this defined product
(this is in fact like defining a "virtual subproject" inside the main
project directory). Some would then ask why we did not organize right
away all the subdirectories in a \product directory. The answer is:
some subdirectories are part of several products.

For example, product1 needs sub1, sub3 and sub6 and product2 needs
sub1, sub2, sub3 and sub4: sub1 and sub3 are shared directories. So in
this particular example, how could I do a "checkout -rHEAD product1"
or a "checkout -r23 product2"?

I thought about a tags, but the problem with tags is that they are a
snapshot at a given time of the project, are not remembered over time,
and are not suited for selection of directory subsets (they work
always on the whole project directory).

I then thougth about implementing it through user rights (but I did
not try this yet): by setting up an httpd / mod_dav_svn /
mod_authz_svn server and then creating a user "product1user" having rw
rights on sub1 sub3 and sub6 and a user "product2user" having rw
rights on sub1, sub2, sub3 and sub4: if I then try to checkout the
main project directory as the user "product1user", I would get only
the allowed directories in my local work copy. What do you think about
this? Is it the way to go? Is there another simpler way to have the
same behavior?

Thanks much for your input.

John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 11 12:12:21 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.