~ghoust88/launchpad/+git/launchpad-3:bugfix-remove-ocirecipe-pushrules

Last commit made on 2020-10-09
Get this branch:
git clone -b bugfix-remove-ocirecipe-pushrules 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:
bugfix-remove-ocirecipe-pushrules
Repository:
lp:~ghoust88/launchpad/+git/launchpad-3

Recent commits

67962f5... by Thiago F. Pappacena

Removing associated push rules when deleting an OCI recipe

844f376... by Thiago F. Pappacena

Use IOCIRecipeRequestBuildsJobSource when requesting builds from the web interface

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

f257e1f... by Colin Watson

Work around readline crash in Python 3 on 18.04

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

731e8cc... by Colin Watson

Switch conditional order

six.PY3 does rather less work than distro.linux_distribution(), so
evaluate the cheaper one first.

a368dd8... by Colin Watson

Work around readline crash in Python 3 on 18.04

On 18.04, importing GTK (which we do in lp.testing.html5browser)
indirectly loads libedit, and versions of Python 3 before 3.8.1 crash
when importing readline in a process that has libedit loaded
(https://bugs.python.org/issue38634,
https://bugs.launchpad.net/bugs/1899076). As a result the test suite
crashes quite early on.

There's unfortunately no reasonable way to avoid this, because we aren't
loading libedit directly and nor are we importing readline directly;
they're both quite deeply-buried side-effects of other things. We have
to take an unreasonable way instead: stub out the readline module in the
test suite on affected systems. This is deliberately kept as narrow as
possible, and we should drop it if and when the Python bug is fixed in
Ubuntu 18.04 or we no longer care about trying to get Launchpad to run
on Python 3 on 18.04.

781851f... by Tom Wardill

Use layer tar sizes in registry upload

Merged from https://code.launchpad.net/~twom/launchpad/+git/launchpad/+merge/391926

a8ad1da... by Tom Wardill

Use layer tar sizes in registry upload

d03c511... by Colin Watson

Port logger_options to Python >= 3.4

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

60fa464... by Colin Watson

Fix "make schema" on Python 3

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

eca1690... by Colin Watson

Run schema-management programs directly, not with bin/py

Running Python programs in the Launchpad tree with bin/py doesn't quite
work on Python 3; it's necessary to pass the -S flag as well to avoid
confusion with the wrong site module. But it's also unnecessary
complexity, because all of these programs are executable and import
_pythonpath which will re-exec them with the correct Python executable
from the virtualenv if necessary; so just run them directly.