Bug 856615

Summary: RFE: Make the API more consistent
Product: [Fedora] Fedora Reporter: Martin Gracik <mgracik>
Component: hawkeyAssignee: Ales Kozumplik <akozumpl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: akozumpl, dmach, jzeleny
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: hawkey-0.2.11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-20 15:29:56 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 Martin Gracik 2012-09-12 12:37:31 UTC
The hawkey.Goal methods run() and run_all() could be more consistent.

As of now, the run() method returns True/False depending of the success of the execution, but run_all() does not return anything.

Also run_all() requires a callback method as a parameter, but run() does not support it at all.

Comment 1 Ales Kozumplik 2012-09-13 13:50:38 UTC
Master commits a316f60 and 53cf31c should remedy the situation.

Comment 2 Fedora Update System 2012-09-21 12:55:41 UTC
hawkey-0.2.11-3.git0245875.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/hawkey-0.2.11-3.git0245875.fc18

Comment 3 Fedora Update System 2012-09-22 06:33:54 UTC
Package hawkey-0.2.11-3.git0245875.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing hawkey-0.2.11-3.git0245875.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-14575/hawkey-0.2.11-3.git0245875.fc18
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-09-24 07:36:54 UTC
hawkey-0.2.11-4.git687ceab.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/hawkey-0.2.11-4.git687ceab.fc18

Comment 5 Fedora Update System 2012-12-20 15:30:03 UTC
hawkey-0.2.11-3.git0245875.fc18 has been pushed to the Fedora 18 obsolete repository.  If problems still persist, please make note of it in this bug report.