docs: minor sgml syntax fix

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
config: restore mangled env in doctests

Otherwise the mangled GBP_CONF_FILES affects also other doctests when
run with python-nose.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
GitRepository/diff: add 'stat' and 'summary' options

For getting diffstat and summary in the output.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
ComponentTestBase: more verbose output in case of branch mismatch

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
ComponentTestBase: fix env restore in teardown

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
import-orig: import readline in the common module

Useful common functionality.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
ComponentTestBase: keep tmpdir if GBP_TESTS_NOCLEAN is in env

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
GitRepository.has_treeish: minor pylint fix

Signed-off-by: Lingchaox Xin <lingchaox.xin@intel.com>
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
GitRepository.describe: add 'tags' and 'extra-match' options

Signed-off-by: Lingchaox Xin <lingchaox.xin@intel.com>
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
GitRepository.fetch: Add 'refspec' option

Signed-off-by: Lingchaox Xin <lingchaox.xin@intel.com>
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
GitRepository.fetch: Add 'all_remotes' option

Signed-off-by: Lingchaox Xin <lingchaox.xin@intel.com>
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
GitRepository: Add clean() method

Signed-off-by: Lingchaox Xin <lingchaox.xin@intel.com>
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
GitRepository.diff: add 'text' option

For generating textual diffs. Useful for Pq - for example, the 'patch'
utility does not support git binary diffs.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
GitRepository.diff: prevent usage of external diff

External diff might break patch generation, for example.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
ComponentTestBase: use eq_() ok_() from nose.tools

For better assert messages.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Remove unused import
Add link to online docs