~cjwatson/launchpad:db-narrow-bpr-ci-build-unique-index-cleanup

Last commit made on 2022-06-22
Get this branch:
git clone -b db-narrow-bpr-ci-build-unique-index-cleanup 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:
db-narrow-bpr-ci-build-unique-index-cleanup
Repository:
lp:~cjwatson/launchpad

Recent commits

c251357... by Colin Watson

Drop BPR (ci_build, binarypackagename) index

Replaced by a unique index that also includes
`BinaryPackageRelease.binpackageformat`.

3807cd1... by Patch Queue Manager <email address hidden>

Automatic merge from stable up to 43f814891a75

43f8148... by Colin Watson

Fix test failures due to CIBuildUploadJob limiting by format

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

c3cd5dd... by Colin Watson

Fix test failures due to CIBuildUploadJob limiting by format

ab21457... by Colin Watson

Apply format-specific checks to BPR.binarypackagename

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

f379b3c... by Colin Watson

Give _validate_bpr_name a docstring and a type annotation

f8f819e... by Colin Watson

Import as debian_name_pattern for symmetry

2399e53... by Colin Watson

Limit files uploaded by CIBuildUploadJob by repository format

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

6aa07b0... by Colin Watson

Limit files uploaded by CIBuildUploadJob by repository format

If an archive has `repository_format=PYTHON`, then we only want to
upload Python wheels to it, not Conda packages (and so on). Make
`CIBuildUploadJob` limit the files it uploads based on the target
archive's repository format.

1c17126... by Colin Watson

Apply format-specific checks to BPR.binarypackagename

This allows us to apply different rules to different packaging formats.
It won't be effective until the database constraint on
`BinaryPackageName.name` is dropped, but applying this first allows us
to do so without weakening the rules for Debian-format packages.