Bug 628467
| Summary: | gpk should parse rpm changelog headers without a dash | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jens Petersen <petersen> |
| Component: | PackageKit | Assignee: | Richard Hughes <rhughes> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | jonathan, rhughes, smparrish |
| 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-09-24 00:25:26 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
Jens Petersen
2010-08-30 07:00:30 UTC
(In reply to comment #0) > gpk should really be kind enough to also parse > changelogs without the modern " - " included > they still exist in the wild. Sure, it should work fine. > Steps to Reproduce: > 1. gpk with an updated rpm with " - " in changelog (eg publican book). > > Actual results: > Could not parse header: 'Ryan Lerch <rlerch> 1', expected: > 'Firstname Lastname <email> - version-release' Surely it should be: Ryan Lerch <rlerch> 1-1 or Ryan Lerch <rlerch> - 1-1 i.e., version-release, not just the release _or_ version? There's no way we can parse a version-release from just the version or the release on their own. Richard. Oops indeed... Does PK parse the ver-rel in the changelog headers to decide how many entries to show. Could it treat unparsible ver-rel as none? (In reply to comment #2) > Does PK parse the ver-rel in the changelog headers > to decide how many entries to show. Could it treat > unparsible ver-rel as none? It could, I guess. Care to submit a patch please? |