Bug 6489

Summary: perl stats not updated in perl-ORDB-CPAN-Mageia
Product: Mageia Reporter: Jerome Quelin <jquelin>
Component: RPM PackagesAssignee: QA Team <qa-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: davidwhodgins, sysadmin-bugs, tmb
Version: 2Keywords: validated_update
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: perl-ORDB-CPAN-Mageia CVE:
Status comment:

Description Jerome Quelin 2012-06-17 13:04:43 CEST
perl-ORDB-CPAN-Mageia provides some stats about modules shipped by mageia. however, there was an url change for the database, and stats are no longer updated.

i've fixed ordb::cpan::mageia to point to the right url, updated perl-ORDB-CPAN-Mageia in cauldron and pushed it to mageia 2 core/updates_testing

to know whether the fix worked:

$ rm ~/.local/share/.perl/ORLite-Mirror/ORDB-CPAN-Mageia.sqlite
$ perl -MORDB::CPAN::Mageia -E 'say ORDB::CPAN::Mageia::Module->count'
25862

# update perl-ORDB-CPAN-Mageia

$ rm ~/.local/share/.perl/ORLite-Mirror/ORDB-CPAN-Mageia.sqlite
$ perl -MORDB::CPAN::Mageia -E 'say ORDB::CPAN::Mageia::Module->count'
26313


25862 is the old stat (with old perl-ORDB-CPAN-Mageia).
26313 is the new stat (with new module).

update the package to latest version, and re-run both commands (don't forget to remove the cached file first, it is kept for 24 hours).
Comment 1 Dave Hodgins 2012-06-20 05:30:01 CEST
Testing complete on Mageia 2 i586.

[dave@hodgins ~]$ perl -MORDB::CPAN::Mageia -E 'say ORDB::CPAN::Mageia::Module->count'
25862
[root@hodgins /]# mc -e /etc/urpmi/urpmi.cfg # enabled updates testing
[root@hodgins /]# urpmi perl-ORDB-CPAN-Mageia
    http://twiska.zarb.org/mageia/distrib/2/i586/media/core/updates_testing/perl-ORDB-CPAN-Mageia-1.121.690-1.mga2.noarch.rpm
installing perl-ORDB-CPAN-Mageia-1.121.690-1.mga2.noarch.rpm from /var/cache/urpmi/rpms
Preparing...                     #################################################################################
      1/1: perl-ORDB-CPAN-Mageia #################################################################################
[dave@hodgins ~]$ rm ~/.local/share/.perl/ORLite-Mirror/ORDB-CPAN-Mageia.sqlite
rm: remove regular file `/home/dave/.local/share/.perl/ORLite-Mirror/ORDB-CPAN-Mageia.sqlite'? y
[dave@hodgins ~]$ perl -MORDB::CPAN::Mageia -E 'say ORDB::CPAN::Mageia::Module->count'
26338

As this is a noarch package, I'll go ahead and validate it.

Could someone from the sysadmin team push the srpm
perl-ORDB-CPAN-Mageia-1.121.690-1.mga2.src.rpm
from Mageia 2 Core Updates Testing to Core Updates.

Advisory: This update to perl-ORDB-CPAN-Mageia corrects the url
used to gather information about available Mageia perl modules.

https://bugs.mageia.org/show_bug.cgi?id=6489

Keywords: (none) => validated_update
CC: (none) => davidwhodgins, sysadmin-bugs

Comment 2 Thomas Backlund 2012-06-20 22:38:45 CEST
Update pushed:
https://wiki.mageia.org/en/Support/Advisories/MGAA-2012-0086

Status: NEW => RESOLVED
CC: (none) => tmb
Resolution: (none) => FIXED