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

Re: The ability to schedule changes

From: Daniel Berlin <dberlin_at_dberlin.org>
Date: 2002-09-06 15:15:26 CEST

On Friday, September 6, 2002, at 07:11 AM, Morten Ludvigsen wrote:

> Hi,
>
> I am making a web site content management system where I want to use
> Subversion as the storage.
>
> The requirements are:
>
> 1. Any document should be edited in a "developement" environment.
> 2. A document revision can be moved from "developement" to a "test"
> environment.
> 3. A document revision can be moved from "test" to a "production"
> environment.
> 4. Which revision of a document that should be served from the
> "production"
> environment should controlled by the current date
> (ie. the ability to schedule changes).
>
> It is a simple matter to implement the first three requirements by
> using branches in Subversion.
>
> Requirement four on the other hand is a bit more challenging. If
> anyone here has a suggestion I
> would be very gratefull.
>

You could probably do it by setting custom properties, and using them
to determine which document to serve (IE set a property called
"livedate", and walk the revisions backwards from the newest until you
find one with a livedate that is earlier than the current date)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Sep 6 15:16:18 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.