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

RE: Advice on handing common code

From: Brenden Walker <BKWalker_at_drbsystems.com>
Date: Tue, 8 Jan 2013 19:08:49 +0000

If you have multiple projects that may edit the shared code I would recommend treating it as vendor code: http://www.visualsvn.com/support/svnbook/advanced/vendorbr/

We do that with multiple in-house projects run by multiple departments and it allows us to share changes via merging.

From: John Maher [mailto:JohnM_at_rotair.com]
Sent: Tuesday, January 08, 2013 12:37 PM
To: C M; users_at_subversion.apache.org
Subject: RE: Advice on handing common code

I use the externals property for my common code.
http://www.visualsvn.com/support/svnbook/advanced/externals/

________________________________
From: C M [mailto:cmanalyst66_at_gmail.com]
Sent: Tuesday, January 08, 2013 11:43 AM
To: users_at_subversion.apache.org<mailto:users_at_subversion.apache.org>
Subject: Advice on handing common code

All,

I am setting up a new repository and have a question on how to handle "common" code. Common refers to code which is shared across the multiple systems that we deploy.

In addition to the common code, we also have system-specfic software (custom code).

Given the typical SVN layout, what's a recommended way to manage this, especially when creating release tags?

In this model, we include the

/trunk/common_version1/application_1
../../application_2
./../application_3

/trunk/system1/application_1
../../application_2
../../application_3

/tags/system1/Rel_1 [where this may include the system1 apps plus common_version1/application_1 and application 3]

../system2/application_1
../system2/application_2
../system2/application_3

/tags/system2/Rel_1 [where this may include system2 apps plus common_version1/application_1, application_2 and application3]
Received on 2013-01-08 20:09:26 CET

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.