~cjwatson/launchpad:refactor-pgsession-queries

Last commit made on 2023-02-23
Get this branch:
git clone -b refactor-pgsession-queries 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:
refactor-pgsession-queries
Repository:
lp:~cjwatson/launchpad

Recent commits

1fe67cd... by Colin Watson

Refactor PGSession queries to reduce manual SQL

Pushing the special handling for old session pickles saved by Python 2
down to the `SessionPkgData` model and adding some named function
declarations allows us to make quite effective use of Storm's query
compiler, eliminating some manually-constructed SQL and giving us better
type annotations.

It's possible that at least the dump compatibility with Python 2 can now
be removed, but I deliberately haven't attempted that in this commit:
this should be a pure refactoring with no functional change.

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

Show built files on CIBuild:+index

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

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

Add XXX comment for ProxiedLibraryFileAlias.getURL gotcha

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

Remove the typo leading space in the distribution widget empty values

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

bd38e5d... by Guruprasad

Remove the typo leading space in the distribution widget empty values

b826c8b... by Colin Watson

Allow making non-empty Artifactory PPAs private

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

b113d76... by Colin Watson

Handle "all" in snapcraft architectures declaration

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

47cbbc9... by Colin Watson

Allow making non-empty Artifactory PPAs private

The reasons why we can't change the privacy of non-empty
locally-published PPAs don't quite apply in the Artifactory case. There
are still some reasons to be careful, but we can at least give ourselves
the ability to fix the failure mode where we've forgotten to make an
archive private.

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

Show built files on CIBuild:+index

Most build types show links to their output files on their index page,
and it was odd that CI builds didn't; it also made certain kinds of
debugging more difficult.

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

Handle "all" in snapcraft architectures declaration

This has apparently been supported by snapcraft for quite some time, but
we overlooked it while implementing `architectures` in Launchpad.
Reported by James Henstridge.

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