Bug 621721
| Summary: | Invalid revision in translations gets picked up late in package/build process | ||
|---|---|---|---|
| Product: | [Community] Publican | Reporter: | Jeff Fearn 🐞 <jfearn> |
| Component: | publican | Assignee: | Jeff Fearn 🐞 <jfearn> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 1.6 | CC: | jfearn, mmcallis, publican-list, rlandman |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | publican-2.2-0.fc13 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-10-08 20:42:23 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: | |||
Fixed validation of revision in 'sub package'.
Will now output:
$ publican package --lang es-ES
DEBUG: Publican: config loaded
Running clean process to ensure stale content is not bundled in packages.
Clean: Removing tmp and publish directories.
Project-Id-Version 'Book_Info\n' in es-ES/Book_Info.po is not a valid release value. at /usr/bin/publican line 641
Fixed in Build 2.1-0%{?dist}.t20
Publican 2.1.t26 catches invalid values of Project-Id-Version very shortly after you run publican package. However, when "Project-Id-Version" is set to 0, validation also fails. Good old zero, always forgotten.
Fixed zero in build: 2.1-0%{?dist}.t29
Confirmed that "Project-Id-Version: 0" gets packaged correctly in build: 2.1-0%{?dist}.t29
publican-2.2-0.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/publican-2.2-0.fc13 publican-2.2-0.fc12 has been submitted as an update for Fedora 12. https://admin.fedoraproject.org/updates/publican-2.2-0.fc12 publican-2.2-0.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/publican-2.2-0.fc14 publican-2.2-0.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: For translations the package revision is set in the *_Type.po file via the Project-Id-Version entry. If this value is invalid it does not get detected until the binary package is being built. Version-Release number of selected component (if applicable): 2.1 How reproducible: 100% Steps to Reproduce: 1. Find a translated book 2. set Project-Id-Version to an invalid revision text 3. create SRPM Actual results: The invalid revision is not detected. Expected results: The invalid revision is detected. Additional info: It appears that the SRPM has an invalid NVR as well e.g. Release: %{?dist}