Re: Updating a module that's included in another distro

2006-11-26 Thread Andy Armstrong

On 26 Nov 2006, at 02:08, A. Pagaltzis 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.


$ GET http://search.cpan.org/src/RBOW/Geo-Cache-0.06/lib/Geo/ 
Gpx.pm | grep \$VERSION

0.10


Indeed - and I've uploaded version 0.11.0 of Geo::Gpx which should be  
higher than both. I've just tried again with 0.12 to see what happens.


--
Andy Armstrong, hexten.net



Re: Updating a module that's included in another distro

2006-11-26 Thread Andy Armstrong

On 26 Nov 2006, at 02:57, Joshua ben Jore wrote:

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.


I think that Geo::Cache is pretty much unmaintained so maybe the  
solution is to ask Rich Bowen to let me take that over too - unless  
anyone can think of anything else.


--
Andy Armstrong, hexten.net



Re: Updating a module that's included in another distro

2006-11-26 Thread Andy Armstrong

On 26 Nov 2006, at 11:04, Andy Armstrong wrote:
I think that Geo::Cache is pretty much unmaintained so maybe the  
solution is to ask Rich Bowen to let me take that over too - unless  
anyone can think of anything else.


Solved I think - PAUSE didn't like my use of a qv// version literal.  
Thanks everyone.


--
Andy Armstrong, hexten.net



Re: Updating a module that's included in another distro

2006-11-25 Thread Jonathan Rockway
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

2006-11-25 Thread Andy Armstrong

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

2006-11-25 Thread A. Pagaltzis
* 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

2006-11-25 Thread Joshua ben Jore

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