Bug 533594
| Summary: | Review Request: Pootle - Localization and translation management web application | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Dwayne Bailey <dwayne> |
| Component: | Package Review | Assignee: | David Fraser <davidf> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | davidf, fedora-package-review, notting |
| Target Milestone: | --- | Flags: | davidf:
fedora-review+
j: fedora-cvs+ |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 2.0.1-2.fc12 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-01-27 01:09:17 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
Dwayne Bailey
2009-11-07 16:16:25 UTC
Updated to a newer release candidate: Spec URL: http://dwayne.fedorapeople.org/pootle-2.0.0-0.1.rc2.spec SRPM URL: http://dwayne.fedorapeople.org/pootle-2.0.0-0.1.rc2.fc11.src.rpm Updated to the final Pootle release: Spec URL: http://dwayne.fedorapeople.org/pootle-2.0.0-1.spec SRPM URL: http://dwayne.fedorapeople.org/pootle-2.0.0-1.fc12.src.rpm Updated for a bugfix Pootle release: Spec URL: http://dwayne.fedorapeople.org/pootle-2.0.1-1.spec SRPM URL: http://dwayne.fedorapeople.org/pootle-2.0.1-1.fc12.src.rpm The packaging has not changed but Pootle has had the following bugs fixed: 14 more languages have been fully translated (Akan, Belarusian, Catalan, Valencian Catalan, Chinese, Finnish, French, German, Italian, Japanese, Northern Sotho, Polish and Brazilian Portuguese).with two more languages nearly done (Taiwanese Chinese and Swedish). Highlighted improvements: - Turn conflicts into suggestions when updating from version control - refresh_stats will add cached statistics to memcached if possible making subsequent visits to front page much faster - Pootle works with symlinked files again - minor fixes to XLIFF support and permissions # Output of rpmlint on specfile (run on Fedora 10): [build@megye pootle]$ rpmlint pootle-2.0.1-1.spec 0 packages and 1 specfiles checked; 0 errors, 0 warnings. # Output of rpmlint on source rpm (run on Fedora 10): [build@megye pootle]$ rpmlint pootle-2.0.1-1.fc12.src.rpm 1 packages and 0 specfiles checked; 0 errors, 0 warnings. Checking Packaging Guidelines, can you address the following:
* Instead of using /usr/sbin etc in the %install section, you should use {%_sbindir} - see http://fedoraproject.org/wiki/Packaging:RPMMacros
Checking Packaging Guidelines, can you verify/comment on the following:
* BuildRoot, and rm -rf ${RPM_BUILD_ROOT} are not required in Fedora 10 and higher, but you can keep them in if you need to for earlier versions
* The source tarball includes translations in separate po and mo directories - the Packaging Guidelines say "Keep in mind that usage of %find_lang in packages containing locales is a MUST." - can you comment on why they are just copied with the install
* I'm curious as to why you cp -p %{SOURCE2} . instead of to a target directory - everything else is copied to the build root
Checked the Packaging Guidelines, no change needed:
* Verified that all the requirements are in fact necessary
* Verified that config files are marked appropriately
That covers all the MUST items in the ReviewGuidelines; I'll check SHOULD when the above are addressed (In reply to comment #5) > Checking Packaging Guidelines, can you address the following: > * Instead of using /usr/sbin etc in the %install section, you should use > {%_sbindir} - see http://fedoraproject.org/wiki/Packaging:RPMMacros I converted these all to macros in the new spec > Checking Packaging Guidelines, can you verify/comment on the following: > * BuildRoot, and rm -rf ${RPM_BUILD_ROOT} are not required in Fedora 10 and > higher, but you can keep them in if you need to for earlier versions I will want to package for EL5 so I'd rather leave this in now. All there references I can find include rm -rf in both the %install and %clean sections as I have. > * The source tarball includes translations in separate po and mo directories - > the Packaging Guidelines say "Keep in mind that usage of %find_lang in packages > containing locales is a MUST." - can you comment on why they are just copied > with the install The mo files for Django are stored in /usr/share/pootle/mo instead of the more standard /usr/share/locale/ this is an issue with Django I'm afraid. We don't mess with these as we don't need them to be specifically platform compiled as they will work correctly with Django, so no need to compile or recompile. The po files are stored in /var/lib/pootle/po/pootle as this allows them to be translated live as a demo of how Pootle can be used to translate. Again a non standard location but these are at least in the correct area for translations. > * I'm curious as to why you cp -p %{SOURCE2} . instead of to a target > directory - everything else is copied to the build root I need this available for the %files section to be added to docs. I don't want into installed into the BuildRoot I'll upload a new spec file, thanks a mill for the review. Resolves issues identified in comment 5: Spec URL: http://dwayne.fedorapeople.org/pootle-2.0.1-2.spec SRPM URL: http://dwayne.fedorapeople.org/pootle-2.0.1-2.fc12.src.rpm Resolves issues identified in IRC, version number unchanged: Spec URL: http://dwayne.fedorapeople.org/pootle-2.0.1-2.spec SRPM URL: http://dwayne.fedorapeople.org/pootle-2.0.1-2.fc12.src.rpm * Use macros in %files * Use %global instead of %define for fullname Great, passes review New Package CVS Request ======================= Package Name: pootle Short Description: Localization and translation management web application Owners: dwayne Branches: F-12 EL-5 InitialCC: I see some issues with this ticket: It's currently not assigned to anyone. If you reviewed it, please follow https://fedoraproject.org/wiki/Package_Review_Process. I can't understand how the Fedora Review flag has been set. As far as I can see, the only Fedora account matching "David Fraser" is user davidfraser, who is not a member of the packager group and thus should not be able to set the fedora-review flag (and who cannot approve packages). Could someone explain what's up, and then reset the fedora-cvs flag once that's been worked out? The review flag was set by davidf (not davidfraser) who's a member of packager group. I'm re-enabling the CVS request and will do the assignment for David if that's OK. CVS done (by process-cvs-requests.py). (In reply to comment #12) > I see some issues with this ticket: > > It's currently not assigned to anyone. If you reviewed it, please follow > https://fedoraproject.org/wiki/Package_Review_Process. > > I can't understand how the Fedora Review flag has been set. As far as I can > see, the only Fedora account matching "David Fraser" is user davidfraser, who > is not a member of the packager group and thus should not be able to set the > fedora-review flag (and who cannot approve packages). > > Could someone explain what's up, and then reset the fedora-cvs flag once that's > been worked out? Just to explain why this didn't get assigned to me - I chose status "Assigned" thinking that that would automatically set me as the Assignee and forgot to check. Sorry. And I am user davidf, not davidfraser (https://admin.fedoraproject.org/accounts/user/view/davidf shows my email address that corresponds to this bugzilla account) - but that did appear with the fedora-cvs flag when I set it so should have been clear pootle-2.0.1-2.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/pootle-2.0.1-2.fc12 pootle-2.0.1-2.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update pootle'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-0703 pootle-2.0.1-2.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. |