[pmwiki-users] version number (was: 2.0.6 release)

John Rankin john.rankin at affinity.co.nz
Tue Sep 20 23:19:06 CDT 2005


On Wednesday, 21 September 2005 3:43 PM, Patrick R. Michaud <pmichaud at pobox.com> wrote:
>On Wed, Sep 21, 2005 at 02:27:08PM +1200, John Rankin wrote:
>> On Saturday, 17 September 2005 6:41 AM, Patrick R. Michaud <pmichaud at pobox.com> wrote:
>> >And lastly, for script and recipe authors, there is now a 
>> >$VersionNum numeric value that makes it easier to determine if 
>> >the currently running version of PmWiki is older or newer than a 
>> >known release. $VersionNum is composed from the release number by 
>> >padding the major and minor release numbers with zeroes to three 
>> >digits, thus $VersionNum for this release (2.0.6) is 2000006, while
>> >a release like "2.1.24" will have $VersionNum set to 2001024.
>> >
>> Is there a convention for dealing with versions of the form
>> 
>>     2.0.beta3
>
>My intent at this stage (although it's not final until we actually
>arrive at that point) is that "beta" will have minor release values
>starting at 900 or something like that.  Thus, 2.0.63 would be 
>2000063, 2.1.beta3 would be 2000903, and 2.1.0 would be
>2001000.
>
So 2.0.beta3 becomes 1009903 ?

-- 
JR
--
John Rankin






More information about the pmwiki-users mailing list