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

Re: Repositories organization

From: John Peacock <john.peacock_at_havurah-software.org>
Date: 2007-10-01 12:55:42 CEST

Ryan Schmidt wrote:
> I think it wouldn't be difficult to write a small script that gets the
> name of the latest tag of a given project and checks it out. When you
> want to release to production, you just make a new tag. Optionally, if
> you want to use tags for things other than just releasing to production,
> you could introduce a naming scheme where e.g. every production tag
> starts with the string "prod-" and the simple script knows to look for
> this.

Actually, this is exactly what I do in SVN::Notify::Mirror, available from CPAN:

        http://search.cpan.org/search?query=SVN::Notify::Mirror

It is really very easy to configure a post-commit script (using
SVN::Notify::Config, also on CPAN) so that all development happens on trunk,
with a test server kept in sync with all trunk commits. Then when a tag is
created that matches a preconfigured regex, a completely different production
server is updated (switched actually) to the latest tag.

HTH

John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 1 12:55:50 2007

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.