Description of problem: In PyCUPS I've changed the Connection.cancelJob() function to take one optional int parameter indicating whether job files (history and document) are purged. I'd like to change the cups-pk-helper D-Bus API JobCancel method or create another JobCancel2 or JobPurge or other method so I can use PolicyKit to call Connection.cancelJob with two parameters. I'm PolicyKit beginner so I leave it up to you, what's best. On 12/18/2009 01:04 PM, Tim Waugh wrote: The problem is that the cups-pk-helper D-Bus API defines the JobCancel method as only taking one parameter. Unfortunately D-Bus doesn't have a built-in concept of optional parameters, so changing that method to take two parameters instead of one will break the interface. The solution is either to extend the existing interface (either by adding a JobCancel2 method taking an extra parameter, or by adding a new JobPurge method), or to add a new interface e.g. org.opensuse.CupsPkHelper.Mechanism2 which defines all the same methods as before but has two parameters instead of one for JobCancel. Additional info: http://www.cups.org/documentation.php/doc-1.4/spec-ipp.html#CANCEL_JOB
This bug appears to have been reported against 'rawhide' during the Fedora 13 development cycle. Changing version to '13'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
cups-pk-helper-0.0.4-13.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/cups-pk-helper-0.0.4-13.fc13
Added new method JobCancelPurge, which takes one more parameter in comparison to JobCancel. The parameter is boolean 'purge'. It controls whether the job files are purged. Marek
cups-pk-helper-0.0.4-13.fc13 has been pushed to the Fedora 13 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/cups-pk-helper-0.0.4-13.fc13
cups-pk-helper-0.0.4-13.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.