Skip Menu |

This queue is for tickets about the Rcs-Parser CPAN distribution.

Report information
The Basics
Id: 92644
Status: resolved
Estimated: 5 min
Worked: 5 min
Priority: 0/
Queue: Rcs-Parser

People
Owner: bennie [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 0.03
  • 0.01
  • 0.02
Fixed in: 0.06



Subject: all_versions(): sorting does not work for branches
In the case of RCS branches (i.e. more than one dot in the version numbers) sorting in all_versions() does not work. Output may be: "3.2" "3.1" "2.5.1.18" "2.5.1.19" "2.5.1.11" "2.5" "2.5.1.1" "2.5.1.6" "2.5.1.16" "2.5.1.14" "2.5.1.12" ... A simple fix here is to use nsort() from Sort::Naturally here. Regards, Slaven
Thank you again. great bug descriptions. The documentation for Sort::Naturally recommends using Sort::Versions for this. So I will go with that.