Bug 902720

Summary: updates output wrong
Product: [Fedora] Fedora Reporter: Kamil Páral <kparal>
Component: pkgwatAssignee: Ralph Bean <rbean>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: rbean
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-14 16:28:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kamil Páral 2013-01-22 10:34:05 UTC
Description of problem:
$ pkgwat updates firefox
Starting new HTTPS connection (1): apps.fedoraproject.org
+---------------------------+--------+----------+---------------+---------------+
| id                        | status | karma    | submitted     | pushed        |
+---------------------------+--------+----------+---------------+---------------+
| firefox-18.0-1.fc18       | stable | +2, good | 12 days ago   | 11 days ago   |
| firefox-18.0-1.fc18       | stable | +2, good | 12 days ago   | 11 days ago   |
| thunderbird-13.0.1-1.fc16 | stable | +3, good | 7 months  ago | 7 months  ago |
+---------------------------+--------+----------+---------------+---------------+

$ pkgwat updates systemd
Starting new HTTPS connection (1): apps.fedoraproject.org
+----------------------+--------+----------+---------------+--------------+
| id                   | status | karma    | submitted     | pushed       |
+----------------------+--------+----------+---------------+--------------+
| systemd-197-1.fc18.1 | stable | +4, good | 10 days ago   | 9 days ago   |
| rtkit-0.11-3.fc18    | stable | +5, good | 4 months  ago | 4 months ago |
| rtkit-0.11-3.fc18    | stable | +5, good | 4 months  ago | 4 months ago |
+----------------------+--------+----------+---------------+--------------+

Problems:
1. it displays duplicated lines (2x firefox, 2x rtkit)
2. it displays unrelated packages (thunderbird, rtkit)
3. the 'pushed' times are wrong, systemd was pushed 2 days ago

Version-Release number of selected component (if applicable):
pkgwat-0.4-2.fc18.noarch

Comment 1 Ralph Bean 2013-01-22 14:56:54 UTC
Ah, I see.  It becomes more clear if you check the associated web UI:
https://apps.fedoraproject.org/packages/firefox/updates

The "duplicate lines" issue is an issue with the /packages webapp.  I'm not sure what it is yet; perhaps the updates were indexed twice.  The incorrect push times issue also lives there.

The unrelated packages bug seems to be with 'pkgwat'.  Firefox and thunderbird were both part of a multi-build update.  Same for the systemd query.  This should be fixed in upstream with this commit:  https://github.com/fedora-infra/pkgwat.cli/commit/a3edd9534b018ae10d92cc8a99c0036737c5594d

Comment 2 Fedora Update System 2013-01-22 17:52:11 UTC
pkgwat-0.5-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/pkgwat-0.5-1.fc18

Comment 3 Fedora Update System 2013-02-14 16:25:53 UTC
pkgwat-0.5-2.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/pkgwat-0.5-2.fc18

Comment 4 Fedora Update System 2013-03-08 23:58:31 UTC
pkgwat-0.5-2.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.