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

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

Recent commits

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>

23e6c24... by Sergio Durigan Junior

poll_launchpad.py: Adjust for new binary_package field

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

78eae4b... by Sergio Durigan Junior

ddebpoller.py: Use pkg.binary_package_name as well

Otherwise Celery will ignore jobs for different binary packages who
share the same source package.

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

825e535... by Sergio Durigan Junior

poll_launchpad.py: Adjust timestamp handling

Make sure we're always saving the earliest timestamp in order to not
miss anything.

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

b932be7... by Sergio Durigan Junior

ddebpoller.py: Make timestamp more robust when polling

This commit mimicks what ddeb-retriever does when dealing with
timestamps. This is necessary because we were missing several updates
from LP.

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

2cf6c8c... by Sergio Durigan Junior

debugpoller.py: Save timestamp using seconds-since-epoch format

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

27cd921... by Sergio Durigan Junior

utils.py: Fix typo.

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