Skip Menu |

This queue is for tickets about the FindBin-libs CPAN distribution.

Report information
The Basics
Id: 73348
Status: resolved
Worked: 30 min
Priority: 0/
Queue: FindBin-libs

People
Owner: Nobody in particular
Requestors: chisel [...] chizography.net
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 1.59
Fixed in: (no value)



Subject: FEATURE: one true version number
Here's one way to make sure that all your files have and use the same version number: Create *::Version module and get Makefile.PL and distro modules all get their version from there. Personally I prefer dzil for managing things like this now but I realise it's not everyone's cup of tea. [example commit to follow]
On Sun Dec 18 17:10:46 2011, CHISEL wrote: Show quoted text
> [example commit to follow]
https://github.com/chiselwright/findbin-libs/commit/d815ab547fd059f5ebc294c78bc774c695d8f20f
On Sun Dec 18 12:10:46 2011, CHISEL wrote: Show quoted text
> Here's one way to make sure that all your files have and use the same > version number: > > Create *::Version module and get Makefile.PL and distro modules all
get Show quoted text
> their version from there. > > Personally I prefer dzil for managing things like this now but I
realise Show quoted text
> it's not everyone's cup of tea. > > [example commit to follow]
Problem there is that there are multiple files which have separate versions. The distro version may be incremented due to changes in the doc's that have no affect on another module. More likely, I'll end up with the FB::l 5.8 code frozen forever with the current version updated regularly. If MakeMaker supported v-strings I'd be a lot simpler since I could use the _curr file for the version, but that doesn't look likely to happen any time soon.
At this point the distribution has one version number (defined in the Build.PL). The two modules have the same number (all 1.62). From this point forward the old-code module won't change, the current version will have to be updated. Probably the real answer is to release FindBin::libs_5_8 for the people stuck on the old versions and have a single version number going forward. For now this should work: anyone with v5.8 will be checking the same version forever.