Bug 846656
| Summary: | RFE: function for finding if a string corresponds to a known architecture | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Martin Gracik <mgracik> |
| Component: | hawkey | Assignee: | Ales Kozumplik <akozumpl> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | akozumpl, dmach, jzeleny |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | hawkey-0.2.9-1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-09-17 22:51: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-08-08 11:02:24 UTC
Function like that is straightforward. A more general and a more tricky thing would be returning a list of all architectures known to libsolv. I'll try to see if it's even feasible at the moment. Yet more general would be a query accepting a NEVRA string with arbitrary parts removed. The query would then try to make a best guess. But that is out of scope now. 81d184d provides hy_sack_list_arches(). hawkey-0.2.9-1.git8599c55.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/hawkey-0.2.9-1.git8599c55.fc18 Package hawkey-0.2.9-1.git8599c55.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.9-1.git8599c55.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-12561/hawkey-0.2.9-1.git8599c55.fc18 then log in and leave karma (feedback). hawkey-0.2.9-1.git8599c55.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. |