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

Re: Dir for latest stable release?

From: Ryan Schmidt <subversion-2006q2_at_ryandesign.com>
Date: 2006-05-25 13:34:34 CEST

On May 25, 2006, at 02:52, Alejandro Forero Cuervo wrote:

> If I make a directory for a project with the standard layout, —trunk,
> branches and tags—, where can I place a directory that will always
> contain the latest release? Just like trunk will always contain the
> latest development code, I was looking for some standard directory
> that will always contain the latest stable release.

[snip]

On some FTP servers I've seen the convention of putting a file in the
directory called "LATEST-IS-1.2.3" where "1.2.3" is the latest
version number. In some projects this is an empty file. In others
it's a copy of the actual latest release in for example .tar.gz
format. Here's one such project:

http://ftp.gnome.org/pub/GNOME/sources/pango/1.13/

I could think of a number of ways of adapting this to Subversion.
Whenever you make a new tag for the project, also do one of the
following:

- copy the new tag to a tag called "latest", "svn rm"ing the previous
one first.
- create an empty file in the tags directory called "LATEST-IS-1.2.3"
just as above.
- set a property "latest" of the tags directory to the latest tag
name; anyone can read this with a minimum of fuss using "svn propget
latest <url of tags directory>"

I think I like the last option best.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu May 25 13:35:55 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.