docs: add some missing sgml closing tags

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
GitRepository/get_commit_info: correctly handle file renames/copies

Use the '--no-renames' git command line option in order to prevent two
filenames per entry.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
GitRepository/add_remote_repo: fix the 'tags' argument

Explicitly use --tags in git arguments - otherwise tags might not be
fetched.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
tests: more robust check for the default urgency level of dch

The dch tool might not report it's version if it is incorrectly
compiled. Create a dummy changelog and parse it "manually" to determine
the default urgency level.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Use a temporary directory

This avoids file name collisions and weired files in the working copy.
pq: minor log message typo fix

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
ComponentTestBase: use regex matching in log checking

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Fix command output

The first line lacked the subcommand like:

$ gbp pull --help
Usage: gbp [options] - safely update a repository from remote

instead of

$ gbp pull --help
Usage: gbp pull [options] - safely update a repository from remote
           ^^^^
Document changes and release 0.6.11
Use a much simpler version to fix the command name in --help

mostly reverting e1780f0.

Closes: #742907
Document changes and release 0.6.12
Test option parser fallbacks more thoroughly

revealing another bug where we overwrote parsed values with defaults

Closes: #733759
.gitignore: ignore editor backup files
Add minimal 'config' command

This only allows to print single config values so far.

Closes: #733470
Revert "GitRepository/add_remote_repo: fix the 'tags' argument"

Which caused an unwanted behavior of not fetching refs/heads at all --
only tags were fetched.

This reverts commit 5dd598fb8f2a9109189fad6cf631811f12ce2130

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
ComponentTestBase: add a per-class toplevel temp dir

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
pq: deprecate the usage of 'gbp-pq-topic:'

Replaced by the "Gbp[-Pq]: Topic <topic>" command.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
GitRepository: new method for getting git output as generator

Add a new _git_inout2() helper method that returns the git output
(stdout) as a generator - instead of all stdout data in one string.
Useful for handling git commands that are expected to have a lot of
stdout data, like git-archive.

Also, changes the private __git_inout() method to return a generator.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
GitRepository.__git_inout: prevent blocking of stdin

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
GitRepository.archive: support getting tar data as return value

Return tar data as a generator object, if the 'output' option is not
defined.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>