[Bioperl-l] cpan indexing

Chris Fields cjfields at illinois.edu
Thu May 19 02:55:05 UTC 2011


New BioPerl uploaded, version 1.6.901.  The PAUSE indexer has all modules with a 1.006901 version, even if $VERSION isn't directly set.  Appears that META.json/yml are parsed for the version and not each module (it's what the dist_version option is supposed to be used for); just uncommented some Bio::Root::Build code that was apparently used for this reason and it seems to work now.  

chris

On May 18, 2011, at 8:04 PM, Chris Fields wrote:

> We can do that (release a new version).  This likely has to do with the simplification of Bio::Root::Build that went in with v 1.6.9; I can check the code to see if there was some munging that simplified this.
> 
> chris
> 
> On May 18, 2011, at 6:58 PM, Robert Buels wrote:
> 
>> Forgot to include the related reading about $VERSION:
>> 
>> http://www.cpan.org/modules/04pause.html#conventions
>> 
>> Rob
>> 
>> On 05/18/2011 04:57 PM, Robert Buels wrote:
>>> So,
>>> 
>>> rob at nightshade ~$ cpanm Bio::PrimarySeq
>>> --> Working on Bio::PrimarySeq
>>> Fetching
>>> http://search.cpan.org/CPAN/authors/id/C/CJ/CJFIELDS/BioPerl-1.6.1.tar.gz ...
>>> 
>>> 
>>> What? 1.6.1? That's not right.
>>> 
>>> Looking in
>>> http://search.cpan.org/CPAN/modules/02packages.details.txt.gz, we see
>>> things like:
>>> 
>>> Bio::Align::AlignI 1.006001 BioPerl-1.6.1.tar.gz
>>> Bio::Align::DNAStatistics 1.006001 BioPerl-1.6.1.tar.gz
>>> Bio::Align::Graphics 0 BioPerl-1.6.900.tar.gz
>>> Bio::Align::PairwiseStatistics 1.006001 BioPerl-1.6.1.tar.gz
>>> Bio::Align::ProteinStatistics 1.006001 BioPerl-1.6.1.tar.gz
>>> Bio::Align::StatisticsI 1.006001 BioPerl-1.6.1.tar.gz
>>> 
>>> It looks like 1.6.1 was uploaded with $VERSION of every module, while
>>> 1.6.9 was not (thus the 0 version numbers). Thus, for all but the
>>> omodules that were added in 1.6.9, 1.6.1 is being treated by the CPAN
>>> indexer as the most recent distribution.
>>> 
>>> This probably calls for another release, 1.6.910 or something, with
>>> $VERSION in each file. :-(
>>> 
>>> Rob
>> 
>> _______________________________________________
>> Bioperl-l mailing list
>> Bioperl-l at lists.open-bio.org
>> http://lists.open-bio.org/mailman/listinfo/bioperl-l
> 
> 
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioperl-l





More information about the Bioperl-l mailing list