• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item4480: Better handling of VERSION

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine Subversion Enhancement New   n/a  

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


The TWiki VERSION is currently unreliable, because it reflects the number of the last checkin of TWiki.pm, and not the last checkin of anything. It would be better to have a VERSION.pm that was automatically updated by the subversion post-commit script, so it always reflects the state of the latest checkin to lib, bin, tools etc.

Sven also suggested that all modules should have their own $VERSION = '$Id: Item4480.txt,v 1.1 2007/08/22 13:26:30 CrawfordCurrie Exp $', which is an excellent idea to help with support.

-- TWiki:Main/CrawfordCurrie - 22 Aug 2007

What we really want to do is to get the latest version number into a file that can be read by TWiki.pm (and anything else that wants the version number). That file could easily be checked in, and then updated by the build script. So we might as well modify TWiki.pm, and replace $Rev$ in that file with the latest (global) rev from the repository. But what we really want is a file that is updated on an svn update, so that those of us running in checkout areas can see what rev we are running. That means a checkin. But we can't do a checkin without incrementing the revision number, so we end up with an extra checkin for every checkin - yuck.

Note that to do Sven's idea will require svn propset svn:keywords on every code file.


Summary Better handling of VERSION
ReportedBy TWiki:Main.CrawfordCurrie

SVN Range TWiki-4.2.0, Wed, 22 Aug 2007, build 14581
AppliesTo Engine
Component Subversion
Priority Enhancement
CurrentState New


TargetRelease n/a

Topic revision: r1 - 2007-08-22 - CrawfordCurrie
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback