Bug 548771

Summary: cph_cups_job_get_status very inefficient
Product: [Fedora] Fedora Reporter: Tim Waugh <twaugh>
Component: cups-pk-helperAssignee: Marek Kašík <mkasik>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: mkasik
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: cups-pk-helper-0.0.4-12.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-03-10 06:48:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tim Waugh 2009-12-18 15:10:58 UTC
Description of problem:
The cph_cups_job_get_status() function is extremely inefficient.  It asks cupsd for an entire list of jobs and then sifts through the result to find out about the single job it is interested it.

It should send an IPP-Get-Job-Attributes request instead.

Version-Release number of selected component (if applicable):
cups-pk-helper-0.0.4-10.fc12.x86_64

Comment 1 Fedora Update System 2010-02-23 13:46:50 UTC
cups-pk-helper-0.0.4-12.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/cups-pk-helper-0.0.4-12.fc12

Comment 2 Fedora Update System 2010-02-23 13:49:52 UTC
cups-pk-helper-0.0.4-12.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/cups-pk-helper-0.0.4-12.fc13

Comment 3 Fedora Update System 2010-02-23 16:10:48 UTC
cups-pk-helper-0.0.4-12.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 4 Fedora Update System 2010-02-24 06:12:58 UTC
cups-pk-helper-0.0.4-12.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update cups-pk-helper'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-2753

Comment 5 Fedora Update System 2010-03-10 06:48:45 UTC
cups-pk-helper-0.0.4-12.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.