Merge lp:~henninge/launchpad/devel-741571-filter-templates-in-upload into lp:launchpad
Status: | Merged |
---|---|
Approved by: | Henning Eggers |
Approved revision: | no longer in the source branch. |
Merged at revision: | 12659 |
Proposed branch: | lp:~henninge/launchpad/devel-741571-filter-templates-in-upload |
Merge into: | lp:launchpad |
Prerequisite: | lp:~henninge/launchpad/devel-605924-hastranslationtemplates |
Diff against target: |
620 lines (+173/-76) 16 files modified
lib/lp/registry/model/distribution.py (+2/-5) lib/lp/registry/model/distroseries.py (+14/-8) lib/lp/registry/model/product.py (+2/-1) lib/lp/registry/model/productseries.py (+4/-0) lib/lp/registry/model/sourcepackage.py (+4/-0) lib/lp/soyuz/model/sourcepackagerelease.py (+7/-14) lib/lp/soyuz/tests/test_sourcepackagerelease.py (+10/-14) lib/lp/translations/browser/productseries.py (+1/-4) lib/lp/translations/browser/sourcepackage.py (+2/-8) lib/lp/translations/doc/translationimportqueue.txt (+28/-3) lib/lp/translations/interfaces/hastranslationtemplates.py (+11/-4) lib/lp/translations/interfaces/translationimportqueue.py (+4/-1) lib/lp/translations/model/hastranslationtemplates.py (+16/-0) lib/lp/translations/model/translationimportqueue.py (+7/-3) lib/lp/translations/tests/test_hastranslationtemplates.py (+60/-7) lib/lp/translations/utilities/translation_import.py (+1/-4) |
To merge this branch: | bzr merge lp:~henninge/launchpad/devel-741571-filter-templates-in-upload |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Abel Deuring (community) | code | Approve | |
Review via email: mp+54688@code.launchpad.net |
Commit message
[r=adeuring][bug=732612,741571] Always upload translation templates from soyuz builds.
Description of the change
= Summary =
Apart from fixing bug 741571 as described in the bug, this branch also
addresses a left-over issue from the previous branch. It implements
has_sharing_
appeared in many places. This makes the code shorter and much better to
read.
I also removed some lint that was already there.
== Implementation details ==
I find this a very straight forward branch and enjoyed coding it. I
hope you can follow along just as easily.
== Tests ==
Lot of stuff has been touched so I'd advise a full test run.
== Demo and Q/A ==
I am not sure how to QA soyuz stuff but you should see only templates
appear in the import queue of a sourcepackage that has upstream
templates.
= Launchpad lint =
Checking for conflicts and issues in changed files.
Linting changed files:
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
./lib/lp/
788: E301 expected 1 blank line, found 2
904: E301 expected 1 blank line, found 2
./lib/lp/
201: redefinition of function 'copyright' from line 192
./lib/lp/
392: E301 expected 1 blank line, found 2
thanks for this fast buf fix!