~nacc/git-ubuntu:lp1734905-script-snap

Last commit made on 2018-02-23
Get this branch:
git clone -b lp1734905-script-snap 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:
lp1734905-script-snap
Repository:
lp:~nacc/git-ubuntu

Recent commits

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.

1243ba1... by Nish Aravamudan

scriptutils.pool_map_import_srcpkg: properly handle num_workers=0

Do not create a pool, just run map().

6946b4f... by Nish Aravamudan

scripts: drop methodname from docstrings

ef82b19... by Nish Aravamudan

scripts/update-repository-alias: pass should_import_srcpkg args by keyword

72d0670... by Nish Aravamudan

snap: use people.canonical.com cache of tarballs

Periodically we see CI or snap build failures due to Git
hangups or timeouts. We do not need rich history to build,
so just create a `git archive` (instructions in the yaml)
which we put in a well-defined public location and use
those tarballs.

This should speed up building without any changes.

9d4b359... by Nish Aravamudan

tests: changelog test files should move to pkg_resources

In order to access the changelog files regardless of running from the
Git repository or the snap, we need to have the test files in the
package and available via pkg_resources.

This should be done for all future testing infrastructure as we add it,
as well.

089c1e0... by Robie Basak

Factor out duplicate code

Now that we have the get_spec_changelog_version test helper, use it to
eliminate duplicate code.