Bug 6489 - perl stats not updated in perl-ORDB-CPAN-Mageia
Summary: perl stats not updated in perl-ORDB-CPAN-Mageia
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 2
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard:
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2012-06-17 13:04 CEST by Jerome Quelin
Modified: 2012-06-20 22:38 CEST (History)
3 users (show)

See Also:
Source RPM: perl-ORDB-CPAN-Mageia
CVE:
Status comment:


Attachments

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


Note You need to log in before you can comment on or make changes to this bug.