~samkenx/launchpad/+git/launchpad-1:db-stable

Last commit made on 2023-06-06
Get this branch:
git clone -b db-stable https://git.launchpad.net/~samkenx/launchpad/+git/launchpad-1
Only SamKenXStream can upload to this branch. If you are SamKenXStream please log in for upload directions.

Branch merges

Branch information

Name:
db-stable
Repository:
lp:~samkenx/launchpad/+git/launchpad-1

Recent commits

80bc01c... by Patch Queue Manager <email address hidden>

Automatic merge from stable up to 2edb915d3e46

Succeeded
[SUCCEEDED] docs:0 (build)
[SUCCEEDED] lint:0 (build)
[SUCCEEDED] mypy:0 (build)
13 of 3 results
3177c8f... by Patch Queue Manager <email address hidden>

Automatic merge from stable up to ef06a414bbc1

2edb915... by Ines Almeida

Merge db-stable 9e141a003ef694f516d8127167c859248fa42c4f (add columns to webhooks table)

Update constraint to make sense with the new columns

Merged from https://code.launchpad.net/~ines-almeida/launchpad/+git/launchpad/+merge/444188

8f1bf42... by Colin Watson

charm: Serve favicons from assets charm

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

ef06a41... by Peter Makowski

feat: vanilla tabs style
- increase base font-size

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

f51e0fb... by Colin Watson

Fix initial setup of remote databases

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

e989e53... by Colin Watson

Fix initial setup of remote databases

`utilities/pgoptions.py` is only used by `database/schema/Makefile`, and
almost all the places where its output is used override the database
name. The only place that doesn't is the code to check whether the
`session_dev` database already exists before creating it.

The database options generated from the `launchpad-admin` config include
`--dbname=launchpad_dev`, and when creating a new set of databases from
scratch and checking whether `session_dev` exists, `launchpad_dev`
doesn't exist yet - so as a result we got `psql: error: FATAL: database
"launchpad_dev" does not exist`, and `session_dev` never got created.

Simply dropping the `--dbname` option from the output fixes this.

e1a43ac... by Peter Makowski

feat: increase base font-size

cddd861... by Peter Makowski

feat: vanilla tabs style

79c2036... by Colin Watson

charm: Serve favicons from assets charm

This allows us to serve these files from the frontends without hitting
the appservers. I'm not sure why we serve
`lib/canonical/launchpad/images/launchpad.png` here rather than
`lib/canonical/launchpad/images/favicon.ico` (and regardless of file
extension, too!), but this is what we currently do on production so I
thought it best to start by matching the existing setup.

I think in practice most browsers will prefer the icons declared in HTML
via `lib/lp/app/templates/base-layout.pt`, but it doesn't hurt to serve
these files too.