~philroche/launchpad:db-devel

Last commit made on 2024-01-24
Get this branch:
git clone -b db-devel https://git.launchpad.net/~philroche/launchpad
Only Philip Roche can upload to this branch. If you are Philip Roche please log in for upload directions.

Branch merges

Branch information

Name:
db-devel
Repository:
lp:~philroche/launchpad

Recent commits

cf37fe7... by 🤖 stg-launchpad-buildbot

Automatic merge from stable up to acfe7f08d2f6

Failed
[SUCCEEDED] docs:0 (build)
[FAILED] lint:0 (build)
[WAITING] mypy:0 (build)
13 of 3 results
acfe7f0... by Dimitri John Ledkov

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")

Merged from https://code.launchpad.net/~xnox/launchpad/+git/launchpad/+merge/458162

666c6bd... by Guruprasad

Update social accounts' elements' class names

The previous 'social_accounts*' class names were getting blocked by the
ad blockers.

Merged from https://code.launchpad.net/~lgp171188/launchpad/+git/launchpad/+merge/459250

b328854... by William Grant

Expose .buildinfo files in the API and web UI

We've been capturing these for BinaryPackageBuilds for years, and
storing them in the DB and librarian, but they haven't been available to
users.

LP: #1686242

Merged from https://code.launchpad.net/~wgrant/launchpad/+git/launchpad/+merge/459249

2172d47... by Dimitri John Ledkov

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

Improve unit test to correctly setup status quo publication, and
assert removal of the i18n/Index file upon change of the distroseries
publication setting.

Fixes: 5f90943b2f ("soyuz: Add toggle to turn off I18n/Index publishing")
Signed-off-by: Dimitri John Ledkov <email address hidden>

1d2507c... by Guruprasad

Update social accounts' elements' class names

The previous 'social_accounts*' class names were getting blocked by the
ad blockers.

3a7f749... by William Grant

Expose .buildinfo files in the API and web UI

We've been capturing these for BinaryPackageBuilds for years, and
storing them in the DB and librarian, but they haven't been available to
users.

LP: #1686242

c332267... by Guruprasad

Fix the matrix homeserver domain validation regex

The previous regex did not allow some valid TLDs like the
2-character-long ones.

Merged from https://code.launchpad.net/~lgp171188/launchpad/+git/launchpad/+merge/459228

01bdcdf... by Guruprasad

Fix the matrix homeserver domain validation regex

The previous regex did not allow some valid TLDs like the
2-character-long ones.

880a4aa... by Guruprasad

Fix typo in regex variable name