~laney/germinate:urlopen-timeout

Last commit made on 2021-02-26
Get this branch:
git clone -b urlopen-timeout https://git.launchpad.net/~laney/germinate
Only Iain Lane can upload to this branch. If you are Iain Lane please log in for upload directions.

Branch merges

Branch information

Name:
urlopen-timeout
Repository:
lp:~laney/germinate

Recent commits

eebce4e... by Iain Lane

Make fetching over HTTP have a timeout

Currently we will hang forever if a server doesn't respond to us or our
connection hangs.

Add a timeout to the `urlopen()` call, and retry a few times in case the
problem is transient.

LP: #1912495

ae1ae13... by Colin Watson

releasing package germinate version 2.36

97d065d... by Colin Watson

Add changelog entry for previous commit

384384a... by Christian Ehrhardt 

improve ordering of rescued packages (LP: #1895106)

The console output as well as the generated files are non
reproducible due to a set being used when iterating the auto-included
packages.

Converting that iteration to a sorted list makes the output stable from
one executuion to another in the created files as well as the console
output.

Signed-off-by: Christian Ehrhardt <email address hidden>

122e910... by Colin Watson

releasing package germinate version 2.35

e6f8c63... by Colin Watson

Add changelog entry for previous commit

9c2d133... by Colin Watson

Merge remote-tracking branch 'paride/fix-duplicate-handling'

c28042d... by Colin Watson

Add changelog entry for previous commit

ed4e1e7... by Paride Legovini

germinate_update_metapackage: fix duplicates handling

Fix handling of packages seeded multiple times by always storing them in
Python sets.

LP: #1905987

e535bb6... by Christian Ehrhardt 

report architecture of unknown dependencies

Since the deprecation and partial removal of i386 it is more and more
common that we miss out on packages on i386.

As of today cjwatson changed the sample run we generally look at
to use amd64 by default but for the final component mismatch it will
still seed all architectures as can be seen in the joint log at [1].

It will be helpful to see on a given error line which architecture
triggered a given Unknown dependency without scrolling up/down to check
which sub-run that is.

Before:
? Unknown server-ship package: lftp
? Unknown dependency default-mta by logcheck
After:
? Unknown package lftp for seed supported-misc-servers on arch i386
? Unknown dependency default-mta by logcheck on arch i386

Both kind of warnings turned out to be often misleading as one would
usually have checked amd64 and wondered as things clearly were there.

[1]: https://people.canonical.com/~ubuntu-archive/extra-germinate-output

Signed-off-by: Christian Ehrhardt <email address hidden>