~nacc/git-ubuntu:script-add-options

Last commit made on 2018-02-28
Get this branch:
git clone -b script-add-options https://git.launchpad.net/~nacc/git-ubuntu
Only Nish Aravamudan can upload to this branch. If you are Nish Aravamudan please log in for upload directions.

Branch merges

Branch information

Name:
script-add-options
Repository:
lp:~nacc/git-ubuntu

Recent commits

0b10138... by Nish Aravamudan

self-test: fix coverage

When running the self-test app from a directory that happens to contain
a gitubuntu Python package (e.g., the Git repository), we get a false
empty coverage report because the local pacakge is used to check
coverage.

5130aea... by Nish Aravamudan

scriptutils_test: add some more testing of whitelist

69fd05f... by Nish Aravamudan

source-package-walker: fix use_whitelist default

We need to specify the default value for the variable, not the option.

This script was ignoring the whitelist by default before this fix.

980123b... by Nish Aravamudan

source-package-walker: add --reimport

When we are linearly walking packages, to ramp-up for a new phasing
value, we might also need to reimport them. Add a flag which we can pass
down to the common code.

9c9f0a4... by Nish Aravamudan

source-package-walker.py: drop stray print

56480c7... by Nish Aravamudan

scripts: add unit tests for should_import_srcpkg

Baseline to ensure that the the function is correct for a few obvious
cases.

LP: #1734905

4af7a4a... by Nish Aravamudan

snap: add scripts to the snap

b17ebf0... by Nish Aravamudan

scripts: move to bin and gitubuntu

Executables go in bin/ and the utils code goes in gitubuntu.

d2b04ec... by Nish Aravamudan

snap: add self-test application

We have run into issues between our test environment and our snapped
environment in the past. Add an application to our snap that will run
the lint and unittests "as installed".

This also requires:
 - specifying no cache to pytest in the wrapper script.
 - specifying a temporary coverage data file, which we remove.

cedee8d... by Nish Aravamudan

git-ubuntu: add dependency on pytest-cov

Version specified is in Bionic.