~andrey-fedoseev/launchpad:uct-import-export-break-fix

Last commit made on 2022-11-30
Get this branch:
git clone -b uct-import-export-break-fix https://git.launchpad.net/~andrey-fedoseev/launchpad
Only Andrey Fedoseev can upload to this branch. If you are Andrey Fedoseev please log in for upload directions.

Branch merges

Branch information

Name:
uct-import-export-break-fix
Repository:
lp:~andrey-fedoseev/launchpad

Recent commits

d62597c... by Andrey Fedoseev

UCT import/export: handle the `break-fix` entries

For each `break-fix` entry create a `BugPresence` instance linked to the default git repository of the project (if exists)

If a `break-fix` entry includes multiple git commits in the "fixed" section it means that either of them fixes the issue. So, we create multiple `BugPresence` instances, one per commit listed in the "fixed" section.

Items such as `local-CVE-2022-23222-fix` are currently ignored

Succeeded
[SUCCEEDED] docs:0 (build)
[SUCCEEDED] lint:0 (build)
[SUCCEEDED] mypy:0 (build)
13 of 3 results
460e925... by Andrey Fedoseev

Add `BugPresence` model

It represents a range of versions or git commits in which the bug was present.

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

Avoid false positives in navigation to upload logs for builds

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

f29302c... by Colin Watson

Handle translation export upload failures

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

fab8803... by Colin Watson

Handle translation export upload failures

If a translation export fails to upload to the librarian (perhaps
because it's enormous), then we should mark the export as failed, notify
the requester, and move on with the next export request. Otherwise we
can end up blocking the export queue forever.

LP: #1998037

bea900e... by Colin Watson

Avoid unnecessary queries in BuilderResource vocabulary

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

58151c7... by Colin Watson

Avoid unnecessary queries in BuilderResource vocabulary

Using a `SimpleVocabulary` means we have to find the available terms
before instantiating the vocabulary. Reimplement this a bit more
manually to avoid that problem.

82a213a... by Colin Watson

Add BuilderResource vocabulary tests

1b15b84... by Andrey Fedoseev

Display info message when user tries to authorize store upload for snap that isn't registered

Merged from https://code.launchpad.net/~andrey-fedoseev/launchpad/+git/launchpad/+merge/433778

064c8df... by Andrey Fedoseev

Display info message when user tries to authorize store upload for snap that isn't registered

Previously, that would cause an Internal Server Error

LP: #1997565

Succeeded
[SUCCEEDED] docs:0 (build)
[SUCCEEDED] lint:0 (build)
[SUCCEEDED] mypy:0 (build)
13 of 3 results