~ines-almeida/launchpad:specify-yaml-exception-in-charms

Last commit made on 2023-08-23
Get this branch:
git clone -b specify-yaml-exception-in-charms https://git.launchpad.net/~ines-almeida/launchpad
Only Ines Almeida can upload to this branch. If you are Ines Almeida please log in for upload directions.

Branch merges

Branch information

Name:
specify-yaml-exception-in-charms
Repository:
lp:~ines-almeida/launchpad

Recent commits

b4efa06... by Ines Almeida

Specify YAML exceptions in haproxy set up in charms

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

Convert BinaryPackageBuild to Storm

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

9a295ee... by Colin Watson

charm: Install launchpad-soyuz-dependencies in ftpmaster-*

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

e10ee9a... by Colin Watson

charm: Install launchpad-soyuz-dependencies in ftpmaster-*

We have this on production at the moment, so we'd probably better
emulate it here.

97cfdd3... by Colin Watson

Convert BinaryPackageBuild to Storm

ef1e017... by Colin Watson

Speed up merge detection in repositories with deep history

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

91bf6f1... by Colin Watson

Refactor queries in PublishingSet.getBuildsForSourceIds

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

f08d401... by Colin Watson

Speed up merge detection in repositories with deep history

Merge detection can be very slow for repositories with deep history,
because as currently defined it has to walk through the whole ancestry
of a given target commit looking for "mainline" (first parent only)
commits that introduce a merge of any of the given source commits. In
particular, this often times out for Linux kernel repositories.

However, we can do much better. Merge proposals are normally only
created in Launchpad once the target branch has been scanned, and we can
reasonably assume that when a merge proposal is created it won't yet
have been merged. This means that Launchpad can tell turnip's
`detect-merges` API to stop walking through history whenever it
encounters the commit that it had previously scanned on the target
branch, and then we only have to look through the changes introduced by
a push rather than the entire history of the branch. This should be
much less likely to time out.

(See also
https://code.launchpad.net/~cjwatson/turnip/+git/turnip/+merge/445341.)

LP: #1955040

4b7a45b... by Colin Watson

Refactor queries in PublishingSet.getBuildsForSourceIds

`PublishingSet.getBuildsForSourceIds` made one database query to work
out the set of build IDs (in an inefficient way that pulled a lot more
data back into Python than needed), and then a second query to get the
full result set to return. Refactor this to do all the work in a single
query.

The approach I've taken here also moves the `BinaryPackageBuild` parts
of the query into a left join, which should soon make it easier to
extend this method to support CI builds as well.

408d2ce... by Colin Watson

charm: Set up Apache relation for ftpmaster-publisher

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