summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-10-16Bump standards versionGuido Günther
2013-10-16Don't export DEB_VENDOR="Debian"Andrew Starr-Bochicchio
Tests now take Ubuntu versions into consideration. Closes: #723756
2013-10-16Be more robust about git status output changesGuido Günther
by using --porcelain. Heavily based on a patch by rian m. carlson Closes: #726260
2013-10-10doc: Fix git-pbuilder exampleEtienne Millon
Closes: #725875
2013-10-06Document changes and release 0.6.4Guido Günther
2013-09-17Backports got integrated into the main archiveGuido Günther
From wheezy on we can use the main archive
2013-09-17Update to git-pbuilder 1.29Guido Günther
2013-09-16pq: Only print number or tries if we try more than onceGuido Günther
2013-09-16pq: print which patch failed to applyGuido Günther
2013-09-10typo s/bei/be/Osamu Aoki
Closes: #722359
2013-09-10tests: remove unused import in submodule testsMarkus Lehtonen
Change-Id: Ida67f9640624a92ffc1afd90dc33efe01b38db5c Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2013-09-10tests: upper case global variables in submodule testsMarkus Lehtonen
Prevent some confusing name clashes. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2013-09-10tests: add some docstrings to git submodule testsMarkus Lehtonen
Change-Id: I0ba9e6b59e2a819b5cde1be6fbb53b8ecbb67025 Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2013-09-10tests: use eq_ and ok_ from nose tools in submodule testsMarkus Lehtonen
For consistency and better assert error messages. Change-Id: Ie6502daac6cee0176db5f099b91803292c17ceea Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2013-09-10tests: add test for archiving without git submodulesMarkus Lehtonen
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2013-09-10GitRepository: deprecate the get_remote_repos methodMarkus Lehtonen
Superceded byt the get_remotes() method. Change-Id: I34f9e8b8188b5a40ce21d2f74e6068f2aaec9e60 Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2013-09-10GitRepository.has_remote_repo: use get_remotes methodMarkus Lehtonen
Use the new get_remotes() method Change-Id: Ic34cf590a6f36e6fa0af2ffbe932c8ae3a198944 Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2013-09-10git: new class and method for remote repositoriesMarkus Lehtonen
Add a new GitRemote class for representing git remote repositories. The initial, very limited, version only contains information about the fetch and push URLs of the remote repository. Also, add a new GitRepository.get_remotes() method for getting remote repositories as instances of the new GitRemote class. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2013-09-10GitRepository.pull: Add 'all_remotes' optionLingchaox Xin
Also changes the method to utilize the GitArgs class. Signed-off-by: Lingchaox Xin <lingchaox.xin@intel.com> Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2013-09-10GitRepository.push: Add 'tags' optionLingchaox Xin
Signed-off-by: Lingchaox Xin <lingchaox.xin@intel.com> Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2013-09-10GitRepository.push: Add 'force' optionLingchaox Xin
Signed-off-by: Lingchaox Xin <lingchaox.xin@intel.com> Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2013-09-10GitRepository.list_tree: add 'paths' optionMarkus Lehtonen
Change-Id: I9331fec6fcd0e58dad7cb4a571a683e09ce08011 Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2013-09-10GitRepository.diff: add 'ignore_submodules' optionMarkus Lehtonen
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2013-09-10common/buildpackage: fix handling of empty tarball prefixMarkus Lehtonen
Previously empty prefix in tarball generation introduced a leading slash in all filenames in the archive. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2013-09-05Add link to online docsGuido Günther
2013-09-05Remove unused importGuido Günther
2013-09-05ComponentTestBase: use eq_() ok_() from nose.toolsMarkus Lehtonen
For better assert messages. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2013-09-05GitRepository.diff: prevent usage of external diffMarkus Lehtonen
External diff might break patch generation, for example. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2013-09-05GitRepository.diff: add 'text' optionMarkus Lehtonen
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>
2013-09-04GitRepository: Add clean() methodMarkus Lehtonen
Signed-off-by: Lingchaox Xin <lingchaox.xin@intel.com> Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2013-09-04GitRepository.fetch: Add 'all_remotes' optionLingchaox Xin
Signed-off-by: Lingchaox Xin <lingchaox.xin@intel.com> Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2013-09-04GitRepository.fetch: Add 'refspec' optionLingchaox Xin
Signed-off-by: Lingchaox Xin <lingchaox.xin@intel.com> Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2013-09-04GitRepository.describe: add 'tags' and 'extra-match' optionsLingchaox Xin
Signed-off-by: Lingchaox Xin <lingchaox.xin@intel.com> Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2013-09-04GitRepository.has_treeish: minor pylint fixLingchaox Xin
Signed-off-by: Lingchaox Xin <lingchaox.xin@intel.com> Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2013-09-04ComponentTestBase: keep tmpdir if GBP_TESTS_NOCLEAN is in envMarkus Lehtonen
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2013-09-04import-orig: import readline in the common moduleMarkus Lehtonen
Useful common functionality. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2013-09-04ComponentTestBase: fix env restore in teardownMarkus Lehtonen
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2013-09-04ComponentTestBase: more verbose output in case of branch mismatchMarkus Lehtonen
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2013-09-04GitRepository/diff: add 'stat' and 'summary' optionsMarkus Lehtonen
For getting diffstat and summary in the output. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2013-09-04config: restore mangled env in doctestsMarkus Lehtonen
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>
2013-09-04docs: minor sgml syntax fixMarkus Lehtonen
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2013-08-29docs: having an upstream branch is a recommendationGuido Günther
rather than a hard requirement, we can use any treeish to build the upstream tarball from.
2013-08-28Document changes and release 0.6.3Guido Günther
2013-08-28Use open() instead of file()Guido Günther
since the later doesn't exist in python3
2013-08-28docs: remove superfluous atGuido Günther
2013-08-28docs: Refert to gbp in the introductionGuido Günther
since this wraps all commands now. Thanks: Ross Boylan for pointing out that the current wording is confusing.
2013-08-24pq: exclude patches from Debian packaging branchGuido Günther
When regenerating the patch queue including patches from the Debian branch is not useful. Addresses parts of See #680705. Thanks: Benjamin Cama for the detailed analysis
2013-08-24GitRepository: allow to use '..' instead of '...'Guido Günther
The symmetric difference isn't always useful since it includes changes from both branches. See #680705.
2013-08-22docs: Add recommended branch layoutGuido Günther
It'd be nice to have similar branch layouts among packages so recommend one that worked well so far.
2013-08-22Minor docstring updatesGuido Günther