Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: CPAN: Module version versus kit version

by etj (Priest)
on Dec 07, 2024 at 14:53 UTC ( [id://11163080]=note: print w/replies, xml ) Need Help??


in reply to Re: CPAN: Module version versus kit version
in thread CPAN: Module version versus kit version

Wanting to only bump module version on API change sounds like a different (albeit legit) approach from "semver" (semantic versioning). I describe that as incrementing when (from least significant to most significant digit) you fix something, add something, break something. That approach would dictate that a version bump of some sort is recognised somewhat as a good idea even if one only makes an improvement to a module, without API change.

As a sidenote, I haven't felt the urge to use semver for PDL. If the major version incremented on every breaking change, it would probably be roughly on major-version 30 by now (including from before my time as maintainer).

  • Comment on Re^2: CPAN: Module version versus kit version

Replies are listed 'Best First'.
Re^3: CPAN: Module version versus kit version
by NERDVANA (Priest) on Dec 09, 2024 at 18:44 UTC
    Actually I misspoke, I meant behavior change rather than API change. So yes I would bump the version for bug fixes too.

    What I was trying to say is that I was basically shipping multiple modules that *could* have been their own dists. I wanted the versions to tell people that Foo::A 1.01 could be found in Foo-1.01.tar.gz or Foo-1.02.tar.gz or Foo-1.03.tar.gz, and a dependency on Foo::A 1.01 could be satisfied by any of those dist versions.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11163080]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2025-02-09 02:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which URL do you most often use to access this site?












    Results (95 votes). Check out past polls.