summaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Document changes and release 0.6.0~git20121124debian/0.6.0_git20121124Guido Günther2012-11-24
|
* git-import-dscs: Properly catch import errorsGuido Günther2012-11-24
| | | | Closes: #694113
* Remove unused imports and adjust formattingGuido Günther2012-11-24
| | | | Git-Dch: Ignore
* gbp-pq: don't use plural form when there's only one try leftGuido Günther2012-11-24
|
* GitRepository/has_submodules: use correct .gitmodules fileMarkus Lehtonen2012-11-24
| | | | | | | | Examine .gitmodules from the "root directory" of the repo, not the current working directory. Fixes has_submodules() method, when called from arbitrary cwd. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* GitRepository/get_commit_info: support tagsMarkus Lehtonen2012-11-24
| | | | | | | Dereference the given revision to a commit. Fixes get_commit_info() when called for a tag. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* Test gbp.pq.common.write_patchGuido Günther2012-11-24
|
* Output test results in xunit format tooGuido Günther2012-11-24
|
* GitRepository/get_submodules: use correct pathMarkus Lehtonen2012-11-23
| | | | | | | By default, run git in the repo path, not current cwd. Also, now returns submodule paths without leading './'. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* GitRepository/get_commits: more flexible revision rangesMarkus Lehtonen2012-11-23
| | | | | | | | | | | | Support getting the complete history of an arbitrary commit-ish (since=None, until=COMMIT-ISH). Formerly this was only possible for the current git HEAD. Now, get_commits(since=None, until='COMMIT') translates to 'git log COMMIT'. Also, for consistency, add support for getting the history from an arbitrary commit until the current HEAD (since=COMMIT-ISH, until=None). Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* import-orig: remove dead GbpNothingImported exceptionMarkus Lehtonen2012-11-23
| | | | Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* import-orig: remove dead if statementMarkus Lehtonen2012-11-23
| | | | | | | GitRepository.commit_dir() never returns empty objects. It raises an exception, instead. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* Add sha1 stripping in a single placeGuido Günther2012-11-23
| | | | so we can easily sanity check the result.
* Test if setting a topic worksGuido Günther2012-11-23
|
* pq: Allow to pass in custom fucntion to fetch authorship informationGuido Günther2012-11-23
| | | | | so the RPM based tools don't need to rely on a control file but can e.g. look at the spec file.
* Test apply_and_commit_patchGuido Günther2012-11-23
|
* Use an absolute path when parsing the control fileGuido Günther2012-11-23
| | | | so we con't accidentally parse a file from another dir.
* testutils: create missing directories when adding a fileGuido Günther2012-11-23
|
* pq: fix "no authorship" warning messagesMarkus Lehtonen2012-11-23
| | | | | | | | Add one missing string field. Show the patch filename instead of the pull path - the user doesn't need to know if the patch was applied from a temporary directory, for example. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* tests: make tests a Python moduleMarkus Lehtonen2012-11-23
| | | | | | Makes it possible to reuse code between various tests. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* notifications.py: remove unused importMarkus Lehtonen2012-11-23
| | | | Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* command_wrappers: suppress some pylint warningsMarkus Lehtonen2012-11-23
| | | | Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* Add issing git- prefix to --color and --notify optionsGuido Günther2012-11-23
| | | | | Thanks: Filippo Rusconi Closes: #693978
* Remove unused importGuido Günther2012-11-08
|
* Minor git-import-orig manpage improvementsGuido Günther2012-11-08
|
* GbpError accepts an error messageGuido Günther2012-11-08
| | | | so no need to print it separately
* Allow to remove the orig tarball symlinkGuido Günther2012-11-08
| | | | | | that's used make pristine-tar see the correct orig tarball name. Closes: #692401
* GitRepository/diff: catch git errorMarkus Lehtonen2012-11-07
| | | | | | | Raise an exception if the git command fails. Also, utilize _git_inout() instead of the deprecated _git_getoutput(). Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* GitRepository/diff: add 'paths' argumentMarkus Lehtonen2012-11-07
| | | | | | | Makes the diff function more versatile. I.e. makes diffing only certain paths possible. Also, add basic unittests for the diff() method. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* GitRepository.find_tag: change deprecated _git_getoutput to _git_inoutEd Bartosh2012-11-07
| | | | | Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com> Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* GitRepository: fix merge() for older git versionsMarkus Lehtonen2012-11-07
| | | | | | | | | Utilize _cmd_has_feature() in GitRepository.merge() to not give edit/no-edit option for older versions of git-merge, that don't support it. Fixes a regression (with git-version < 1.7.8) caused by commit f3aa87fa0361a. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* GitRepository: implement _cmd_has_feature() methodMarkus Lehtonen2012-11-07
| | | | | | | | | | | | This method is intended for checking if the local git (client) command supports a certain feature. The "feature" is considered to be a command line option. E.g. does "merge" command have the "edit" feature translates to does git-merge support the '--edit' command line option. To figure this out, _cmd_has_feature() parses through the "OPTIONS" section of the man page of the git command. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* Fix testsuite failure if DEB_VENDOR != DebianDmitrijs Ledkovs2012-11-04
| | | | | | | | | | | | | The package fails to build from source if the DEB_VENDOR is not Debian, as the test output from git-dch expects Debian distribution specific behaviour. You can see the failed build log with DEB_VENDOR=Ubuntu here: https://launchpadlibrarian.net/121690052/buildlog_ubuntu-raring-i386.git-buildpackage_0.6.0~git20120822_FAILEDTOBUILD.txt.gz Closes: #692289 Signed-off-by: Guido Günther <agx@sigxcpu.org>
* Print number of tries leftGuido Günther2012-10-25
|
* Add support dch's --security optionGuido Günther2012-10-25
|
* PEP-8 and pyflakes cleanupsGuido Günther2012-10-25
|
* Add debian/source/format parserGuido Günther2012-08-26
|
* Document changes and release 0.6.0~git20120822debian/0.6.0_git20120822Guido Günther2012-08-22
|
* GitArgs/add: support iterable and non-string argsMarkus Lehtonen2012-08-22
| | | | | | | | Support giving iterables (other than basestring, e.g. list(s)) as an argument to GitArgs.add(). Also, add support non-iterable arguments that support the str() conversion. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* GitRepository: Implement set_upstream_branch and get_upstream_branch methodsEd Bartosh2012-08-22
| | | | | | | | set_upstream_branch sets upstream branch for the local branch using git branch --set-upstream get_upstream_branch returns info about upstream branches Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
* manpages: correct manual section and remove duplicate entryGuido Günther2012-08-22
|
* docs: make refentry ids of manpages more consistentMarkus Lehtonen2012-08-22
| | | | Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* docs: fix cross-referencing in manpagesMarkus Lehtonen2012-08-22
| | | | | | | | | Docbook2man has to be run twice to make sure the cross-references are correct. First pass is just to update the cross-reference file (manpage.refs). The second the builds the actual manpages. Otherwise forward-references might be broken. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* GitRepository/branch_contains: remove prefix '*' in branch nameZhang Qiang2012-08-22
| | | | | | | The git output always prefixes the current branch name with '*'. Without this fix branch_contains() always fails for the currently active branch. Signed-off-by: Zhang Qiang <qiang.z.zhang@intel.com>
* manpage: Fix typo in git-dch's multimain-merge optionGuido Günther2012-08-18
| | | | Closes: #684322
* dch: Fix error reporting on parsing errorsGuido Günther2012-08-13
|
* Document changes and release 0.6.0~git20120803debian/0.6.0_git20120803Guido Günther2012-08-03
|
* Improve error reporting from uscanGuido Günther2012-08-03
| | | | by parsing out the warnings and error fields from the dehs output.
* Move uscan to separate classGuido Günther2012-08-03
|
* Add tests for gbp.deb.{DpkgCompareVersions,DscFile}Guido Günther2012-08-02
|