tools/git-buildpackage.git
10 years agoUpstreamSource.guess_version: don't check for directories
Markus Lehtonen [Mon, 26 Aug 2013 13:47:57 +0000 (16:47 +0300)]
UpstreamSource.guess_version: don't check for directories

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>
10 years agoUpstreamSource/guess_version: detect more compression formats
Markus Lehtonen [Thu, 27 Sep 2012 07:24:28 +0000 (10:24 +0300)]
UpstreamSource/guess_version: detect more compression formats

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>
10 years agoFix typos
Guido Günther [Thu, 24 Jul 2014 17:43:25 +0000 (19:43 +0200)]
Fix typos

10 years agoMove get_compression() out of pkg.PkgPolicy class
Markus Lehtonen [Tue, 15 May 2012 07:02:40 +0000 (10:02 +0300)]
Move get_compression() out of pkg.PkgPolicy class

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>
10 years agodocs: document common options in one place
Markus Lehtonen [Wed, 21 May 2014 07:24:21 +0000 (10:24 +0300)]
docs: document common options in one place

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>
10 years agodocs: cosmetic reformat of git-dch manpage sgml source
Markus Lehtonen [Fri, 9 May 2014 11:40:25 +0000 (14:40 +0300)]
docs: cosmetic reformat of git-dch manpage sgml source

Makes the sgml source more readable. Fix indentation, tab to space, wrap
lines.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agodocs: cosmetic reformat of pq manpage sgml source
Markus Lehtonen [Fri, 9 May 2014 11:40:25 +0000 (14:40 +0300)]
docs: cosmetic reformat of pq manpage sgml source

Makes the sgml source more readable. Fix indentation, tab to space, wrap
lines.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agodocs: cosmetic reformat of import-dsc manpage sgml source
Markus Lehtonen [Fri, 9 May 2014 11:40:25 +0000 (14:40 +0300)]
docs: cosmetic reformat of import-dsc manpage sgml source

Makes the sgml source more readable. Fix indentation, tab to space, wrap
lines.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agodocs: cosmetic reformat of import-orig manpage sgml source
Markus Lehtonen [Fri, 9 May 2014 11:40:25 +0000 (14:40 +0300)]
docs: cosmetic reformat of import-orig manpage sgml source

Makes the sgml source more readable. Fix indentation, tab to space, wrap
lines.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agodocs: change option argument names to uppercase in buildpackage man
Markus Lehtonen [Fri, 9 May 2014 12:04:20 +0000 (15:04 +0300)]
docs: change option argument names to uppercase in buildpackage man

For the sake of consistency.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agodocs: cosmetic reformat of buildpackage manpage sgml source
Markus Lehtonen [Fri, 9 May 2014 11:40:25 +0000 (14:40 +0300)]
docs: cosmetic reformat of buildpackage manpage sgml source

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>
10 years agobuildpackage: Also print tag name when tagging the Debian release
Guido Günther [Sat, 14 Jun 2014 09:55:17 +0000 (11:55 +0200)]
buildpackage: Also print tag name when tagging the Debian release

Based on a patch by Kamal Mostafa

10 years agodocs: more flexible version parsing in Makefile
Markus Lehtonen [Thu, 8 May 2014 12:35:26 +0000 (15:35 +0300)]
docs: more flexible version parsing in Makefile

Add dash to the list of valid version characters.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agodocs: document the --customizations option of gbp dch
Markus Lehtonen [Mon, 26 May 2014 10:24:23 +0000 (13:24 +0300)]
docs: document the --customizations option of gbp dch

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agodocs: document the --interactive option of gbp-import-orig
Markus Lehtonen [Wed, 21 May 2014 10:57:52 +0000 (13:57 +0300)]
docs: document the --interactive option of gbp-import-orig

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agodocs: document the --git-[no-]submodules option
Markus Lehtonen [Thu, 8 May 2014 14:40:16 +0000 (17:40 +0300)]
docs: document the --git-[no-]submodules option

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agodocs: document the --color-scheme option
Markus Lehtonen [Thu, 8 May 2014 13:19:19 +0000 (16:19 +0300)]
docs: document the --color-scheme option

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agodocs: sgml syntax fix, add missing semicolons
Markus Lehtonen [Mon, 5 May 2014 12:14:45 +0000 (15:14 +0300)]
docs: sgml syntax fix, add missing semicolons

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agodocs: reference buildpackage and pq in the gbp (supercommand) manpage
Markus Lehtonen [Wed, 30 Apr 2014 10:21:22 +0000 (13:21 +0300)]
docs: reference buildpackage and pq in the gbp (supercommand) manpage

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agodocs: hyperlink references to other manpages
Markus Lehtonen [Wed, 30 Apr 2014 08:30:11 +0000 (11:30 +0300)]
docs: hyperlink references to other manpages

Change references to other gbp manpages to linked refs so that we get
hyperlinks in the html manpages.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agodocs: add some missing commas to manpages
Markus Lehtonen [Wed, 30 Apr 2014 10:40:12 +0000 (13:40 +0300)]
docs: add some missing commas to manpages

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agoDocument changes and release 0.6.15 debian/0.6.15
Guido Günther [Sat, 24 May 2014 16:41:05 +0000 (18:41 +0200)]
Document changes and release 0.6.15

10 years agoRevert "Determine build_dir upfront"
Guido Günther [Sat, 24 May 2014 16:40:35 +0000 (18:40 +0200)]
Revert "Determine build_dir upfront"

This reverts commit b2549fac19f2d666552291a4fcf2020ca0570834.

10 years agoDocument changes and release 0.6.14 debian/0.6.14
Guido Günther [Thu, 22 May 2014 20:49:01 +0000 (22:49 +0200)]
Document changes and release 0.6.14

10 years agoImprove error reporting on hooks
Guido Günther [Thu, 22 May 2014 11:20:11 +0000 (13:20 +0200)]
Improve error reporting on hooks

Make it obvious that a hook failed and not a gbp internal function

10 years agoImprove error reporting on failed commands
Guido Günther [Thu, 22 May 2014 11:00:15 +0000 (13:00 +0200)]
Improve error reporting on failed commands

Make it more clear if the command exited with non zero exit status.
Also don't report the command line twice.

Closes: #748248

10 years agoDetermine build_dir upfront
Guido Günther [Thu, 22 May 2014 12:53:47 +0000 (14:53 +0200)]
Determine build_dir upfront

so it's available to all hooks

10 years agopq: Try harder to cleanup after a failed patch
Guido Günther [Mon, 19 May 2014 10:06:39 +0000 (12:06 +0200)]
pq: Try harder to cleanup after a failed patch

If we fail to apply the patch the tree is left in a dirty state
so reset to the last head. This avoids irritating errors like:

gbp:error: Failed to apply 'debian/patches/poison+remember_trash': Failed to commit tree: fatal: invalid date format: 1998/03/21

following files would be overwritten by checkout:
doc/hosts.nntp.5
innd/art.c
innd/innd.h
innd/rc.c
Please, commit your changes or stash them before you can switch branches.
Aborting

Thanks: Marco d'Itri for the repo to debug this

10 years agopq: Print proper error message if we fail to apply the tree
Guido Günther [Mon, 19 May 2014 10:06:08 +0000 (12:06 +0200)]
pq: Print proper error message if we fail to apply the tree

e.g. instead of

gbp:error: Failed to apply 'debian/patches/poison+remember_trash'

we now have

gbp:error: Failed to apply 'debian/patches/poison+remember_trash': Failed to commit tree: fatal: invalid date format: 1998/03/21

10 years agoDocumnt that the patches must apply without fuzz
Guido Günther [Mon, 19 May 2014 09:34:01 +0000 (11:34 +0200)]
Documnt that the patches must apply without fuzz

10 years agoFix comitter vs committer typos
Guido Günther [Fri, 16 May 2014 17:51:26 +0000 (19:51 +0200)]
Fix comitter vs committer typos

Thanks: Sandro Tosi
Closes: #748339

10 years agoHandle version format errors more gracefully
Guido Günther [Wed, 7 May 2014 18:35:48 +0000 (20:35 +0200)]
Handle version format errors more gracefully

So far if a package claimed to be non native but the version number
didn't contain a '-' we failed like:

  Traceback (most recent call last):
    File "/usr/bin/gbp", line 9, in <module>
      load_entry_point('gbp==0.6.13', 'console_scripts', 'gbp')()
    File "/usr/lib/python2.7/dist-packages/gbp/scripts/supercommand.py", line 82, in supercommand
      return module.main(args)
    File "/usr/lib/python2.7/dist-packages/gbp/scripts/buildpackage.py", line 541, in main
      output_dir)
    File "/usr/lib/python2.7/dist-packages/gbp/scripts/buildpackage.py", line 96, in prepare_upstream_tarball
      upstream_tree = git_archive_build_orig(repo, cp, output_dir, options)
    File "/usr/lib/python2.7/dist-packages/gbp/scripts/buildpackage.py", line 270, in git_archive_build_orig
      upstream_tree = get_upstream_tree(repo, cp, options)
    File "/usr/lib/python2.7/dist-packages/gbp/scripts/buildpackage.py", line 245, in get_upstream_tree
      cp['Upstream-Version'])
    File "/usr/lib/python2.7/dist-packages/gbp/deb/git.py", line 107, in version_to_tag
      return format % dict(version=DebianGitRepository._sanitize_version(version))
    File "/usr/lib/python2.7/dist-packages/gbp/deb/git.py", line 122, in _sanitize_version
      return version.replace('~', '_').replace(':', '%')

It shouldn't be like that.

10 years agogbp pq: document --force
Guido Günther [Fri, 2 May 2014 15:10:48 +0000 (17:10 +0200)]
gbp pq: document --force

10 years agoSlightly improve usage output
Guido Günther [Fri, 4 Apr 2014 10:57:30 +0000 (12:57 +0200)]
Slightly improve usage output

10 years agoDocument changes and release 0.6.13 debian/0.6.13
Guido Günther [Thu, 3 Apr 2014 19:32:22 +0000 (21:32 +0200)]
Document changes and release 0.6.13

10 years agoconfig: add decorator to add_option_* functions
Guido Günther [Wed, 2 Apr 2014 20:13:46 +0000 (22:13 +0200)]
config: add decorator to add_option_* functions

This allows us to build an internal list of valid options and print
these.

10 years agoImport command not module
Guido Günther [Wed, 2 Apr 2014 22:04:18 +0000 (00:04 +0200)]
Import command not module

This matches the function name

10 years agodocs: re-enable missing manpage
Markus Lehtonen [Thu, 3 Apr 2014 04:21:05 +0000 (07:21 +0300)]
docs: re-enable missing manpage

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agoRemove tests now covered by 18_test_Config
Guido Günther [Wed, 2 Apr 2014 14:56:06 +0000 (16:56 +0200)]
Remove tests now covered by 18_test_Config

10 years agoRevert "GitRepository/add_remote_repo: fix the 'tags' argument"
Markus Lehtonen [Wed, 2 Apr 2014 06:48:11 +0000 (09:48 +0300)]
Revert "GitRepository/add_remote_repo: fix the 'tags' argument"

Which caused an unwanted behavior of not fetching refs/heads at all --
only tags were fetched.

This reverts commit 5dd598fb8f2a9109189fad6cf631811f12ce2130

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agoAdd minimal 'config' command
Guido Günther [Tue, 1 Apr 2014 18:29:22 +0000 (20:29 +0200)]
Add minimal 'config' command

This only allows to print single config values so far.

Closes: #733470

10 years ago.gitignore: ignore editor backup files
Guido Günther [Tue, 1 Apr 2014 09:35:50 +0000 (11:35 +0200)]
.gitignore: ignore editor backup files

10 years agoTest option parser fallbacks more thoroughly
Guido Günther [Tue, 1 Apr 2014 08:03:35 +0000 (10:03 +0200)]
Test option parser fallbacks more thoroughly

revealing another bug where we overwrote parsed values with defaults

Closes: #733759

10 years agoDocument changes and release 0.6.12 debian/0.6.12
Guido Günther [Fri, 28 Mar 2014 23:18:09 +0000 (00:18 +0100)]
Document changes and release 0.6.12

10 years agoUse a much simpler version to fix the command name in --help
Guido Günther [Fri, 28 Mar 2014 23:07:29 +0000 (00:07 +0100)]
Use a much simpler version to fix the command name in --help

mostly reverting e1780f0.

Closes: #742907

10 years agoDocument changes and release 0.6.11 debian/0.6.11
Guido Günther [Thu, 27 Mar 2014 21:28:50 +0000 (22:28 +0100)]
Document changes and release 0.6.11

10 years agoFix command output
Guido Günther [Thu, 27 Mar 2014 20:22:25 +0000 (21:22 +0100)]
Fix command output

The first line lacked the subcommand like:

$ gbp pull --help
Usage: gbp [options] - safely update a repository from remote

instead of

$ gbp pull --help
Usage: gbp pull [options] - safely update a repository from remote
           ^^^^

10 years agoComponentTestBase: use regex matching in log checking
Markus Lehtonen [Thu, 12 Dec 2013 09:14:06 +0000 (11:14 +0200)]
ComponentTestBase: use regex matching in log checking

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agopq: minor log message typo fix
Markus Lehtonen [Thu, 30 Jan 2014 15:37:59 +0000 (17:37 +0200)]
pq: minor log message typo fix

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agoUse a temporary directory
Guido Günther [Thu, 27 Mar 2014 19:42:29 +0000 (20:42 +0100)]
Use a temporary directory

This avoids file name collisions and weired files in the working copy.

10 years agotests: more robust check for the default urgency level of dch
Markus Lehtonen [Tue, 7 Jan 2014 14:10:03 +0000 (16:10 +0200)]
tests: more robust check for the default urgency level of dch

The dch tool might not report it's version if it is incorrectly
compiled. Create a dummy changelog and parse it "manually" to determine
the default urgency level.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agoGitRepository/add_remote_repo: fix the 'tags' argument
Markus Lehtonen [Thu, 12 Dec 2013 22:43:59 +0000 (00:43 +0200)]
GitRepository/add_remote_repo: fix the 'tags' argument

Explicitly use --tags in git arguments - otherwise tags might not be
fetched.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agoGitRepository/get_commit_info: correctly handle file renames/copies
Markus Lehtonen [Wed, 22 Jan 2014 12:26:49 +0000 (14:26 +0200)]
GitRepository/get_commit_info: correctly handle file renames/copies

Use the '--no-renames' git command line option in order to prevent two
filenames per entry.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agodocs: add some missing sgml closing tags
Markus Lehtonen [Wed, 19 Mar 2014 12:58:17 +0000 (14:58 +0200)]
docs: add some missing sgml closing tags

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agoFix config file name
Mario Lang [Thu, 13 Mar 2014 19:46:44 +0000 (20:46 +0100)]
Fix config file name

10 years agoRemove incorrect docs about multiple filter options
Guido Günther [Sun, 9 Mar 2014 14:42:51 +0000 (15:42 +0100)]
Remove incorrect docs about multiple filter options

Closes: #718536

10 years agoRequest verbose output on bug reports
Guido Günther [Mon, 3 Mar 2014 08:37:47 +0000 (09:37 +0100)]
Request verbose output on bug reports

10 years agoDocument changes and release 0.6.10 debian/0.6.10
Guido Günther [Sun, 23 Feb 2014 16:57:17 +0000 (17:57 +0100)]
Document changes and release 0.6.10

10 years agogit-import-dsc: Document --create-missing-branches
Guido Günther [Sun, 23 Feb 2014 16:02:56 +0000 (17:02 +0100)]
git-import-dsc: Document --create-missing-branches

10 years agoimport_dsc: Create missing debian branch with --create-missing-branches
Guido Günther [Sun, 23 Feb 2014 15:59:44 +0000 (16:59 +0100)]
import_dsc: Create missing debian branch with --create-missing-branches

Closes: #739888

10 years agoRemove cover-min-percentage
Guido Günther [Sun, 23 Feb 2014 16:52:49 +0000 (17:52 +0100)]
Remove cover-min-percentage

It makes running single tests harder than necessary since it requires
the percentage also when using "nose <testname>".

10 years agoconfig: Don't pull in config defaults twice
Guido Günther [Tue, 18 Feb 2014 21:54:41 +0000 (22:54 +0100)]
config: Don't pull in config defaults twice

This would otherwise overwrite values set in the legacy config sections.

Closes: #733759

10 years agoconfig: Don't pull in config defaults twice
Guido Günther [Tue, 18 Feb 2014 21:54:41 +0000 (22:54 +0100)]
config: Don't pull in config defaults twice

This would otherwise overwrite values set in the legacy config sections.

Closes: #733759

10 years agoUpdate copyright notice
Guido Günther [Sun, 16 Feb 2014 15:47:45 +0000 (16:47 +0100)]
Update copyright notice

Git-Dch: Ignore

10 years agoDocument changes and release 0.6.9 debian/0.6.9
Guido Günther [Sat, 15 Feb 2014 10:45:33 +0000 (11:45 +0100)]
Document changes and release 0.6.9

10 years agodocs: improve docs on using upstream's git repo
Guido Günther [Sat, 15 Feb 2014 10:16:10 +0000 (11:16 +0100)]
docs: improve docs on using upstream's git repo

The documentation on using upstream's git directly instead of tarballs
was very terse. Add a step by step guide on how to get started and
how to update to new upstream versions.

10 years agoimport_orig: test error paths of find_source
Guido Günther [Tue, 7 Jan 2014 17:12:26 +0000 (18:12 +0100)]
import_orig: test error paths of find_source

10 years agotests: adapt dch tests for older devscripts
Markus Lehtonen [Tue, 7 Jan 2014 14:10:03 +0000 (16:10 +0200)]
tests: adapt dch tests for older devscripts

Determine the default urgency level by determining the version number of
the dch tool from command line.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agoChange the default of cleaner to /bin/true
Guido Günther [Sun, 5 Jan 2014 14:50:10 +0000 (15:50 +0100)]
Change the default of cleaner to /bin/true

Running a clean command within version control by default nowadays
causes more trouble than it helps. It's unnecessary with
pbuilder/cowbuilder/sbuild and with export-dir. So change the default
from 'debuild clean' to a noop ('/bin/true').

Closes: #670624

10 years agoMake parsing config file sections symmetric
Guido Günther [Sun, 5 Jan 2014 14:41:44 +0000 (15:41 +0100)]
Make parsing config file sections symmetric

Always read the legacy command's config file section prior to the
subcommand's config file section.

Until now 'gbp <subcommand>' would read '[subcommand]' as well as
'[gbp-<subcommand>]' sections while 'gbp-<subcommand>' would only read
'[gbp-<subcommand>]' sections.

Closes: #733759

10 years agoAvoid backtrace on config file parse errors
Guido Günther [Sun, 5 Jan 2014 14:15:57 +0000 (15:15 +0100)]
Avoid backtrace on config file parse errors

"gbp buildpackage" did this already but others didn't

Closes: #733759

10 years agoDepend on newer devscripts
Guido Günther [Tue, 24 Dec 2013 13:19:33 +0000 (14:19 +0100)]
Depend on newer devscripts

These contain a uscan that handles repackaging at the right level and
won't let us pick up the wrong tarball name.

Closes: #635920
Thanks: gregor herrmann and all others involved

10 years agoDocument changes and release 0.6.8 debian/0.6.8
Guido Günther [Fri, 20 Dec 2013 16:21:34 +0000 (17:21 +0100)]
Document changes and release 0.6.8

10 years agoDetermine changes file name based on dpkg-buildpackage options
Guido Günther [Fri, 20 Dec 2013 16:01:17 +0000 (17:01 +0100)]
Determine changes file name based on dpkg-buildpackage options

Closes: #732678

10 years agoRun nosetest on executables too
Guido Günther [Fri, 20 Dec 2013 16:04:38 +0000 (17:04 +0100)]
Run nosetest on executables too

They're all well behaved and this allows us to use doctests in them

10 years agoAdjust test cases to newer devscripts
Guido Günther [Tue, 17 Dec 2013 21:28:13 +0000 (22:28 +0100)]
Adjust test cases to newer devscripts

Closes: #732384

10 years agoNo need to document --verbose
Guido Günther [Mon, 2 Dec 2013 19:08:27 +0000 (20:08 +0100)]
No need to document --verbose

Properly document --help instead.

Thanks: Olivier Berger for pointing this out
Closes: #731149

10 years agoDocument changes and release 0.6.7 debian/0.6.7
Guido Günther [Fri, 29 Nov 2013 19:52:26 +0000 (20:52 +0100)]
Document changes and release 0.6.7

10 years agoUse --distribution instead of --dist
Guido Günther [Fri, 29 Nov 2013 19:49:16 +0000 (20:49 +0100)]
Use --distribution instead of --dist

Closes: #730788

10 years agoFiz description of backports branches
Guido Günther [Thu, 14 Nov 2013 14:55:11 +0000 (15:55 +0100)]
Fiz description of backports branches

10 years agolog: add error and warning aliases
Guido Günther [Wed, 6 Nov 2013 20:08:14 +0000 (21:08 +0100)]
log: add error and warning aliases

since I tend to use them instead of err and warn.

Closes: #728896

10 years agoimport-dsc; Merge upstream version by tag
Guido Günther [Wed, 6 Nov 2013 16:39:24 +0000 (17:39 +0100)]
import-dsc; Merge upstream version by tag

instead of simply using the upstream branch name. THis makes sure
we also merge upstream versions that were imported previously with
e.g. "gbp import-orig".

Closes: #698222

10 years agoDocument changes and release 0.6.6 debian/0.6.6
Guido Günther [Wed, 6 Nov 2013 07:23:50 +0000 (08:23 +0100)]
Document changes and release 0.6.6

10 years agoDisable html coverage generation
Guido Günther [Wed, 6 Nov 2013 07:32:49 +0000 (08:32 +0100)]
Disable html coverage generation

until python-nose is fixed.

10 years agoUpdate to git-pbuilder 1.30
Guido Günther [Wed, 6 Nov 2013 07:20:50 +0000 (08:20 +0100)]
Update to git-pbuilder 1.30

that resyncs with what we shipped in gbp.

10 years agoimport-dsc: allow to skip Debian tag creation
Guido Günther [Tue, 5 Nov 2013 08:31:12 +0000 (09:31 +0100)]
import-dsc: allow to skip Debian tag creation

Closes: #636368

10 years agoAdd zsh completion
Felipe Sateler [Wed, 30 Oct 2013 20:25:22 +0000 (17:25 -0300)]
Add zsh completion

Closes; #717002

10 years agodocs: update pq manpages regarding pq command meta tags
Markus Lehtonen [Wed, 11 Sep 2013 09:08:06 +0000 (12:08 +0300)]
docs: update pq manpages regarding pq command meta tags

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agopq: support 'Topic' patch-export command
Markus Lehtonen [Wed, 4 Sep 2013 13:01:17 +0000 (16:01 +0300)]
pq: support 'Topic' patch-export command

Topic can be defined with either 'Gbp: Topic <topic>' or 'Gbp-Pq: Topic
<topic>' in the commit message.

This is to replace the "gbp-pq-topic: <topic>" command.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agopq: listen to 'Gbp-Pq:' commands, too
Markus Lehtonen [Wed, 4 Sep 2013 12:53:37 +0000 (15:53 +0300)]
pq: listen to 'Gbp-Pq:' commands, too

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agopq: add format_diff() function
Markus Lehtonen [Wed, 8 May 2013 17:07:52 +0000 (20:07 +0300)]
pq: add format_diff() function

For generating a patch file from a diff between two arbitrary commits.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agopq: support patch-export commands
Markus Lehtonen [Fri, 3 May 2013 08:04:28 +0000 (11:04 +0300)]
pq: support patch-export commands

Support giving commands to pq as a meta tag in commit message. The
format is "Gbp: <command> [args]".

Currently, only one command is supported. namely 'ignore'. That is, one
can use 'Gbp: Ignore' in the commit message for ignoring the commit in
patch-generation.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agopq: properly generate non-ascii patch files
Markus Lehtonen [Wed, 8 May 2013 07:01:54 +0000 (10:01 +0300)]
pq: properly generate non-ascii patch files

Encode non-ascii email headers properly. Also, set MIME headers
correctly for the message body if the commit message body contains
non-ascii characters.

The reason for constructing the message in a little bit "clumsy" way is
the intention is to match the output of git-format-patch as closely as
possible.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agopq.format_patch: support file path filtering
Markus Lehtonen [Fri, 14 Sep 2012 14:21:09 +0000 (17:21 +0300)]
pq.format_patch: support file path filtering

Implements a filter option that allows filtering out changes to certain
files/paths in the patch-generation. A commit is totally ignored if all
files would be filtered out. The path filter is given as a Python
regexp.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agopq: rewrite patch export functionality
Markus Lehtonen [Thu, 2 May 2013 09:57:10 +0000 (12:57 +0300)]
pq: rewrite patch export functionality

Use our own function for constructing the patch files instead of using
the format-patch command of git. This way, we get the desired output
format directly, without the need for the error-prone "format-patch,
parse patch files, mangle and re-write patch files" cycle.

Also, fix patch naming in patch generation when '--no-patch-numbers' is
used.  Previously, multiple commits with the same subject resulted in
multiple patches having the same filename. This lead into broken series
with missing patches as patch files were overwritten by the topmost
commit.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agoAdd missing bash completion for gbp import-dscs
Guido Günther [Sat, 26 Oct 2013 09:34:27 +0000 (11:34 +0200)]
Add missing bash completion for gbp import-dscs

Closes: #727749

10 years agogbp-clone: support cloning to a specific directory
Guan Junchun [Fri, 11 Oct 2013 10:16:17 +0000 (18:16 +0800)]
gbp-clone: support cloning to a specific directory

Closes: #725666

Signed-off-by: Guan Junchun <junchunx.guan@intel.com>
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agogbp-clone: support repo URLs like "host:repo.git"
Guan Junchun [Sat, 12 Oct 2013 08:54:44 +0000 (16:54 +0800)]
gbp-clone: support repo URLs like "host:repo.git"

Previously, gbp didn't correctly parse this kind of URL and clone
failed.

Signed-off-by: Guan Junchun <junchunx.guan@intel.com>
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agoDocument changes and release 0.6.5 debian/0.6.5
Guido Günther [Wed, 16 Oct 2013 08:30:15 +0000 (10:30 +0200)]
Document changes and release 0.6.5

10 years agoBump standards version
Guido Günther [Wed, 16 Oct 2013 08:29:07 +0000 (10:29 +0200)]
Bump standards version