Last commit made on 2019-10-29
Get this branch:
git clone -b whitelist-ha-coroqdev-pcs-sbd https://git.launchpad.net/~rafaeldtinoco/usd-importer
Only Rafael David Tinoco can upload to this branch. If you are Rafael David Tinoco please log in for upload directions.

Branch merges

Branch information


Recent commits

10907fa... by Rafael David Tinoco on 2019-10-29

Add corosync-qdevice, pcs and sbd to whitelist

5d104bc... by Bryce Harrington on 2019-10-03

Implement a systemd watchdog daemon to run import-source-packages.py

Git Ubuntu's package importing functionality is invoked via the
import-source-packages.py script. Previously, this script would be
manually started, and on error needed manual intervention.

Instead, wrap the script in a systemd service that starts it up
initially and restarts it on crash. A watchdog timer is used to detect
if the script has hung, and restarts it after a suitable delay.

Another service is added for sending emails when the service crashes,
extracting status from the journal. Errors can also be reviewed using
journalctl normally.

By default, everything is configured to be installable in production,
but configuration considerations are covered in documentation. There
are no unit tests for this, however some testing/validation tips are
identified in the documentation.

LP: #1838954

7de260e... by Robie Basak on 2019-10-15

Work around pylint/astroid bug

astroid appears to have a bug causing pylint to return a false positive:

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

06e9485... by Andreas Hasenack on 2019-09-17

Add containerd and runc to the whitelist

2efefa3... by Andreas Hasenack on 2019-09-17

Add wireguard to the whitelist

f92052a... by Robie Basak on 2019-08-07

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

aba8a84... by Bryce Harrington on 2019-07-12

source_information: Document derive_codename_from_series()

ab13fda... by Bryce Harrington on 2019-07-10

source_information: Fix ubuntu series lookup

Corrects an issue found by coverity:

    copy_paste_error: "u_ddi" in "_ddi.codename" looks like a copy-paste error.
    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 on 2019-07-12

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 on 2019-08-02

Add debian-multimedia to whitelist

Since it was in g-u already, it was probably manually improted before.
Situation brought to our attention in