~jugmac00/launchpad:update-info-on-code.launchpad.net

Last commit made on 2022-08-05
Get this branch:
git clone -b update-info-on-code.launchpad.net https://git.launchpad.net/~jugmac00/launchpad
Only Jürgen Gmach can upload to this branch. If you are Jürgen Gmach please log in for upload directions.

Branch merges

Branch information

Name:
update-info-on-code.launchpad.net
Repository:
lp:~jugmac00/launchpad

Recent commits

f4c52cb... by Jürgen Gmach

Update information on code.launchpad.net

- added info about git
- removed specific numbers which will get outdated soon again otherwise

3e0d4a7... by Colin Watson

Fix domination of source publications with channels

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

863af21... by Colin Watson

Return proxied object from makeSpecificationWorkItem

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

5cc1260... by Colin Watson

Avoid issuing no-op BuildFarmJob deletion

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

ef37eb4... by Colin Watson

Avoid issuing no-op BuildFarmJob deletion

https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/427772
caused deleting a Git repository to issue a `DELETE FROM BuildFarmJob
...` statement. This caused
`TestGarbo.test_GitRepositoryPruner_removes_stale_creations` to fail due
to lack of `DELETE` permission on the `BuildFarmJob` table.

We could grant garbo that permission. However, since
`GitRepositoryPruner` only affects repositories that never made it out
of the `CREATING` state, they can't actually have any CI build jobs; so
it makes more sense to fix this by just optimizing away that statement
if `build_farm_job_ids` is empty.

6c6f309... by Colin Watson

Return proxied object from makeSpecificationWorkItem

`LaunchpadObjectFactory` issues `UnproxiedFactoryMethodWarning` when its
methods return objects not wrapped in a security proxy, since that tends
to result in tests that are less accurate simulations of production.

This fix required tightening up a few tests.

38c2e11... by Colin Watson

Fix domination of source publications with channels

We need to explicitly pass a `jsonb` operand to `IsDistinctFrom`, as
otherwise it miscompiles to the nonsensical `channel IS DISTINCT FROM
track IS DISTINCT FROM risk IS DISTINCT FROM branch` rather than
`channel IS DISTINCT FROM CAST('[track, risk, branch]' AS jsonb)`.

7f47c05... by Colin Watson

Fix CI build deletion when deleting a Git repository

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

5721a10... by Colin Watson

Fix CI build deletion when deleting a Git repository

We need to delete associated `BuildQueue` and `BuildFarmJob` rows as
well, otherwise various things break if there happens to be a running CI
build for a repository that's being deleted.

12b86b5... by Andrey Fedoseev

Fix the issues in the UCT import script

Merged from https://code.launchpad.net/~andrey-fedoseev/launchpad/+git/launchpad/+merge/427752