~tdj334/launchpad:stable

Last commit made on 2022-07-27
Get this branch:
git clone -b stable https://git.launchpad.net/~tdj334/launchpad
Only Tiffany can upload to this branch. If you are Tiffany please log in for upload directions.

Branch merges

Branch information

Name:
stable
Repository:
lp:~tdj334/launchpad

Recent commits

23ea754... by Andrey Fedoseev

Infer vulnerability status based on the parent folder of the CVE file.

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

c5a29d7... by Guruprasad

Add a unique partial index on AccessArtifact(vulnerability)

And validate the replaced `has_artifact` constraint

Merged from https://code.launchpad.net/~lgp171188/launchpad/+git/launchpad/+merge/427208

0e281d5... by Guruprasad

Merge db-stable 14771964f7 Add the VulnerabilitySubscription table

Merged from https://code.launchpad.net/~lgp171188/launchpad/+git/launchpad/+merge/427425

ef6b306... by Colin Watson

Fix syntax oddities in some doctests

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

11e9afe... by Colin Watson

Fix syntax oddities in some doctests

Apparently not all of these are actually executed in test runs for one
reason or another, but they confuse `blackdoc`.

The mismatched docstring delimiters would normally just be ugly, but
they cause `blackdoc` to crash, which I've reported as
https://github.com/keewis/blackdoc/issues/131.

0eb8333... by Colin Watson

Upgrade to rabbitfixture 0.5.1

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

c1b7dfe... by Colin Watson

Inline relevant parts of zope.app.wsgi

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

2928aa0... by Colin Watson

Inline relevant parts of zope.app.wsgi

This removes a number of packages from the virtualenv:

  ZConfig
  ZODB
  zc.lockfile
  zdaemon
  zodbpickle
  zope.app.appsetup
  zope.app.wsgi
  zope.minmax
  zope.session
  zope.site

This saves perhaps 5% off startup time (measured by median of five runs
of `bin/py -c ''`), 10% off the time taken to execute ZCML (measured by
median of five runs of `bin/harness </dev/null`), and paves the way for
some further improvements by generally trimming cruft from our
dependency tree.

I considered instead pruning the tree by making `ZODB` an optional
dependency of `zope.app.appsetup`, or something along those lines.
However, like much of `zope.app`, `zope.app.appsetup` and
`zope.app.wsgi` are fundamentally built around the assumption of running
the full Zope application server. Launchpad uses the Zope Component
Architecture and many Zope Toolkit components (which are intended for
use in various different application server environments), but it isn't
built around the Zope application server, and we've had to work around
some resulting impedance mismatches for a long time. Architecturally, I
think it would be better to let `zope.app` do its own thing as
appropriate for that application server environment, and remove the
relatively small number of remaining uses of it from Launchpad.

46af585... by Colin Watson

Upgrade to rabbitfixture 0.5.1

This fixes a race condition that sometimes causes spurious test failures
on teardown.

838936a... by Colin Watson

Retry file downloads from builders

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