~nacc/git-ubuntu:lp-importer-no-publish-parent

Last commit made on 2017-10-20
Get this branch:
git clone -b lp-importer-no-publish-parent 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:
lp-importer-no-publish-parent
Repository:
lp:~nacc/git-ubuntu

Recent commits

454a165... by Nish Aravamudan

import: drop publishing parent functionality

1e0198f... by Nish Aravamudan

git_repository: while in a context manager, an exception can be raised

Even if handled by the caller of the context manager, the context
manager itself has exited at that point and won't necessary do its
symmetrical cleanup.

In temporary_worktree we need to chdir before re-raising.

In pristine_tar_branches we need to restore the pristine-tar branches.

5c68070... by Nish Aravamudan

run: fix rcs initialization

It is incorrect to use an empty list in the argument definition,
as all callers share the same empty list. While we do not modify
that list currently, in run(), there is no guarantee that we will
not in the future.

5ce516b... by Nish Aravamudan

run: fix formatting

c95bb6e... by Nish Aravamudan

buildsource: fix passing retries, retry_backoffs

This is a latent bug, that build-source would not parse it's own
arguments for the --retries and --retry-backoffs options.

c7066b8... by Nish Aravamudan

GitUbuntuRepository::temporary_worktree: prune after deleting tempdir

This is a bugfix for pruning worktrees in temporary_worktree. While the
worktrees are all pruneable after commands return, the issue with our
call to `git worktree prune` is that it occurs within the
TemporaryDirectory context manager, which means the temporary worktree
is not yet pruneable (the directory containing the worktree must be
deleted for pruning to succeed).

ddb7025... by Nish Aravamudan

git_repository: clarify docstring for nearest_remote_branches

38ab0e7... by Nish Aravamudan

git_repository: drop nearest_{applied,import}_tag

The former is unused and the latter is only used for a debugging print
statement.

Annotated tags contain an internal tag name, which is stored in the
object. This means that the name of the tag when the tag is created is
maintained, regardless of local renames. This is a problem for `git
describe`, and other similar functions, which might rely on the tag name
being useful locally; since that's not true, drop the use. If it turns
out to be needed later, we can re-add them.

e0fb7e3... by Nish Aravamudan

submit: cleanup formatting of import statements

7a233b5... by Nish Aravamudan

build: handle case of cache not existing

Raises a NotADirectoryError Exception.