amw1 has asked for the wisdom of the Perl Monks concerning the following question:
MyPackage use YourPackage version 1.0.3; use OtherPackage version 2.5.6; YourPackage use OtherPackage version 3.2.1
Essentially, I don't care what version of OtherPackage YourPackage uses, I only care that the version of YourPackage that I'm using is supported.
Our development team has gotten quite large (well over 200 folks), and trying to synchronize API changes across 5 different timezones and hundreds of developers is a pain. Having some way to allow devs to continue to use older versions of a package, while allowing package maintainers to move forward (i.e. break APIs) without having to worry about breaking everyone else would be fantastic. Obviously there would be a lifecycle, we would deprecate older versions of the packages as needed (and uplift the packages using the deprecated version etc).
Edit: Ideally I'd like this to be mostly on the packaging side. I'd like to avoid littering piles of conditionals in code to handle the versioning. i.e. none of ...
if(some_version){ do this; } elsif(some other version) { do this other thing; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Multiple package versions (use only modules cpanfile pinto carton local::lib install_base))
by Anonymous Monk on Jun 11, 2015 at 23:42 UTC | |
by amw1 (Friar) on Jun 12, 2015 at 13:13 UTC | |
by Anonymous Monk on Jun 13, 2015 at 01:22 UTC |