Item15010: configure fails to accept newer rcs versions

pencil
Priority: Urgent
Current State: Waiting for Release
Released In: 2.1.7
Target Release: patch
Applies To: Extension
Component: RCSStoreContrib
Branches: Release02x01 master
Reported By: SergioNogales
Waiting For:
Last Change By: MichaelDaum
Since I updated rcs to 5.10 in my OS i keep on getting these messages in configure:

rcs 5.10.0 detected. rcs is too old, upgrade to version 5.7 or higher. Foswiki will probably not work with this RCS setup. Either correct the setup, or switch to RcsLite. To enable RCSLite you need to change the setting of {Store}{Implementation} to 'Foswiki::Store::RcsLite'.

-- SergioNogales - 19 Jan 2021

Confirmed: the way versions are compared is broken. It compares 5.10 against 5.7 numerically and then 5.10 is lower than 5.7. Please try attached hotfix. There might be more code that does it wrong ... checking.

-- MichaelDaum - 24 Jan 2021

thankx for the hotfix, it works. Make me know if you need any additional tests/info

-- SergioNogales - 25 Jan 2021

I think that nailed it. Just some unit tests that still need fixing ...

-- MichaelDaum - 26 Jan 2021
 

ItemTemplate edit

Summary configure fails to accept newer rcs versions
ReportedBy SergioNogales
Codebase 2.1.6
SVN Range
AppliesTo Extension
Component RCSStoreContrib
Priority Urgent
CurrentState Waiting for Release
WaitingFor
Checkins distro:bd4f1bb22d29 distro:6a18a5b7fb69
TargetRelease patch
ReleasedIn 2.1.7
CheckinsOnBranches Release02x01 master
trunkCheckins
masterCheckins distro:6a18a5b7fb69
ItemBranchCheckins
Release02x01Checkins distro:bd4f1bb22d29
Release02x00Checkins
Release01x01Checkins
Topic attachments
I Attachment Action Size Date Who Comment
RCSStoreContrib.patchpatch RCSStoreContrib.patch manage 1 K 24 Jan 2021 - 10:06 MichaelDaum  
Topic revision: r5 - 26 Jan 2021, MichaelDaum - This page was cached on 01 Mar 2021 - 19:05.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy