summaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Document changes and release 0.6.27debian/0.6.27Guido Günther2015-05-05
|
* bash-completion: Disable config section deprecation warningsGuido Günther2015-05-05
| | | | | It's of no use if we get these warnings on bash completion it only confuses users. They're still shown when running the actual command.
* Allow to disable config section deprecationsGuido Günther2015-05-05
| | | | | | | | Config section deprecations can be disabled by setting GBP_DISABLE_SECTION_DEPRECTATION=true in the environment.
* Fixup indentationGuido Günther2015-05-05
| | | | | | to make pylint happy Gbp-Dch: Ignore
* bash-completion: Drop redundant functionsGuido Günther2015-05-04
| | | | | | Due to the previous commit most function are redundant so use a generic one. This automatically gives us completion support for the *rpm commands.
* bash-completion: Avoid passing around default optionsGuido Günther2015-05-04
| | | | | | | All commands except for 'buildackage' share the same option names. Don't pass them around needlesly. Since these names only indicate the type of completion it doesn't matter if we have them for commands that don't support them.
* Use a single space consistentlyGuido Günther2015-05-04
| | | | | | to save some electrons Gbp-Dch: Ignore
* bash_completion: Quote all variablesGuido Günther2015-05-04
| | | | | | for consistency Gbp-Dch: Ignore
* bash-completion: remove useless echoGuido Günther2015-05-04
|
* config: move warning to separate methodGuido Günther2015-05-03
|
* Document changes and release 0.6.26debian/0.6.26Guido Günther2015-04-28
|
* Add a note to NEWS.Debian about the removal of the git-* symlinksGuido Günther2015-04-28
|
* Drop git-* commands from manpages tooGuido Günther2015-04-28
| | | | | Thanks: Michael Biebl Closes: #783537
* Document changes and release 0.6.25debian/0.6.25Guido Günther2015-04-27
|
* gbp-dch: Document newly introduced upstream-branchDaniel Gollub2015-04-27
| | | | | | | With aa8548d5 the newly introduced gbp-dch option --upstream-branch got introduced. Closes: #gh10
* Guess upstream-tag based on merge-baseDaniel Gollub2015-04-25
| | | | | | | | | | | | | | | | | | | | | In some unfortunate cases you might have something like this: $ git tag v1.0 vyatta/1.0-0something1 ... where later tag is closer to describe current HEAD. With upstream-tag set to v%(version)s find_tag() is going to propose something based on vyatta/1.0-0something1 which is not expected. The problem is that find_tag() returns tags, which match the upstream-tag format, but which are not on the upstream-branch at all. To fix this find_tag()/git-describe should not be used to determine the closest upstream-tag. Closes: gh#7
* docs: Fix diirectory->directory typo in gbp.conf manpageMartin Erik Werner2015-04-20
| | | | | | | Signed-off-by: Martin Erik Werner <martinerikwerner@gmail.com> Signed-off-by: Guido Günther <agx@sigxcpu.org> Closes: #783013
* gbp.rpm: use format_str for composing tag nameMarkus Lehtonen2015-04-02
| | | | Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* Command: strip newlines from stdout/err in error msgMarkus Lehtonen2015-04-01
| | | | | | | | Strip extra linefeeds from stdout and stderr output (if captured) when generating the error message, so that the error message itself would not have any unwanted linefeeds. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* gbp.format: rename format_msg() to format_str()Markus Lehtonen2015-04-01
| | | | | | | The new name more precisely describes it as it can be used to format any strings (e.g. tag names) and not only messages. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* notifications: make notify() more genericMarkus Lehtonen2015-04-01
| | | | | | In order to be able to re-use it in gbp-buildpackage-rpm. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* Depend on cpioGuido Günther2015-04-01
| | | | needed by gbp import-srpm
* Add cpio t Build-DepsGuido Günther2015-04-01
| | | | since the SrcRpmFile tests require it
* SrcRpmFile: Add stderr to error messagesGuido Günther2015-04-01
| | | | | | so we can better debug failures like http://honk.sigxcpu.org:8001/job/git-buildpackage/230/changes
* rpm tests: unbreak spec parsing test for openSUSE 13.2Markus Lehtonen2015-04-01
| | | | | | Some SUSE-specific RPM tags are not supported anymore. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* rpm tests: disable one anomalous pylint errorMarkus Lehtonen2015-04-01
| | | | Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* tests: add unit tests for gbp.rpm.SrcRpmFileMarkus Lehtonen2015-04-01
| | | | Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* Add string vs. binary encoding/decodingGuido Günther2015-03-27
| | | | for Python3 compatibility
* Ignore long lines with pep8Guido Günther2015-03-27
| | | | | We want to get there eventually but having this on now is just too much noise.
* Add string vs. binary encoding/decodingGuido Günther2015-03-27
| | | | for Python3 compatibility
* Use six.StringIOGuido Günther2015-03-27
| | | | | | to work towards Python3 support Gbp-Dch: Ignore
* testutils: Add a context manager to capture stderrGuido Günther2015-03-27
| | | | and use it to test the help output
* testutils: Fix __all__Guido Günther2015-03-27
| | | | The values weren't correctly seperated
* Don't let pristine-tar spew on stderrGuido Günther2015-03-27
| | | | | Capture its output and only dump it on failure. This makes "gbp import-orig" and test runs less verbose.
* command_wrapper: Make error reporting more flexibleGuido Günther2015-03-27
| | | | | | We allow to substitute stderr, stdout and error_reason in run_error now. These changes the API for derived classses slightly so fix them up as well.
* config test: fix missing prefixGuido Günther2015-03-27
| | | | We want to test no prefix, 'gbp-' and 'git-'.
* gbplogtester: Reliably remove all handlersGuido Günther2015-03-27
| | | | | So far we were modifying the list of handlers in place which resulted in all handlers being removed at the second call to _capture_log only.
* gbplogtester: Make sure log capture start is followed by a log capture stopGuido Günther2015-03-27
|
* gbplogtester: add helper to test for empty logGuido Günther2015-03-27
|
* tests: minor test case cleanupsGuido Günther2015-03-27
| | | | Remove unused imports, remove unused variables or actually use them
* Command: simplify __call__ and callGuido Günther2015-03-27
| | | | | | | Get rid of __run and use the same codepaths for both. This also makes the same instance variables available after both calls. The funtions still differ in their default logging behaviour though.
* Command: allow to capture stdout tooGuido Günther2015-03-27
| | | | For symmetry with capture_stderr
* Update docs on component tests and mailing listGuido Günther2015-03-27
|
* Improve error messageGuido Günther2015-03-27
|
* Fix print function usage in examples tooGuido Günther2015-03-27
|
* Extract exception message in a less arcane wayGuido Günther2015-03-27
|
* Turn off coverage output by defaultGuido Günther2015-03-27
| | | | It's much simpler to spot the cause of test failures this way.
* Remove unused variableGuido Günther2015-03-26
| | | | Git-Dch: Ignore
* Fix paragraph indentation for epydocGuido Günther2015-03-20
|
* Add %(hversion)s to version_to_tag to support some upstreamsDaniel Kahn Gillmor2015-03-18
| | | | | | | | | | enigmail upstream uses tags named enigmail-1-8 for 1.8. Other upstreams have used similar conventions, likely as holdovers from CVS (e.g. gnupg 1.4.2 was tagged with V1-4-2). This patch helps packagers work with these upstreams. Closes: #780679 Signed-off-by: Guido Günther <agx@sigxcpu.org>