~racb/git-ubuntu:pylint-bug-workaround

Last commit made on 2019-10-15
Get this branch:
git clone -b pylint-bug-workaround https://git.launchpad.net/~racb/git-ubuntu
Only Robie Basak can upload to this branch. If you are Robie Basak please log in for upload directions.

Branch merges

Branch information

Name:
pylint-bug-workaround
Repository:
lp:~racb/git-ubuntu

Recent commits

7de260e... by Robie Basak

Work around pylint/astroid bug

astroid appears to have a bug causing pylint to return a false positive:
https://github.com/PyCQA/pylint/issues/3137

This was apparently introduced in astroid 2.3, so hold back from using
it to work around the problem since this is causing our CI to fail.

pylint 2.4 requires astroid 2.3 without declaring it
(https://github.com/PyCQA/pylint/issues/3022) so additionally we also
need to hold back from using pylint 2.4 to avoid hitting this other
failure.

06e9485... by Andreas Hasenack

Add containerd and runc to the whitelist

2efefa3... by Andreas Hasenack

Add wireguard to the whitelist

f92052a... by Robie Basak

Merge remote-tracking branch 'bryce/fix_derive_codename_from_series.4'

aba8a84... by Bryce Harrington

source_information: Document derive_codename_from_series()

ab13fda... by Bryce Harrington

source_information: Fix ubuntu series lookup

Corrects an issue found by coverity:

  usd-importer/gitubuntu/source_information.py:107:
    copy_paste_error: "u_ddi" in "_ddi.codename" looks like a copy-paste error.
  usd-importer/gitubuntu/source_information.py:107:
    remediation: Should it say "u_udi" instead?

The code is erroneously using the Debian implementation of codename(),
which translates aliases ('unstable', 'testing', etc.) to the release
codenames ('sid', 'buster', etc.) Fortunately, if it doesn't match
anything it just returns the release name passed to it, which is exactly
what the Ubuntu implementation of codename() does.

Thus, even though the code is incorrect, it's behavior will always be
correct in practice. Thus this fix corrects a purely theoretical
problem, not one that would produce invalid behavior.

Drop xfail now that the bug is fixed

8066ff2... by Bryce Harrington

source_information: Add tests for derive_codename_from_series()

Provide a set of test cases for source_information's
derive_codename_from_series() routine.

The first two test cases check ordinary usage, simple codename->codename
and alias->codename lookups (i.e. 'bionic'->'bionic', and
'unstable'->'sid' respectively). The third test checks that invalid
input triggers an exception as expected. These three tests depend on
the external distro-info and distro-info-data packages.

The last test provides a mock of the DebianDistroInfo class that
includes stricter input checking for its codename() routine. This test
case identifies a code error in derive_codename_from_series() that was
found via Coverity.

9b20d68... by Andreas Hasenack

Add debian-multimedia to whitelist

Since it was in g-u already, it was probably manually improted before.
Situation brought to our attention in
https://code.launchpad.net/~rosco2/ubuntu/+source/debian-multimedia/+git/debian-multimedia/+merge/361255

b279439... by Andreas Hasenack

blacklist linux-oem (~150Mb large source package)

0a289d3... by Andreas Hasenack

Update the Debian keyring package