Merge ~xnox/launchpad:fixup-i18n-index-publish into launchpad:master
Status: | Merged |
---|---|
Approved by: | Guruprasad |
Approved revision: | 2172d477047815bc9d59e14f4f592b3d171654ee |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~xnox/launchpad:fixup-i18n-index-publish |
Merge into: | launchpad:master |
Diff against target: |
61 lines (+25/-2) 2 files modified
lib/lp/archivepublisher/publishing.py (+5/-1) lib/lp/archivepublisher/tests/test_publisher.py (+20/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Dimitri John Ledkov (community) | Approve | ||
William Grant | code | Approve | |
Guruprasad | Approve | ||
Review via email: mp+458162@code.launchpad.net |
Commit message
soyuz: fix up removal of stale i18n/Index upon removal
During qastaging testing it was discovered that i18n/Index publishing
correctly honors publish_i18n_index setting for freshly created suites
in an archive. But existing archives incorrectly left stale i18n/Index
on disk (whilst scheduling byhash symlink removal).
QA Testing:
* create a new archive on qastaging
* publish it once
* verify i18n/Index is published with byhash link to it
* toggle publish_i18n_index off
* publish it again
* verify i18n/Index is gone straight away
* verify deathrow 24h later removed byhash link to it as well
Fixes: 5f90943b2f ("soyuz: Add toggle to turn off I18n/Index publishing")
LGTM 👍 As discussed already, I will request a review + approval from William as well before we merge this.