Normalize perl module versions - #48
Draft
perlpunk wants to merge 61 commits into
Draft
Conversation
perlpunk
force-pushed
the
normalize-versions
branch
from
March 7, 2024 18:29
55595eb to
7f79321
Compare
perlpunk
force-pushed
the
normalize-versions
branch
from
May 14, 2024 17:50
0df65e8 to
998a2b8
Compare
perlpunk
force-pushed
the
normalize-versions
branch
2 times, most recently
from
July 14, 2024 21:44
457603a to
2b38bca
Compare
perlpunk
force-pushed
the
normalize-versions
branch
from
July 21, 2024 19:07
1a17186 to
1ca8ab6
Compare
perlpunk
force-pushed
the
normalize-versions
branch
4 times, most recently
from
January 24, 2025 18:57
2228382 to
16a9af1
Compare
perlpunk
force-pushed
the
normalize-versions
branch
from
April 12, 2025 14:44
48c07b9 to
1aa3782
Compare
perlpunk
force-pushed
the
normalize-versions
branch
from
June 3, 2025 12:04
5e1dd4a to
d26aaa3
Compare
Somehow it didn't get reported for 5.38
Using /bin/true resulted in sporadic Broken Pipe errors Issue: https://progress.opensuse.org/issues/155458
devel:languages:perl only, modules with 4 or more digits, without reverse dependencies perl-App-XML-DocBook-Builder perl-App-ZofCMS perl-CMS-MediaWiki perl-Catalyst-DispatchType-Regex perl-Class-Light perl-Class-Null perl-Config-JSON perl-Convert-UU perl-DBIx-Class-Candy perl-DBIx-Class-EncodedColumn perl-Daemon-Control perl-Daemon-Daemonize perl-Dancer-Plugin-Email perl-Data-Diver perl-Data-Inherited perl-Devel-ptkdb perl-Dist-Zilla-App-Command-cover perl-Dist-Zilla-Plugin-AutoVersion-Relative perl-Dist-Zilla-Plugin-Bootstrap-lib perl-Dist-Zilla-Plugin-CopyFilesFromBuild perl-Dist-Zilla-Plugin-FatPacker perl-Dist-Zilla-Plugin-HasVersionTests perl-Dist-Zilla-Plugin-InstallGuide perl-Dist-Zilla-Plugin-MetaResourcesFromGit perl-Dist-Zilla-Plugin-ReadmeMarkdownFromPod perl-Dist-Zilla-Plugin-ReportVersions perl-Dist-Zilla-Plugin-Signature perl-Dist-Zilla-Plugin-TaskWeaver perl-Dist-Zilla-Plugin-Test-MinimumVersion perl-Dist-Zilla-Plugin-Test-PodSpelling perl-Dist-Zilla-Plugin-Test-Portability perl-Dist-Zilla-Plugin-Test-Synopsis perl-Dist-Zilla-Role-Tempdir perl-Dist-Zilla-Util-ConfigDumper perl-Dist-Zilla-Util-EmulatePhase perl-Dist-Zilla-Util-Test-KENTNL perl-Encode-Base32-Crockford perl-Exception-Warning perl-File-ShareDir-PathClass perl-HTML-Template-Pro perl-HTTP-XSCookies perl-ICal-Format-Natural perl-IPC-Exe perl-Linux-Systemd perl-Log-Any-Adapter-TAP perl-Log-Dispatch-Configurator-Any perl-Mail-Milter-Authentication perl-Math-BigInt-FastCalc perl-Math-BigInt-Pari perl-Math-BigRat perl-MediaWiki-Bot-Plugin-Admin perl-MooseX-Storage-Format-JSONpm perl-Net-MQTT perl-Number-Phone-JP perl-Ouch perl-PERLANCAR-Module-List perl-POE-Component-Generic perl-POE-Component-IRC-Plugin-BaseWrap perl-Perl6-Export-Attrs perl-Perl6-Slurp perl-Plack-Middleware-LogWarn perl-Pod-Elemental-Transformer-List perl-Pod-Weaver-PluginBundle-MARCEL perl-Regexp-Debugger perl-String-Copyright perl-Sys-Info-Base perl-Tatsumaki perl-Term-EditorEdit perl-Term-ReadLine-Perl perl-Test-Subroutines perl-Test-Weaken perl-Test-mysqld perl-Test2-Harness perl-Text-MultiMarkdown perl-Text-NeatTemplate perl-Transmission-Client perl-Version-Requirements perl-WWW-Curl-Simple perl-XML-RSS-LibXML perl-constant-lexical perl-PlRPC
It's more forgiving
For core modules, the normalization is problematic, as different repos have different perl versios, e.g. Leap still has v5.26 while Tumbleweed has v5.40, but sometimes we want to use newer perl modules in Leap, so the spec has to work for multiple perl versions. By specifying --perl-version 5.040000 you can say that all modules that are in perl core v5.40 should not be normalized. That way we can go on with normalizing all other modules and take care of the perl package itself later.
No other d:l:p modules depend on it, so likely not causing much trouble
This makes it less problematic for the case when the Provides still has
0.034
and Requires would have
0.34.0
This would be unresolvable because 0.034 (or 0.34) is smaller than 0.34.0.
perlpunk
force-pushed
the
normalize-versions
branch
from
June 3, 2025 12:07
d26aaa3 to
5a651ad
Compare
perlpunk
force-pushed
the
normalize-versions
branch
from
June 3, 2025 16:21
c80451f to
b841483
Compare
Should be used if a new version is smaller then the old
remove some modules not in d:l:p anymore
The file itself should also be generated, if it's not yet there. Will work on that.
Ideally we would do what the CPAN indexer does ( needs research), but overriding in cpanspec.yml for the rare exceptions is good enough for now.
perlpunk
force-pushed
the
normalize-versions
branch
from
April 9, 2026 11:37
0582862 to
9250947
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See #47
Still a few problems to fix, stay tuned...