Merge lp:~danilo/launchpad/bug-494106 into lp:launchpad
Proposed by
Данило Шеган
Status: | Merged |
---|---|
Approved by: | Данило Шеган |
Approved revision: | not available |
Merged at revision: | not available |
Proposed branch: | lp:~danilo/launchpad/bug-494106 |
Merge into: | lp:launchpad |
Diff against target: |
155 lines (+69/-17) 3 files modified
lib/lp/translations/model/pofile.py (+22/-8) lib/lp/translations/scripts/fix_translation_credits.py (+2/-7) lib/lp/translations/tests/test_pofile.py (+45/-2) |
To merge this branch: | bzr merge lp:~danilo/launchpad/bug-494106 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Brad Crittenden (community) | code | Approve | |
Review via email: mp+15824@code.launchpad.net |
To post a comment you must log in.
= Bug 494106 =
fix_translation _credits script doesn't pick up where it left off: it simply goes faster through already processed entries, but that means that it runs very, very slow if it runs into locks and such, because it seems DBLoopTuner takes those into account as well.
To fix it, we introduce option to go only through those which have not been fixed yet.
Note: this is a CP candidate.
= Demo & QA =
Query has been QAd on staging, script will be as well.
= Tests =
bin/test -vvct Credits_ untranslated
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files: translations/ model/pofile. py translations/ scripts/ fix_translation _credits. py translations/ tests/test_ pofile. py
lib/lp/
lib/lp/
lib/lp/