~tsimonq2/launchpad:buildinfo-lp1686242

Last commit made on 2023-08-04
Get this branch:
git clone -b buildinfo-lp1686242 https://git.launchpad.net/~tsimonq2/launchpad
Only Simon Quigley can upload to this branch. If you are Simon Quigley please log in for upload directions.

Branch merges

Branch information

Name:
buildinfo-lp1686242
Repository:
lp:~tsimonq2/launchpad

Recent commits

e721bd2... by Simon Quigley

Include buildinfo files in source and binary records for an upload (LP: #1686242)

When buildinfo files are uploaded, either by the packager or the buildd daemon,
they are stored by the librarian but not referenced in SourcePackageReleaseFile or
BinaryPackageFile appropriately. This adds the appropriate references, allowing the
files to be shown on the page.

Succeeded
[SUCCEEDED] docs:0 (build)
[SUCCEEDED] lint:0 (build)
[SUCCEEDED] mypy:0 (build)
13 of 3 results
bf9286d... by Jürgen Gmach

Fix typos in stringformatter.py

Merged from https://code.launchpad.net/~jugmac00/launchpad/+git/launchpad/+merge/448510

2192947... by Jürgen Gmach

Fix typos in stringformatter.py

422d70b... by Colin Watson

Commit after running SET ROLE

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

5360674... by Jürgen Gmach

Improve docstrings in the run-parts module

Merged from https://code.launchpad.net/~jugmac00/launchpad/+git/launchpad/+merge/448090

43c8d5f... by Peter Makowski

update Ubuntu Mono variable font
- add Ubuntu variable font

Merged from https://code.launchpad.net/~petermakowski/launchpad/+git/launchpad/+merge/447969

be26983... by Colin Watson

Commit after running SET ROLE

In charmed deployments configured with `set_role_after_connecting:
True`, we execute a `SET ROLE` command immediately after connecting to
the database. However, according to
https://www.postgresql.org/docs/10/sql-set.html which is referenced by
https://www.postgresql.org/docs/10/sql-set-role.html, the effects of the
`SET` command disappear if the transaction is rolled back. We must
therefore commit the transaction to ensure that the effects persist
until the end of the session.

I strongly suspect that this is why we've been seeing `buildd-manager`
sometimes running as the wrong database role: it's to be expected that
Launchpad code will roll back transactions sometimes, for example as
part of handling an exception, and if that happened to be one of the
first things that `buildd-manager` did then we'd see this effect.

539bd1d... by Colin Watson

charm: Fix final part name

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

a53ab5b... by Guruprasad

charm/launchpad-scripts-bzrsyncd: Add missing config to the celerybeat service

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

b78d4de... by Colin Watson

charm: Fix final part name

The example in
https://juju.is/docs/sdk/charmcraft-yaml#heading--the-reactive-plugin
calls the final (and in that case only) part "charm". I'd thought that
was just an example. However, as of
https://github.com/canonical/charmcraft/commit/35adadf42c625c5ee5ed6d611c9bdec10413ae59
in charmcraft 2.4.0, calling the final part anything else causes charms
to be misbuilt; they end up containing unmodified copies of the
top-level `actions.yaml`, `config.yaml`, and `metadata.yaml` files
rather than merging the information provided by each layer.