~racb/git-ubuntu:test-structure-consistency

Last commit made on 2018-06-14
Get this branch:
git clone -b test-structure-consistency 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:
test-structure-consistency
Repository:
lp:~racb/git-ubuntu

Recent commits

f884374... by Robie Basak

Rename test files

This is a style change: we're moving to keeping tests in foo_test.py.

985442b... by Robie Basak

Avoid cross-test-file dependency

Use pygit2 directly and the repo fixture directly from test_fixtures to
simplify the dependency graph between modules.

da70abd... by Robie Basak

Move changelog tests to dedicated test file

This is a style change: we're moving to keeping tests in foo_test.py.

c018cf9... by Robie Basak

Merge branch 'master' of https://git.launchpad.net/~tsimonq2/usd-importer/+git/add-lubuntu

6a7b982... by Robie Basak

Add skytools3 to whitelist

Requested by Andreas.

3512465... by Nish Aravamudan

snap: order gnupg2 to be before devscripts

We want to make sure that our gnupg binary and libraries are built
before git-ubuntu. In 48249b21607fdfbb80af9d53e8d0b1375d8778c1, the
local build reversion was reverted in turn, but the ordering was missed.
This leads to inconsistent builds.

edb18ab... by Robie Basak

Drop inferred log message

This message was left behind to avoid a functional change in a previous
refactoring.

Unfortunately it has now become quite disconnected from the
implementation of logic that it is logging. It's at risk of becoming
wrong in the future if the implementation elsewhere is intentionally
changed.

Since it doesn't seem that important, drop it to avoid this happening.

efd2de9... by Robie Basak

git_repository: add close method and invoke it in a try/finally from importer

Push the ability to remove a repository's directory into the repository
itself and make caller's responsible for the removal.

Wrap importer.main in try/finally, where the finally clause calls
repo.close() directly. This removes our use of atexit, and ensures that
whether import succeeds or fails, the repository object we may have
created is cleaned up per the arguments.

LP: #1765219
Original-Author: Nishanth Aravamudan <email address hidden>

5af5a88... by Robie Basak

Fix documentation typo

e434b87... by Robie Basak

Add default values to main function arguments

These arguments all correspond to command line options that currently
use 'store_true', so the sensible default for all of them is False.

This does not change behaviour as all existing callers specify the
argument values explicitly, but it will be useful for the introduction
of tests in a future commit which isn't testing the behaviour of all of
these.