~ines-almeida/launchpad:db-snap-pro-enable-constraints

Last commit made on 2024-06-07
Get this branch:
git clone -b db-snap-pro-enable-constraints https://git.launchpad.net/~ines-almeida/launchpad
Only Ines Almeida can upload to this branch. If you are Ines Almeida please log in for upload directions.

Branch merges

Branch information

Name:
db-snap-pro-enable-constraints
Repository:
lp:~ines-almeida/launchpad

Recent commits

0a11427... by Ines Almeida

db: update snp.pro_enable schema change to add default false statement

This is relevant so that there is never a time that the value is NULL while creating the snap, which is scenario that can happen while setting the multiple snap fields when creating a new snap - if snap.pro_enable is set after snap.branch (which runs a validator that accesses the DB), then the null constraint will fail because snap.pro_enable is null (instead of false).
This change prevents any of such issues.

Succeeded
[SUCCEEDED] docs:0 (build)
[SUCCEEDED] lint:0 (build)
[SUCCEEDED] mypy:0 (build)
13 of 3 results
fa23922... by Ines Almeida

Re-add "db: add NOT NULL constraint to Snap.pro_enable column"

This re-adds commit c30bd66a4cda8769f3e535140f2e389d7856128f after it was reverted by 12c80df41ce00e550d6ea8ee296fedc3715940ef

Succeeded
[SUCCEEDED] docs:0 (build)
[SUCCEEDED] lint:0 (build)
[SUCCEEDED] mypy:0 (build)
13 of 3 results
07b516e... by Ines Almeida

Revert "db: add NOT NULL constraint to Snap.pro_enable column"

This reverts commit c30bd66a4cda8769f3e535140f2e389d7856128f.

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

12c80df... by Ines Almeida

Revert "db: add NOT NULL constraint to Snap.pro_enable column"

This reverts commit c30bd66a4cda8769f3e535140f2e389d7856128f.

In progress
[WAITING] docs:0 (build)
[WAITING] lint:0 (build)
[WAITING] mypy:0 (build)
13 of 3 results
45dd69a... by Ines Almeida

db: add NOT NULL constraint to Snap.pro_enable column

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

2f106c4... by 🤖 stg-launchpad-buildbot

Automatic merge from stable up to a60fb269857a

a60fb26... by Guruprasad

Fix a bug uncovered by a failing test for local key generation

Also fix a couple of flake8 lint errors.

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

8567ca1... by Guruprasad

Fix a bug uncovered by a failing test for local key generation

df61ed3... by Guruprasad

Fix a couple of flake8 lint errors

bdc718f... by Guruprasad

Propagate only the 4096R key from the default PPA with a 1024R and a 4096R signing key

New, non-default PPAs need not have the legacy 1024-bit RSA signing key.

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