Merge/split messages from all sharing templates
Bug #814580 reported by
Данило Шеган
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Данило Шеган |
Bug Description
At the moment, TranslationPack
This will make sure our database contains sanitized data when eg. somebody renames only one of two templates currently sharing their translations: they won't be sharing any more, yet internally, messages that used to share will continue to do so until splitting is performed. Similarly, if a template is renamed such that it should start sharing with another one, it won't be until merging happens.
Related branches
lp:~danilo/launchpad/bug-814580-pre-cleanup
- Henning Eggers (community): Approve
-
Diff: 377 lines (+79/-73)5 files modifiedlib/lp/translations/configure.zcml (+1/-1)
lib/lp/translations/interfaces/translationsharingjob.py (+1/-1)
lib/lp/translations/model/translationpackagingjob.py (+10/-10)
lib/lp/translations/model/translationsharingjob.py (+48/-44)
lib/lp/translations/tests/test_translationpackagingjob.py (+19/-17)
lp:~danilo/launchpad/bug-814580
- Henning Eggers (community): Approve
-
Diff: 788 lines (+531/-51)8 files modifiedlib/lp/translations/configure.zcml (+8/-0)
lib/lp/translations/interfaces/translationsharingjob.py (+3/-0)
lib/lp/translations/model/translationpackagingjob.py (+34/-1)
lib/lp/translations/model/translationsharingjob.py (+39/-3)
lib/lp/translations/tests/test_translationpackagingjob.py (+88/-11)
lib/lp/translations/tests/test_translationsplitter.py (+181/-0)
lib/lp/translations/translationmerger.py (+20/-0)
lib/lp/translations/utilities/translationsplitter.py (+158/-36)
lp:~danilo/launchpad/bug-814580-cold-db
Rejected
for merging
into
lp:launchpad
- Robert Collins (community): Needs Resubmitting
- Stuart Bishop: Pending requested
-
Diff: 54 lines (+20/-9)3 files modifieddatabase/schema/comments.sql (+8/-8)
database/schema/patch-2208-99-0.sql (+11/-0)
lib/lp/translations/model/translationsharingjob.py (+1/-1)
lp:~danilo/launchpad/bug-814580-resubmit-db
- Stuart Bishop (community): Approve (db)
-
Diff: 42 lines (+27/-0)2 files modifieddatabase/schema/comments.sql (+1/-0)
database/schema/patch-2208-79-1.sql (+26/-0)
lp:~danilo/launchpad/bug-814580-resubmit
- Henning Eggers (community): Approve
- Diff: 0 lines
Changed in launchpad: | |
assignee: | nobody → Данило Шеган (danilo) |
Changed in launchpad: | |
status: | Triaged → In Progress |
tags: |
added: qa-untestable removed: qa-needstesting |
tags: |
added: qa-ok removed: qa-needstesting |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
r13577 in stable (http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 13577) is part of this bug's fix.