~cjwatson/launchpad:soss-source-url-deb

Last commit made on 2023-01-12
Get this branch:
git clone -b soss-source-url-deb https://git.launchpad.net/~cjwatson/launchpad
Only Colin Watson can upload to this branch. If you are Colin Watson please log in for upload directions.

Branch merges

Branch information

Name:
soss-source-url-deb
Repository:
lp:~cjwatson/launchpad

Recent commits

3550818... by Colin Watson

Add an example URL in a comment

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

Add soss.source_url property to Debian binaries in Artifactory

We agreed this in
https://docs.google.com/spreadsheets/d/15Xkdi-CRu2NiQfLoclP5PKW63Zw6syiuao8VJG7zxvw
some time ago in order to make it easier to build automation around
Artifactory, but I managed to forget about it. Fortunately it's
relatively straightforward, since .dsc file names are predictable given
the source name and version.

LP: #1999821

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

publish-distro: Add an --archive option

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

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

publish-distro: Add an --archive option

This fixes an annoyance when performing QA: `publish-distro` already had
`--ppas` options and similar to tell it to run over all archives of a
particular kind, but previously the only way to get it to run over a
single archive was to hack the `is_ppa_public` etc. functions in place.
This option should make publisher QA a little more convenient in future.

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

Drop missing-file warning in Publisher._getCurrentFiles

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

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

Dispatch builder constraints to builders

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

ed8d3c3... by Colin Watson

Drop missing-file warning in Publisher._getCurrentFiles

As part of the recent refactoring in commit
82dfb163d64512e0d95af290adbe9b7bade70709, I added a warning if an entry
in an archive's Release file doesn't exist on disk. However, this
actually turns out to be routine and expected; QA testing reminded me
that Release files include entries for uncompressed versions of Packages
and Sources files for the benefit of clients, even though only the
compressed versions exist on disk. Launchpad scripts set up a handler
that logs `WARNING` and higher log messages as OOPSes, so this warning
ends up being unreasonably noisy.

Since the warning is recent and has never been deployed to production,
it's safe to just drop it.

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

Dispatch builder constraints to builders

It seems reasonable to tell the builder which constraints the build has
requested. There are some concrete GPU-related situations where this
will be useful, since we'll need to set up LXD containers in particular
ways.

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

Add type annotations for arguments sent to builders

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

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

Add type annotations for arguments sent to builders

It's difficult to do a completely accurate job of this with Python 3.5,
but we can get most of the benefit (in particular, protection against
simple typos and against passing the wrong type for an argument) from a
single `TypedDict`. The annotation is long and complicated because the
protocol has evolved in quite an ad-hoc way for many years, and a number
of the arguments were difficult to describe concisely without context;
still, the exercise of going through the whole thing was quite a useful
one and found a few forgotten deprecations to clean up.

There should be no functional change from this commit.

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