~pelpsi/launchpad:copy-distroseries-translations-fix

Last commit made on 2023-10-30
Get this branch:
git clone -b copy-distroseries-translations-fix https://git.launchpad.net/~pelpsi/launchpad
Only Simone Pelosi can upload to this branch. If you are Simone Pelosi please log in for upload directions.

Branch merges

Branch information

Name:
copy-distroseries-translations-fix
Repository:
lp:~pelpsi/launchpad

Recent commits

ed616d3... by Simone Pelosi

Addded translations_distroseries_copy role to launchpad-scripts charm

This role is required to run copy-distroseries-translations.py script
during the translations opening process.

Succeeded
[SUCCEEDED] docs:0 (build)
[SUCCEEDED] lint:0 (build)
[SUCCEEDED] mypy:0 (build)
13 of 3 results
55a5c6e... by Colin Watson

charm: Fix rebuild-test.internal indexes

Merged from https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/454805

9e99bb6... by Colin Watson

charm: Fix rebuild-test.internal indexes

The directory entries in `rebuilds_dir` are actually symlinks into
`archives_dir`, so we need to allow Apache access to the latter as well.

e4adee2... by Colin Watson

charm: Fix derived.archive.canonical.com vhost config

Merged from https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/454788

f2b057d... by Colin Watson

charm: Fix derived.archive.canonical.com vhost config

The document root for derived.archive.canonical.com points to an
"archives" subdirectory that includes only some carefully-constructed
symlinks that point into sub-sub-directories of `archives_dir`: for
example, `archives/ubuntu-rtm` is a symlink to
`ubuntu-rtm-archive/ubuntu-rtm` (relative to `archives_dir`), which lets
us expose the actual archive contents without exposing all the temporary
data and so on under other subdirectories of `ubuntu-rtm-archive`.

This is all quite historically weird, but let's mimic it so that we can
migrate from the pre-charmed deployment while preserving existing URLs.

a753b21... by Colin Watson

pre-commit: Enable flake8-bugbear

Merged from https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/454762

6f2ddf5... by William Grant

Cope more gracefully with intermittent builder glitches

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

272d66a... by William Grant

Cope more gracefully with intermittent builder glitches

buildd-manager would previously immediately count any single scan
failure against the builder and job. This meant that three glitches --
say, network timeouts -- over the course of job would result in the
build being requeued. A builder's failure count is reset on successful
dispatch, but a job's deliberately isn't since we want to fail builds
that are repeatedly killing builders. This meant that a single network
glitch in the second attempt at a build would cause it to be failed.

This added layer of failure counting substantially reduces the
likelihood of those two scenarios, by requiring five consecutive
unsuccessful scans before a single failure is counted against a builder
or job. This means that brief network interruptions, or indeed temporary
insanity on buildd-manager's part, should no longer cause builds to be
requeued or failed at all.

The only significant downside of this change is that recovery from
legitimate failures will now take a few minutes longer. But that's much
less of a concern with the very large build farm we have nowadays.

71599ff... by William Grant

Tweak buildd-manager failure handling metrics

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

0eb8ec0... by William Grant

Refactor buildd-manager job dispatch error handling

manager.py is now entirely inlineCallbacks.

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