~andrey-fedoseev/launchpad:cve-discovered-by

Last commit made on 2022-09-28
Get this branch:
git clone -b cve-discovered-by https://git.launchpad.net/~andrey-fedoseev/launchpad
Only Andrey Fedoseev can upload to this branch. If you are Andrey Fedoseev please log in for upload directions.

Branch merges

Branch information

Name:
cve-discovered-by
Repository:
lp:~andrey-fedoseev/launchpad

Recent commits

0dc9a35... by Andrey Fedoseev

UCT import/export: handle the `cve.discovered_by` field

Succeeded
[SUCCEEDED] docs:0 (build)
[SUCCEEDED] lint:0 (build)
[SUCCEEDED] mypy:0 (build)
13 of 3 results
e131d70... by Andrey Fedoseev

Replace `Cve.discoverer` with `discovered_by`

`Cve.discoverer` is a reference to a `Person`, but it doesn't really work with the real data in Ubuntu CVE Tracker.

In UCT, `Discovered-By` is a free-form field which usually contains name of one or more people or an organization name which is impossible to map to a `Person`.

We agreed that a plain text field would work better for this case.

e1bf448... by Andrey Fedoseev

UCT import: use `Packaging` model for `upstream`

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

c97c127... by Colin Watson

Support generic Artifactory repositories

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

b4759d1... by Colin Watson

Update sampledata

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

a63cf34... by Colin Watson

number-cruncher: Don't send null gauges to statsd

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

51d7c86... by Colin Watson

Allow setting launchpad_session.dbuser to None

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

1e2f998... by Colin Watson

Fix the condition for dispatching tokens for private source files

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

f897ffa... by Colin Watson

Allow setting launchpad_session.dbuser to None

In a charmed deployment, the PostgreSQL charm will provide us with a
full connection string including the user, and we won't want to override
that. Allow setting `config.launchpad_session.dbuser` to None to
disable the arrangements that currently let us override the user on a
per-deployment basis. This has no effect on existing deployments.

ccbf3a5... by Colin Watson

Fix the condition for dispatching tokens for private source files

If a librarian request has a token, then the librarian will only serve
restricted files. In the case of source package release files, this
isn't quite synonymous with files in private archives: source files in
private archives may be unrestricted if the same source package is also
published in a public archive. Only dispatch tokens for source files
that are actually restricted.