Merge lp://qastaging/~jtv/launchpad/bug-445511 into lp://qastaging/launchpad
Proposed by
Jeroen T. Vermeulen
Status: | Merged |
---|---|
Approved by: | Jeroen T. Vermeulen |
Approved revision: | no longer in the source branch. |
Merged at revision: | not available |
Proposed branch: | lp://qastaging/~jtv/launchpad/bug-445511 |
Merge into: | lp://qastaging/launchpad |
Diff against target: |
153 lines 3 files modified
lib/lp/translations/interfaces/translationimportqueue.py (+1/-1) lib/lp/translations/scripts/reupload_translations.py (+6/-1) lib/lp/translations/scripts/tests/test_reupload_translations.py (+60/-17) |
To merge this branch: | bzr merge lp://qastaging/~jtv/launchpad/bug-445511 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Данило Шеган (community) | Approve | ||
Review via email: mp+13122@code.qastaging.launchpad.net |
To post a comment you must log in.
= Bug 445511 =
This is a candidate for cherry-picking, so some small things are left ubuntu_ translation_ file function shouldn't have
unimproved: the _filter_
the leading underscore in its name, but that'd drag in irrelevant diff.
We have a script for re-uploading the latest translations tarball for a
given source package. But it neglected to run the tarball's translation
files through the same filename filter that the normal Ubuntu uploads go
through. This filter takes care of stripping out non-translation files,
stripping out translation files in the wrong locations, and removing the
unwanted path prefix that is introduced by the build process.
There is one small free bonus: the interface for the translations import
queue failed to declare a parameter that is actually implemented.
Test with
{{{
./bin/test -vv -t reupload
}}}
No lint.
Jeroen