You are here: Foswiki>Tasks Web>Item12583 (10 Jan 2015, GeorgeClark)Edit Attach

Item12583: revert to simple floats in $VERSION

pencil
Priority: Urgent
Current State: Confirmed
Released In: 1.2.0
Target Release: minor
Applies To: Extension
Component:
Branches: Release01x01 trunk master
Reported By: MichaelDaum
Waiting For:
Last Change By: GeorgeClark
This breaks updating plugins on RHEL and SLES which ship an incompatible version.pm

use version; our $VERSION = version->declare("v1.2.0");

Instead, I'll use:

our $VERSION = '1.20';
our $RELEASE = '1.20';

... simple and compatible.

See also Item12225 and Development.ConvertToModernPerlVersionStrings

I'll take care of plugins that I maintain at first. These are:

  1. CaptchaPlugin DONE
  2. DBCacheContrib DONE
  3. DBCachePlugin DONE
  4. EditChapterPlugin DONE
  5. FlexFormPlugin DONE
  6. ImagePlugin DONE
  7. JSTreeContrib DONE
  8. JQTwistyContrib DONE
  9. JQueryPlugin DONE
  10. JsonRpcContrib DONE
  11. MetaCommentPlugin DONE
  12. MoreFormfieldsPlugin DONE
  13. NatEditPlugin
  14. PiwikPlugin DONE
  15. SetVariablePlugin DONE
  16. SolrPlugin
  17. SqlPlugin DONE
  18. TrashPlugin DONE
  19. UpdatesPlugin DONE
  20. VirtualHostingContrib

Other plugins affected and in danger of breaking during an update are:

  1. AutoViewTemplatePlugin DONE
  2. BuildContrib
  3. CommentPlugin DONE
  4. CompareRevisionsAddonPlugin DONE
  5. EditRowPlugin DONE
  6. EmptyContrib DONE
  7. EmptyPlugin DONE
  8. FamFamFamContrib DONE
  9. HistoryPlugin DONE
  10. HomePagePlugin DONE
  11. InterwikiPlugin
  12. JEditableContrib
  13. JQueryPlugin
  14. JSCalendarContrib DONE
  15. MailerContrib
  16. PatternSkin
  17. PreferencesPlugin
  18. PublishPlugin
  19. RenderListPlugin
  20. SpreadSheetPlugin
  21. SubscribePlugin
  22. TablePlugin DONE
  23. TinyMCEPlugin DONE
  24. TopicUserMappingContrib
  25. TWikiCompatibilityPlugin
  26. TwistyPlugin DONE
  27. UnitTestContrib
  28. WysiwygPlugin

Just to name those in common use (add more if you find a use version ...->declare( in them.)

-- MichaelDaum - 12 Sep 2013

The solution is to install the latest CPAN:version. Any perl >= 5.10.1 will have the correct version. It's quite simple to install the latest version, and it ensures we'll be compatible with new perl going forward.

-- GeorgeClark - 23 Oct 2013

Sure this is a solution ... after having upgraded and seeing their Foswiki going down in flames. Not good.

This happens on current RHEL and SLES. Distrowatch says the situation is not going to get better any time soon. I hope they are wrong.

What do people next? Of course they revert the upgrade. Some fearless soles might google for the error, find 100s other hate messages about failing plugin updates ... and one search hit is about their very own upgrade guide that they didn't read in the first place (they never do).

So we HAVE to paddle backwards OR ship a working version.pm with upcoming Foswikies ... which of course won't mitigate the situation for people running Foswiki < 1.1.9 yet still in need of plugin upgrades.

-- MichaelDaum - 23 Oct 2013
 

ItemTemplate edit

Summary revert to simple floats in $VERSION
ReportedBy MichaelDaum
Codebase trunk
SVN Range
AppliesTo Extension
Component
Priority Urgent
CurrentState Confirmed
WaitingFor
Checkins distro:3d72ab8c4009 distro:e1b0ed6651b4 distro:67cc498c74cc TrashPlugin:f8230e01b6ef JsonRpcContrib:875e50fccc7e CaptchaPlugin:c9c96ce00c9a DBCacheContrib:9d94a71ffcb2 DBCachePlugin:6e5edd9a5f78 EditChapterPlugin:61f8185321e1 ImagePlugin:b831c4d65516 JQTwistyContrib:cd515f3fac3e JSTreeContrib:1f7929b43202 JSTreeContrib:356a85c629a3 MetaCommentPlugin:cdd3581dcb09 MetaDataPlugin:aa97671cb01e MetaDataPlugin:a3c88b0d08fd SqlPlugin:d1ca869ea015 distro:65258b7f229d distro:0c542ff200be distro:52d2b749df61 distro:076de5551272 distro:ed9d35158a3a distro:e3ae42e9ab01 EmptyContrib:cdb2bf88f735 distro:cfa46dc7acb8 distro:a934b92380e1 distro:3b2273e8db43
TargetRelease minor
ReleasedIn 1.2.0
CheckinsOnBranches Release01x01 trunk master
trunkCheckins distro:3d72ab8c4009 distro:67cc498c74cc TrashPlugin:f8230e01b6ef JsonRpcContrib:875e50fccc7e CaptchaPlugin:c9c96ce00c9a DBCacheContrib:9d94a71ffcb2 DBCachePlugin:6e5edd9a5f78 EditChapterPlugin:61f8185321e1 ImagePlugin:b831c4d65516 JQTwistyContrib:cd515f3fac3e JSTreeContrib:1f7929b43202 JSTreeContrib:356a85c629a3 MetaCommentPlugin:cdd3581dcb09 MetaDataPlugin:aa97671cb01e MetaDataPlugin:a3c88b0d08fd SqlPlugin:d1ca869ea015 distro:65258b7f229d distro:0c542ff200be distro:52d2b749df61 distro:ed9d35158a3a
masterCheckins distro:e3ae42e9ab01 EmptyContrib:cdb2bf88f735 distro:cfa46dc7acb8 distro:a934b92380e1 distro:3b2273e8db43
ItemBranchCheckins
Release01x01Checkins distro:e1b0ed6651b4 distro:076de5551272
Topic revision: r39 - 10 Jan 2015, GeorgeClark
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