-
Notifications
You must be signed in to change notification settings - Fork 571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
underscore $VERSIONs currently exist in dual-life modules; should not be allowed #16065
Comments
From @karenetheridgefrom irc: 17:29 <%ether> augh https://rt.cpan.org/Ticket/Display.html?id=122314 |
From @jkeenanOn Mon, 03 Jul 2017 23:50:33 GMT, perl@froods.org wrote:
As to this part of the message ...
Archive-Tar is maintained upstream on CPAN. Hence, any bug report should be filed via email to: bug-archive-tar@rt.cpan.org Thank you very much. -- |
The RT System itself - Status changed from 'new' to 'open' |
From @jkeenanOn Mon, 03 Jul 2017 23:50:33 GMT, perl@froods.org wrote:
Could someone provide a grep for the relevant files? Or, better still, a patch for the requested change? Thank you very much. -- |
From @petdance
Why are we shipping underscore versions of the dual-life modules? If users take underscore versions to mean "developer versions of modules, not released modules", then it seems it's not appropriate to include them in a Perl release. |
From @tonycozOn Mon, 03 Jul 2017 17:36:40 -0700, jkeenan wrote:
The underscore version number for Archive::Tar in maint was introduced for a security fix specific to maint[1]. It's not an upstream issue. On Mon, 03 Jul 2017 21:32:51 -0700, petdance wrote:
This was for updates in maint releases, we don't pull in updates from CPAN for maint. Tony [1] by me, this was the . in @INC issue |
From @GrinnzOn Mon, Jul 3, 2017 at 7:50 PM, Karen Etheridge <perlbug-followup@perl.org>
I have opened jib/archive-extract#7 for this |
From @karenetheridgeOn Mon, 03 Jul 2017 17:41:50 -0700, jkeenan wrote:
The porting test should do something like this (pseudocode): foreach $module (all modules defined in lib, dist, ext, cpan directories) { Affected modules should follow the $VERSION declaration with (** on a separate line **): $VERSION =~ tr/_//; These are the modules/distributions affected (in some directories there are *many* files affected) v5.22.4-RC1: v5.24.2-RC1: blead: |
From @GrinnzOn Fri, Jul 7, 2017 at 5:14 PM, Karen Etheridge via RT <
This should be; $VERSION =~ tr/_//d; |
From @iabynOn Mon, Jul 03, 2017 at 04:50:36PM -0700, Karen Etheridge wrote:
Why is having $VERSION containing an underscore a bad thing? -- |
From @karenetheridgeOn Mon, 10 Jul 2017 01:14:55 -0700, davem wrote:
It's not numeric, so code performing a comparison will generate a warning, e.g.: if (Foo::Bar->VERSION < '6.0') { # VERSION is '6.01_00' Argument "6.01_01" isn't numeric in numeric lt (<) at ... The reason for the eval or tr/// on a separate line is so static version analyzers |
I have taken this ticket to review the outstanding offender(s), file tickets and pull requests for the affected modules, and it would probably also be a good idea to write a porting test prohibiting the merging of underscore-versioned dual-life modules into blead. |
Migrated from rt.perl.org#131697 (status was 'open')
Searchable as RT131697$
The text was updated successfully, but these errors were encountered: