Bug 550027
Summary: | repoquery -qf implies \n whereas rpm doesn't | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Matěj Cepl <mcepl> |
Component: | yum-utils | Assignee: | Seth Vidal <skvidal> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | rawhide | CC: | james.antill, matt, maxamillion, mcepl, pmatilai, roland, tim.lauridsen |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-01-12 18:42:33 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
Matěj Cepl
2009-12-23 10:37:08 UTC
given that panu wrote this code in repoquery, I'll leave it up to him. But I suspect it was written this way b/c the rpm --qf silliness just confused users. And so rather than duplicate those errors he fixed it. (In reply to comment #1) > given that panu wrote this code in repoquery, I'll leave it up to him. But I > suspect it was written this way b/c the rpm --qf silliness just confused users. > > And so rather than duplicate those errors he fixed it. Well, although I agree that repoquery behavior is more sane, but I believe that consistency is more important than sainty. Panu? Can't remember for sure but I suspect the newline behavior was basically just for sanity's sake. While the queryformat strings of rpm and repoquery are similar, there are numerous incompatibilities between them, you can't expect to copy-paste between rpm and repoquery query formats anyway. Me thinks making such a fundamental change after at this point (repoquery is several years old too and widely used) would be far more pain than the consistency gain. agreed *** Bug 590920 has been marked as a duplicate of this bug. *** *** Bug 734259 has been marked as a duplicate of this bug. *** |