~ines-almeida/launchpad:pro-enable-core18/fix-unit-tests

Last commit made on 2023-10-23
Get this branch:
git clone -b pro-enable-core18/fix-unit-tests 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:
pro-enable-core18/fix-unit-tests
Repository:
lp:~ines-almeida/launchpad

Recent commits

3bee7b2... by Ines Almeida

Fix failing pro-enable unit test

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

Fix failing pro-enable unit test

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

Exclude archive dependencies that are private unless snap is pro_enable

Add 'pro_enable' attribute to snap admin UI

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

e21dce7... by Ines Almeida

Fix typo

Failed
[SUCCEEDED] docs:0 (build)
[FAILED] lint:0 (build)
[WAITING] mypy:0 (build)
13 of 3 results
022ff7a... by Ines Almeida

Add 'pro_enable' attribute to snap admin UI

0bbfda2... by Ines Almeida

Exclude archive dependencies that are private unless snap is pro_enable

2fed4bf... by Ines Almeida

Add new pro_enable attribute to Snap models, plus DB backfilling logic

This new bool will later determine whether a snap can use private dependencies.
Initially this attribute is NULL in the database, and will be backfilled daily, a chunk at a time. As such, we add both `_pro_enable` (the actual DB value) and `pro_enable` as a model property that determines the `pro_enable` value if one isn't set in the DB yet.

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

add27ba... by Ines Almeida

Prevent snap pro-enable test from failing once DB restriction patch is applied

Failed
[SUCCEEDED] docs:0 (build)
[FAILED] lint:0 (build)
[WAITING] mypy:0 (build)
13 of 3 results
8b9525c... by Colin Watson

Remove/rename unused loop variables

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

11b5b04... by Colin Watson

Remove some unnecessary uses of dict.items