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

Managing dependencies

From: Chris Flerackers <cflerackers_at_androme.be>
Date: 2006-07-10 12:37:04 CEST

Hi,

I've been looking for a way to manage dependencies between libraries,
tools and projects in svn. For example, I have project X that uses library Y

- project X
   - library Y

Library Y is in constant development, but project X only would like to
use stable versions of this dependency. So we make tags for Y.

e.g.

- tags
   - library Y
     - 1.0
     - 1.1
     - 1.2
     - 1.3
- trunk
   - project X
   - library Y

Another complication is that library Y is quite big.

I have tried the following:

1) use svn:externals
I added an svn:externals property on trunk/project X for
tags/library Y/1.2
But when I change the property afterwards to
tags/library Y/1.3
the previous library Y is completely deleted, and 1.3 is completely
downloaded again. If you consider that library Y is e.g. 500 MB, this is
not practical.

2) merging
As explained in the svn book, I could consider library Y a
"thirdpartydrop" for project X. However, then we need to constantly
merge, which is cumbersome and wastes a lot of diskspace.

Is there a way to manage dependencies in svn that has the following
features:
- easy to update to new version of dependency (e.g. like svn:externals)
- only update what has changed between the 2 versions of the
dependencies (e.g. like merging)

-- 
Best regards,
Chris
------------------------------------------------------------
Chris Flerackers               Tel:   (+32) 11 30 13 30
ANDROME NV                     Fax:  (+32) 11 30 13 31
Wetenschapspark 4              mailto:cflerackers@androme.be
B-3590 Diepenbeek, Belgium     http://www.androme.be
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jul 10 13:36:15 2006

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.