ubuntu-debuginfod:implement-ppa-support

Last commit made on 2023-03-13
Get this branch:
git clone -b implement-ppa-support https://git.launchpad.net/ubuntu-debuginfod
Only Sergio Durigan Junior can upload to this branch. If you are Sergio Durigan Junior please log in for upload directions.

Branch merges

Branch information

Name:
implement-ppa-support
Repository:
lp:ubuntu-debuginfod

Recent commits

88214de... by Sergio Durigan Junior

conf/*.service: Only start the services when LP credentials exist

Signed-off-by: Sergio Durigan Junior <email address hidden>

eda21b7... by Sergio Durigan Junior

ddebgetter.py: Log when credentials are being used to download

Signed-off-by: Sergio Durigan Junior <email address hidden>

bdae4d9... by Sergio Durigan Junior

debuggetter.py: Adjust LP URL when downloading authenticated

We need to fetch from "https://api.launchpad.net/devel/..." instead of
"https://launchpad.net/...".

Signed-off-by: Sergio Durigan Junior <email address hidden>

4d002ab... by Sergio Durigan Junior

c/*.service: Adjust to provide credentials

We need to provide the credentials file to the service. Also, make
sure we're able to read necessary pathnames and use the new default
file for ubuntu-debuginfod-poll-lp.

Signed-off-by: Sergio Durigan Junior <email address hidden>

5096768... by Sergio Durigan Junior

c/ubuntu-debuginfod-poll-lp.default: New defaults file

We can now disable polling certain types of archives.

Signed-off-by: Sergio Durigan Junior <email address hidden>

10e38ab... by Sergio Durigan Junior

poll_launchpad.py: Support polling PPAs

This required a bit of a refactoring in the way we record entries into
the database.

Signed-off-by: Sergio Durigan Junior <email address hidden>

500ab03... by Sergio Durigan Junior

debuginfod.py: New tasks for PPAs

Signed-off-by: Sergio Durigan Junior <email address hidden>

a44dfce... by Sergio Durigan Junior

ppagetter.py: New getter for PPAs and private PPAs

Signed-off-by: Sergio Durigan Junior <email address hidden>

c5d50c7... by Sergio Durigan Junior

ppapoller.py: New poller for PPAs and private PPAs

The main idea here is that we'll have two special files:

- ~/.config/ubuntu-debuginfod/ppalist
- ~/.config/ubuntu-debuginfod/ppalist-private

These files will contain the list of PPAs (and private PPAs) that
should be polled by the service.

For regular PPAs, nothing else needs to be done.

For private PPAs, one needs to make sure that the debuginfod bot is
added to the PPA ACL.

Signed-off-by: Sergio Durigan Junior <email address hidden>

a9d81ce... by Sergio Durigan Junior

utils.py: Create new database fields for PPA processing

Signed-off-by: Sergio Durigan Junior <email address hidden>