Updating a module that's included in another distro
I've just uploaded a new version of Geo::Gpx. My permissions for Geo::Gpx are listed as 'first-come'. The previous version of Geo::Gpx was included in Geo::Cache. My new version provides legacy support for the functionality in that version but implements complete support for generating and parsing GPX whereas the original version only provided functionality for generating a specific case of a GPX file containing a number of waypoints. Anyway, the PAUSE indexer has failed because: status: Not indexed because Geo-Cache-0.06/lib/Geo/Gpx.pm in R/RB/RBOW/Geo-Cache-0.06.tar.gz has a higher version number (0.1) I spoke to Rich Bowen (the original author) and agreed that I'd take over the module and release a new version - but obviously I can't because PAUSE thinks Geo::Gpx is part of Geo::Cache. Does anyone know what I should do? I could ask Rich to make a release of Geo::Cache that had Geo::Gpx as a dependency rather than bundling it - does anyone know if that'd fix it? -- Andy Armstrong, hexten.net
Re: Updating a module that's included in another distro
On Saturday 25 November 2006 16:00, Andy Armstrong wrote: Anyway, the PAUSE indexer has failed because: status: Not indexed because Geo-Cache-0.06/lib/Geo/Gpx.pm in R/RB/RBOW/Geo-Cache-0.06.tar.gz has a higher version number (0.1) I spoke to Rich Bowen (the original author) and agreed that I'd take over the module and release a new version - but obviously I can't because PAUSE thinks Geo::Gpx is part of Geo::Cache. Does anyone know what I should do? I could ask Rich to make a release of Geo::Cache that had Geo::Gpx as a dependency rather than bundling it - does anyone know if that'd fix it? That would probably fix it. You should also bump the version number of your module to 0.11, to placate the PAUSE indexer. If Geo::Cache needs an older version of Geo::Gpx to be bundled with it, make sure the $VERSION in (the bundled) Geo::Gpx is lower than the real CPAN version. That should prevent future version problems. Hope that helps. Regards, Jonathan Rockway -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)-config(name = do { $,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //, ;$;]-[$_].q; ;for 1..4;$,=~s;^.;;;$,});$;-setup;
Re: Updating a module that's included in another distro
On 25 Nov 2006, at 23:19, Jonathan Rockway wrote: On Saturday 25 November 2006 16:00, Andy Armstrong wrote: Anyway, the PAUSE indexer has failed because: status: Not indexed because Geo-Cache-0.06/lib/Geo/Gpx.pm in R/RB/RBOW/Geo-Cache-0.06.tar.gz has a higher version number (0.1) I spoke to Rich Bowen (the original author) and agreed that I'd take over the module and release a new version - but obviously I can't because PAUSE thinks Geo::Gpx is part of Geo::Cache. Does anyone know what I should do? I could ask Rich to make a release of Geo::Cache that had Geo::Gpx as a dependency rather than bundling it - does anyone know if that'd fix it? That would probably fix it. You should also bump the version number of your module to 0.11, to placate the PAUSE indexer. I probably didn't make myself clear; that's exactly what I've done. It seems to be confused because it's saying that Geo::Cache has a higher version - which it doesn't - it's at 0.06. Presumably it's the fact that Geo::Gpx is currently distributed alongside Geo::Cache and I'm trying to set it free on it's own that's causing the problem :) If Geo::Cache needs an older version of Geo::Gpx to be bundled with it, make sure the $VERSION in (the bundled) Geo::Gpx is lower than the real CPAN version. That should prevent future version problems. I don't think that's an issue - I've been careful to make my implementation backwards compatible. -- Andy Armstrong, hexten.net
Re: Updating a module that's included in another distro
* Andy Armstrong [EMAIL PROTECTED] [2006-11-26 00:30]: On 25 Nov 2006, at 23:19, Jonathan Rockway wrote: On Saturday 25 November 2006 16:00, Andy Armstrong wrote: Anyway, the PAUSE indexer has failed because: status: Not indexed because Geo-Cache-0.06/lib/Geo/Gpx.pm in R/RB/RBOW/Geo-Cache-0.06.tar.gz has a higher version number (0.1) I spoke to Rich Bowen (the original author) and agreed that I'd take over the module and release a new version - but obviously I can't because PAUSE thinks Geo::Gpx is part of Geo::Cache. Does anyone know what I should do? I could ask Rich to make a release of Geo::Cache that had Geo::Gpx as a dependency rather than bundling it - does anyone know if that'd fix it? That would probably fix it. You should also bump the version number of your module to 0.11, to placate the PAUSE indexer. I probably didn't make myself clear; that's exactly what I've done. It seems to be confused because it's saying that Geo::Cache has a higher version - which it doesn't - it's at 0.06. $ GET http://search.cpan.org/src/RBOW/Geo-Cache-0.06/lib/Geo/Gpx.pm | grep \$VERSION 0.10 Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/
Re: Updating a module that's included in another distro
On 11/25/06, Andy Armstrong [EMAIL PROTECTED] wrote: On 25 Nov 2006, at 23:19, Jonathan Rockway wrote: I probably didn't make myself clear; that's exactly what I've done. It seems to be confused because it's saying that Geo::Cache has a higher version - which it doesn't - it's at 0.06. Presumably it's the fact that Geo::Gpx is currently distributed alongside Geo::Cache and I'm trying to set it free on it's own that's causing the problem :) You can't do that. Once a package is versioned, it remains versioned forever. You'll need to have incrementing version numbers for Geo::Gpx or somehow get PAUSE to forget that the previous versioned Geo::Gpx exists. I'm not aware of any way to do that. Josh