~akashraoind-deactivatedaccount/ubuntu-dev-tools/+git/ubuntu-dev-tools-2:logging

Last commit made on 2021-01-25
Get this branch:
git clone -b logging https://git.launchpad.net/~akashraoind-deactivatedaccount/ubuntu-dev-tools/+git/ubuntu-dev-tools-2
Only akash rao can upload to this branch. If you are akash rao please log in for upload directions.

Branch merges

Recent commits

e23141d... by Dan Streetman

update runnable programs to use logging.getLogger(__name__)

Instead of using ubuntutools.getLogger(), which had some convoluted
'magic' to call logging.basicConfig() on first use of logging, just
use the normal logging.getLogger() and move the basicConfig() call
into an import from ubuntutools.logging_defaults

As the logging_defaults import isn't used, since its purpose is just
to set the logging defaults when imported, include # noqa to avoid
QA errors from e.g. flake8

296249a... by Dan Streetman

sort imports roughly alphabetically

adjusts whitespace lines and roughly alphabetical order, also
attempting to group imports by single/direct imports separated from
the from-import lines.

6e5bf2e... by Dan Streetman

ubuntutools: remove call to logging.basicConfig() when importing ubuntutools

Remove the call to logging.basicConfig() when our library files are imported,
so our library doesn't override a user's desired log config.

Add an optional module that can be loaded to use defined logging defaults.

7dc026e... by Dan Streetman

archive: don't download from archive if using UCA staging ppa

Signed-off-by: Dan Streetman <email address hidden>

960713c... by Dan Streetman

archive: log warnings around 'staging' pocket

The 'staging' pocket contains binaries that don't match published binaries,
so log a warning if we fallback to that pocket, and log a warning if pulling
binaries using that pocket.

Signed-off-by: Dan Streetman <email address hidden>

ff2dde9... by Dan Streetman

archive: add UCA parsing/finding code for UCA releases/pockets

Signed-off-by: Dan Streetman <email address hidden>

d54e228... by Dan Streetman

archive: use UCA Project to find valid UCA release names

Signed-off-by: Dan Streetman <email address hidden>

ec6fe42... by Dan Streetman

archive: simplify PPA source package class

Signed-off-by: Dan Streetman <email address hidden>

db5d4a7... by Dan Streetman

lp: add Project and ProjectSeries classes

Signed-off-by: Dan Streetman <email address hidden>

cb8b442... by Dan Streetman

ubuntutools/pullpkg: add --login parameter

Just in case we want to pull from a private ppa...

Signed-off-by: Dan Streetman <email address hidden>