summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-10-12Document changes and release 0.6.20debian/0.6.20Guido Günther1-0/+11
2014-10-12pq: Add "pq export --commit" optionGuido Günther2-2/+75
This commits the changes in the pq right away. This is currently experimental and subject to change.
2014-09-26meta-closes: Move help text to GbpOptionParser.helpGuido Günther2-2/+3
2014-09-13pq: document --dropGuido Günther2-0/+10
2014-09-12Allow to always drop pq branch after exportGuido Günther3-1/+30
Closes: #761160
2014-09-07Document changes and release 0.6.19debian/0.6.19Guido Günther1-0/+6
2014-09-07Update to git-pbuilder 1.33Guido Günther1-4/+9
2014-09-06Document changes and release 0.6.18debian/0.6.18Guido Günther1-0/+9
2014-09-01Mention --no-mergeGuido Günther1-1/+1
Closes: #760091
2014-08-26Don't delete *_source.changes on source only buildsGuido Günther1-1/+2
Closes: #758726
2014-08-24Document changes and release 0.6.17debian/0.6.17Guido Günther1-0/+22
2014-08-24bash completion: make command list dynamicGuido Günther1-9/+7
Use "gbp --list-cmds" so we don't have to hardcode the available commands and get support for the RPM ones as they show up.
2014-08-23Unify doc strings a bitGuido Günther10-10/+10
since they now show up with --list-cmds
2014-08-23Allow to list all available commandsGuido Günther2-1/+58
2014-08-23gbp: add --version optionGuido Günther1-1/+15
Closes: #758909
2014-08-19Improve error messages on formatting errorsGuido Günther5-5/+53
Make it easier for the user to detect misformated replacement strings in config files and command line options.
2014-08-19buildpackage: Make debian-tag message configurableKamal Mostafa4-4/+21
New config option --git-debian-tag-msg allows for the specification of the message format string for signed debian-tags. When left unset, the default debian-tag-msg format is still: %(pkg)s Debian release %(version)s Signed-off-by: Kamal Mostafa <kamal@whence.com>
2014-08-11dch: Only modify the mainttrailer when --git-author is in useBla Fasel1-5/+6
2014-08-11Use better variable nameBla Fasel1-7/+7
It's a boolean indicating wether we fetch the author information from git not the author information itself. Git-Dch: Ignore
2014-08-11Brown paper bag, pleaseBla Fasel1-2/+2
Gbp-Dch: Ignore
2014-08-11Make sure we fixup the changelog trailer with newer devscriptsGuido Günther1-4/+11
We don't change any mainttrailer options if already given. Thanks: James McCoy for the detailed explanation Closes: #740566
2014-07-28Document changes and release 0.6.16debian/0.6.16Guido Günther1-0/+20
2014-07-28Remove all other log handlers when capturing logsGuido Günther1-0/+2
This avoids spurious error messages during test runs.
2014-07-28linkeList: turn the bug printouts to debug levelGuido Günther1-2/+2
We don't take any action anyway so no need to confuse users.
2014-07-24Introduce git-buildpackage-rpmGuido Günther4-4/+53
Currently only including "gbp import-srpm"
2014-07-24import-srpm: add 'vendor' config optionMarkus Lehtonen2-3/+7
Intended to represent the distribution vendor (e.g. 'Debian'). Currently, this can be used in tag format strings. NOTE: the vendor name is converted to lowercase when used in tag names. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-07-24Pass --no-pristine-tar to SRPM compnent testsGuido Günther1-11/+11
to avoid pristine-tar showing up in the matched branches
2014-07-24Introduce git-import-srpm toolMarkus Lehtonen7-0/+876
Initial version of the git-import-srpm: a tool for importing source rpms. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2014-07-24Add gbp specific tempfile moduleMarkus Lehtonen1-0/+38
Minimal initial implementation that only adds tempdir parent directory creation. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Olev Kartau <olev.kartau@intel.com>
2014-07-24Introduce rpm helpersMarkus Lehtonen30-0/+2400
Implements a new gbp.rpm module that contains functionality for e.g. parsing and editing spec files, reading src.rpm files rpm-specific packaging policy etc. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com> Signed-off-by: Zhang Qiang <qiang.z.zhang@intel.com> Signed-off-by: Huang Hao <hao.h.huang@intel.com>
2014-07-24Make pychecker happyGuido Günther1-2/+2
We don't use the class variable anywhere
2014-07-24UpstreamSource: move version guessing logic to PkgPolicyMarkus Lehtonen2-52/+62
PkgPolicy is more logical context, for example if guessing version from a plain filename and not a real file. Also, changes guess_version() to always return a tuple to simplify checking its return value. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Conflicts: gbp/pkg/__init__.py
2014-07-24Change UpstreamSource to have PkgPolicyMarkus Lehtonen7-34/+61
The UpstreamSource class now gets a PkgPolicy in it's initialization. Also, introduces new DebiaUpstreamSource class which is taken in use in the scripts. The PkgPolicy is not yet used for anything in UpstreamSource. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-07-24UpstreamSource.guess_version: don't check for directoriesMarkus Lehtonen1-11/+5
Directories are not recognized anyway, if guess_version() is called for non-existent sources. And, parse_archive_filename() works fine for directory names, too. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-07-24UpstreamSource/guess_version: detect more compression formatsMarkus Lehtonen1-6/+10
By utilizing the parse_archive_filename() function that detects e.g. "alias suffixes" such as 'tgz'. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-07-24Fix typosGuido Günther1-4/+4
2014-07-24Move get_compression() out of pkg.PkgPolicy classMarkus Lehtonen2-23/+63
Renames the function to parse_archive_filename() and changes it's return values. Filename parsing is merely generic functionality, not tied to any packaging policy. The function now returns the base name of the file (that is, filename without, archive and compression extensions), archive format and compression method. Adds supported archive formats 'tar' and 'zip' and file extension aliases, e.g. 'tgz'. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-06-30docs: document common options in one placeMarkus Lehtonen10-128/+90
Move the documentation of command line options common to all tools into one file. This unifies the manpage documentation and should make its maintenance easier. Also, this change adds missing options to several manpages. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-06-30docs: cosmetic reformat of git-dch manpage sgml sourceMarkus Lehtonen1-147/+207
Makes the sgml source more readable. Fix indentation, tab to space, wrap lines. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-06-30docs: cosmetic reformat of pq manpage sgml sourceMarkus Lehtonen1-70/+85
Makes the sgml source more readable. Fix indentation, tab to space, wrap lines. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-06-30docs: cosmetic reformat of import-dsc manpage sgml sourceMarkus Lehtonen1-42/+75
Makes the sgml source more readable. Fix indentation, tab to space, wrap lines. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-06-30docs: cosmetic reformat of import-orig manpage sgml sourceMarkus Lehtonen1-58/+85
Makes the sgml source more readable. Fix indentation, tab to space, wrap lines. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-06-30docs: change option argument names to uppercase in buildpackage manMarkus Lehtonen1-39/+39
For the sake of consistency. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-06-30docs: cosmetic reformat of buildpackage manpage sgml sourceMarkus Lehtonen1-176/+306
In order to make the sgml source more readable. Fix indentation, tab to space, wrap lines. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-06-14buildpackage: Also print tag name when tagging the Debian releaseGuido Günther1-1/+1
Based on a patch by Kamal Mostafa
2014-06-05docs: more flexible version parsing in MakefileMarkus Lehtonen1-1/+1
Add dash to the list of valid version characters. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-06-05docs: document the --customizations option of gbp dchMarkus Lehtonen1-1/+12
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-06-05docs: document the --interactive option of gbp-import-origMarkus Lehtonen1-0/+9
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-06-05docs: document the --git-[no-]submodules optionMarkus Lehtonen1-0/+10
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-06-05docs: document the --color-scheme optionMarkus Lehtonen3-0/+45
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>