• 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.

WIKIVERSION was never updated after the decision to go from released named by date to version number releases.

This is not very customer friendly. If you run 4.0.4 it should say 4.0.4.

It is also nice to see date and SVN build number so I would not remove that.

I will action this.

in TWiki.pm I will modify the code so

    $VERSION = '$Date: 2007/01/23 14:04:52 $ $Rev: 10807 $ ';
    $RELEASE = 'TWiki-4.1.0';
    $VERSION =~ s/^.*?\((.*)\).*: (\d+) .*?$/$RELEASE, $1, build $2/;

It is the 3rd line that changes

So that the WIKIVERSION becomes.

TWiki-4.1.0, Tue, 23 Jul 2006, build 10807, Plugin API version 1.1

For hotfix releases I will then append a -2 for hotfix two so when people report bugs we can ask them for the exact release number. And with the hotfix modified versions the SVN number does not match anything because we do not tag the hotfix packages on SVN.

-- KJL

why the - ? why not TWiki 4.1.0, Tue, 23 Jul 2006, build 10807, Plugin API version 1.1 ?

WN

No other reason than - that is how it was before I changed anything.

I just added the RELEASE to be part of the VERSION and updated it so it fits next expected release number.

I would not mind letting go of the dash. I do not know if the value is used anywhere else where it may be important to be one string without spaces. You'd better check it before you change it.

KJL

ItemTemplate
Summary WIKIVERSION should also show the version
ReportedBy TWiki:Main.KennethLavrsen
Codebase 4.0.0, 4.0.2, 4.0.4, ~twiki4, 4.0.1, 4.0.3
SVN Range Sat, 15 Jul 2006 build 11019
AppliesTo Engine
Component

Priority Normal
CurrentState Closed
WaitingFor

Checkins 11129 11130
TargetRelease minor
Edit | Attach | Watch | Print version | History: r10 < r9 < r8 < r7 < r6 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r10 - 2006-12-30 - KennethLavrsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback