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

svn:externals & tagging, how to combine code between teams

From: Charles Chan <cchan_qa_at_yahoo.com>
Date: Fri, 29 Jan 2010 20:12:18 -0800 (PST)

Hi,

In our company, we are working on a product composed of different C/C++ modules. Ideally, each tier and module should be developed by separately by different teams and tested independently. Currently, we have separate each module into it's own branch:\

The modules are:

\hid
  \branches
  \tags
  \trunk
\api
  \branches
  \tags
  \trunk
\ui
  \branches
  \tags
  \trunk

Separately, the product release is build by combining the modules and compiled regularly using a CI system.

\productX
  \branches
    \5.0
      \hid-4.0 (svn:externs \hid\branches\4.0)
      \api-3.0 (svn:externs \api\branches\3.0)
      \ui-5.0 (svn:externs \ui\branches\5.0)
  \tags
  \trunk

The main problem we are having is with the behavior of 'svn tag' in association with externs. The current externs are referencing the HEAD -- because we would like to build the latest version regularly to ensure all modules works together. However, once a build is successful and we proceed to make a release, it would be nice if there was an easy way to automatically tag everything -- including the version used in the extern. As it stands today, we have to create tags for the modules and then update the externs to these tags, then tag the product, and finally swap it back to the trunk after.

Is there a cleaner way to do this? Feel free to also comment on the current structure.

Thanks.
Charles

      __________________________________________________________________
Looking for the perfect gift? Give the gift of Flickr!

http://www.flickr.com/gift/
Received on 2010-01-30 05:25:14 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.