ubuntu-debuginfod:prepare-poller-for-ppa-support

Last commit made on 2023-03-08
Get this branch:
git clone -b prepare-poller-for-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:
prepare-poller-for-ppa-support
Repository:
lp:ubuntu-debuginfod

Recent commits

d561d51... by Sergio Durigan Junior

Implement Bryce's suggestions

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

4c11d38... by Sergio Durigan Junior

ddebpoller.py: Extend get_{ddebs,sources} to support other archives

The main goal here is to support PPA archives.

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

a2d2dab... by Sergio Durigan Junior

ddebpoller.py: Adjust __init__'s signature to accomodate new parameters

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

2265482... by Sergio Durigan Junior

Move _get_normal_and_real_timestamps from ddebpoller to debugpoller

Adjust several other things as well:

- Move TIMESTAMP_DELTA.

- Set self._module_name.

- Create _get_timestamp_filename.

- Adjust _get_timestamp and record_timestamp.

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

4aa06bb... by Sergio Durigan Junior

debugpoller.py: New __init__ parameter "anonymous"

This parameter should be used when we need to perform authenticated
operations against Launchpad. In this case, the poller will login
first.

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

8af8007... by Sergio Durigan Junior

debugpoller.py: New __init__ parameter "fetch_all_on_first_run"

This parameter should be used when we're running the poller for the
first time and want to (re)build the entire poll.

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

db1a908... by Sergio Durigan Junior

Improve request validation

Also, create a new do_process_request function that generalizes the
processing of requests. This new function will be used by the
upcoming PPA support code.

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

9dbd15c... by Sergio Durigan Junior

ddebgetter.py: Improve _download_source_code to allow skipping git fallback

It's not always a good idea to fallback to git when fetching source
code information from dscs fails, because git-ubuntu doesn't index all
kinds of archives (PPAs, for example).

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

e3cd7b2... by Sergio Durigan Junior

debuggetter.py: Implement support for using credentials when downloading

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

90c90b0... by Sergio Durigan Junior

{ddeb,debug}getter.py: Allow subdir to be modifiable

__init__'s subdir parameter should be modifiable in order to prepare
for the upcoming PPA support.

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