~ghoust88/launchpad/+git/launchpad-3:ocirecipe-private-accesspolicy

Last commit made on 2021-03-23
Get this branch:
git clone -b ocirecipe-private-accesspolicy https://git.launchpad.net/~ghoust88/launchpad/+git/launchpad-3
Only ghoust88 can upload to this branch. If you are ghoust88 please log in for upload directions.

Branch merges

Branch information

Name:
ocirecipe-private-accesspolicy
Repository:
lp:~ghoust88/launchpad/+git/launchpad-3

Recent commits

6dac14c... by Thiago F. Pappacena

Merge branch 'master' into ocirecipe-private-accesspolicy

4b58b6e... by Colin Watson

Downgrade to PyYAML 5.3.1

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

1b6ec46... by Ioana Lasc

Add API to see repack stats for one repo

Merged from https://code.launchpad.net/~ilasc/launchpad/+git/launchpad/+merge/399851

5b56401... by Ioana Lasc

Make repack stats not required on interface

fab91e2... by Thiago F. Pappacena

Style adjustments and fixing docs

aa06293... by Thiago F. Pappacena

Validating privacy changes on OCI recipe

2a86dc6... by Colin Watson

Downgrade to PyYAML 5.3.1

Upgrading to 5.4.1 was a bit too ambitious, because 5.4.0 dropped
support for Python 3.5 which we still need on xenial.

cd8cd41... by Colin Watson

Generate empty override and file list files where necessary

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

79d8a4f... by Thiago F. Pappacena

Redirecting snaps with pillar to stay under ~user/pillar URL

Merged from https://code.launchpad.net/~pappacena/launchpad/+git/launchpad/+merge/399025

c4cee49... by Colin Watson

Generate empty override and file list files where necessary

Commit 25ce0c1d87 stopped `FTPArchive.createEmptyPocketRequests` from
writing empty override and file list files for all suites/components,
instead merely making sure that they exist. However, this broke in the
case where a suite/component (or suite/component/architecture) was
non-empty and then became empty, because the previous non-empty
overrides and file lists were left in place.

To avoid this, ensure that `FTPArchive.publishOverrides` writes override
files for all relevant components, and that
`FTPArchive.publishFileLists` writes file list files for all relevant
components/architectures; these may be empty if there are no
publications in the corresponding contexts. This doesn't suffer from
the problem that the aforementioned commit was fixing, because these
files are put in place atomically.

It's possible that this comes close to making
`FTPArchive.createEmptyPocketRequests` entirely unnecessary, but I
haven't yet tried to remove it.