tools/git-buildpackage.git
13 years agoBump standards version
Guido Günther [Mon, 23 May 2011 19:47:56 +0000 (21:47 +0200)]
Bump standards version

No changes necessary.

13 years agogit-pbuilder: Add git-pbuilder 1.22
Guido Günther [Mon, 23 May 2011 19:39:50 +0000 (21:39 +0200)]
git-pbuilder: Add git-pbuilder 1.22

Thanks: a lot Russ Allbery
Closes: #623117

13 years agoDocument changes and release 0.5.25 debian/0.5.25
Guido Günther [Sat, 21 May 2011 20:14:38 +0000 (22:14 +0200)]
Document changes and release 0.5.25

13 years agoMake qemubuilder really a boolean option
Guido Günther [Sat, 21 May 2011 20:13:28 +0000 (22:13 +0200)]
Make qemubuilder really a boolean option

Closes: #627541
Thanks: Gregor Herrmann <gregoa@debian.org> for tracking this down

13 years agoDocument changes and release 0.5.24 debian/0.5.24
Guido Günther [Sat, 21 May 2011 11:53:09 +0000 (13:53 +0200)]
Document changes and release 0.5.24

13 years agogit-pbuilder: remove single quotes from '$BASE'
Guido Günther [Fri, 20 May 2011 19:36:38 +0000 (21:36 +0200)]
git-pbuilder: remove single quotes from '$BASE'

"cannot canonicalize filename '/var/cache/pbuilder/base-sid.cow', does
not exist" failute

13 years agoAdd support for qemubuilder
Guido Günther [Fri, 20 May 2011 19:02:06 +0000 (21:02 +0200)]
Add support for qemubuilder

Closes: #601298

13 years agoAdd git-pbuilder 0.21
Guido Günther [Fri, 20 May 2011 18:54:43 +0000 (20:54 +0200)]
Add git-pbuilder 0.21

Closes: #601045, #601298
Thanks: Russ Albery

13 years agoSpelling corrections
Jon Dowland [Fri, 20 May 2011 11:56:04 +0000 (13:56 +0200)]
Spelling corrections

Closes: #627378

13 years agogit-pbuilder: Distinguish 1.0 and 3.0 source format
Guido Günther [Thu, 19 May 2011 19:46:50 +0000 (21:46 +0200)]
git-pbuilder: Distinguish 1.0 and 3.0 source format

and set exclude pattherns for the 1.0 format. Otherwise the build fails
since dpkg-source tries to include .git.

13 years agoDocument changes and release 0.5.23 debian/0.5.23
Guido Günther [Sat, 7 May 2011 12:45:12 +0000 (14:45 +0200)]
Document changes and release 0.5.23

13 years agoImprove readability
Guido Günther [Thu, 28 Apr 2011 13:37:11 +0000 (15:37 +0200)]
Improve readability

Git-Dch: Ignore

13 years agogbp-clone: check out the debian branch after the clone is complete
Peter Eisentraut [Tue, 19 Apr 2011 11:28:24 +0000 (14:28 +0300)]
gbp-clone: check out the debian branch after the clone is complete

Signed-off-by: Guido Günther <agx@sigxcpu.org>
13 years agoFix various typos in man pages
Peter Eisentraut [Tue, 19 Apr 2011 11:00:22 +0000 (14:00 +0300)]
Fix various typos in man pages

Signed-off-by: Guido Günther <agx@sigxcpu.org>
13 years agoCorrect option name in git-buildpackage man page
Peter Eisentraut [Tue, 19 Apr 2011 10:57:03 +0000 (13:57 +0300)]
Correct option name in git-buildpackage man page

Signed-off-by: Guido Günther <agx@sigxcpu.org>
13 years agogit-dch: improve formatting of commit subject
Guido Günther [Sun, 17 Apr 2011 13:08:00 +0000 (15:08 +0200)]
git-dch: improve formatting of commit subject

by taking into account idlength and the prefix added by git-dch
itself.

13 years agogbp-pq: add some simple doctests
Guido Günther [Mon, 21 Mar 2011 13:20:50 +0000 (14:20 +0100)]
gbp-pq: add some simple doctests

Git-Dch: Ignore

13 years agoconfig: minor option parsing cleanup
Guido Günther [Sat, 16 Apr 2011 19:44:30 +0000 (21:44 +0200)]
config: minor option parsing cleanup

Git-Dch: Ignore

13 years agotests: add help check for newer commands
Guido Günther [Sun, 17 Apr 2011 13:44:26 +0000 (15:44 +0200)]
tests: add help check for newer commands

Git-Dch: Ignore

13 years agotests: add doctests for gbp.deb.orig_file()
Guido Günther [Tue, 22 Mar 2011 12:47:44 +0000 (13:47 +0100)]
tests: add doctests for gbp.deb.orig_file()

13 years agogit-pbuilder: Drop diffignore and tarignore patterns
Guido Günther [Sat, 16 Apr 2011 12:54:30 +0000 (14:54 +0200)]
git-pbuilder: Drop diffignore and tarignore patterns

Closes: #606412, #610662

13 years agoDocument changes and release 0.5.22 debian/0.5.22
Guido Günther [Mon, 11 Apr 2011 07:44:40 +0000 (09:44 +0200)]
Document changes and release 0.5.22

13 years agoDisable submodule processing by default.
Guido Günther [Mon, 11 Apr 2011 07:37:14 +0000 (09:37 +0200)]
Disable submodule processing by default.

13 years agogbp: Handle whitespace in submodule names
Guido Günther [Sun, 10 Apr 2011 15:12:25 +0000 (17:12 +0200)]
gbp: Handle whitespace in submodule names

Closes: #622103

13 years agotests: introduce submodule class
Guido Günther [Sun, 10 Apr 2011 15:06:59 +0000 (17:06 +0200)]
tests: introduce submodule class

so we can easily add more submodules

Git-Dch: Ignore

13 years agoAdd aliases for gz and bz2 compression types
Guido Günther [Sat, 9 Apr 2011 21:04:30 +0000 (23:04 +0200)]
Add aliases for gz and bz2 compression types

13 years agoAdd tests for hardcoded compression types
Guido Günther [Sat, 9 Apr 2011 21:09:38 +0000 (23:09 +0200)]
Add tests for hardcoded compression types

Git-Dch: Ignore

13 years agoDetect compression from orig tarball
Loïc Minier [Fri, 8 Apr 2011 01:54:07 +0000 (03:54 +0200)]
Detect compression from orig tarball

13 years agoPass tarball_dir to guess_comp_type()
Loïc Minier [Fri, 8 Apr 2011 01:50:10 +0000 (03:50 +0200)]
Pass tarball_dir to guess_comp_type()

Git-Dch: Ignore

13 years agoUpdate guess_comp_type to take a cp as param
Loïc Minier [Fri, 8 Apr 2011 01:38:12 +0000 (03:38 +0200)]
Update guess_comp_type to take a cp as param

Git-Dch: Ignore

13 years agoAdd tests for orig autodetection
Loïc Minier [Fri, 8 Apr 2011 01:32:17 +0000 (03:32 +0200)]
Add tests for orig autodetection

13 years agoIgnore .noseids from nosetests
Loïc Minier [Fri, 8 Apr 2011 00:42:20 +0000 (02:42 +0200)]
Ignore .noseids from nosetests

13 years agoMerge branch 'master' into experimental
Guido Günther [Sat, 9 Apr 2011 20:38:40 +0000 (22:38 +0200)]
Merge branch 'master' into experimental

13 years agoDocument changes and release 0.5.21 debian/0.5.21
Guido Günther [Wed, 6 Apr 2011 18:37:40 +0000 (20:37 +0200)]
Document changes and release 0.5.21

13 years agoDocument changes and release 0.5.21
Guido Günther [Wed, 6 Apr 2011 18:35:56 +0000 (20:35 +0200)]
Document changes and release 0.5.21

13 years agoRevert "gbp: restrict splitting output of ls-tree to 3, since filenames might contain...
Guido Günther [Wed, 6 Apr 2011 18:27:29 +0000 (20:27 +0200)]
Revert "gbp: restrict splitting output of ls-tree to 3, since filenames might contain spaces"

This reverts commit 8f14b0ace5934c27261f388820f5c3c587c97fba.

13 years agoMake submodule support conditional
Guido Günther [Wed, 6 Apr 2011 11:30:06 +0000 (13:30 +0200)]
Make submodule support conditional

13 years agogit-buildpackage: Call gbp.update_submodules
Guido Günther [Sat, 26 Mar 2011 06:47:06 +0000 (07:47 +0100)]
git-buildpackage: Call gbp.update_submodules

before exporting a tarball or creating a separate build tree. We invoke
git-submodule with --no-fetch to not break offline operation.

13 years agodocs: Document Gbp-Pq-Topic: tag
Guido Günther [Wed, 6 Apr 2011 18:18:43 +0000 (20:18 +0200)]
docs: Document Gbp-Pq-Topic: tag

13 years agogbp: restrict splitting output of ls-tree to 3, since filenames might contain spaces
Yaroslav Halchenko [Wed, 6 Apr 2011 17:21:51 +0000 (13:21 -0400)]
gbp: restrict splitting output of ls-tree to 3, since filenames might contain spaces

Signed-off-by: Guido Günther <agx@sigxcpu.org>
13 years agogit-import-dsc: don't silently drop the epoch in tags
Guido Günther [Wed, 6 Apr 2011 11:53:36 +0000 (13:53 +0200)]
git-import-dsc: don't silently drop the epoch in tags

Closes: #620950

13 years agoDocument changes and release 0.5.20 debian/0.5.20
Guido Günther [Mon, 21 Mar 2011 20:15:57 +0000 (21:15 +0100)]
Document changes and release 0.5.20

13 years agoSet author and committer
Guido Günther [Mon, 21 Mar 2011 20:50:06 +0000 (21:50 +0100)]
Set author and committer

so we don't fail in environments that weren't set up properly like when
running under pbuilder.

Git-Dch: Ignore

13 years agoAdd build deps for the testsuite
Guido Günther [Mon, 21 Mar 2011 20:21:47 +0000 (21:21 +0100)]
Add build deps for the testsuite

Git-Dch: Ignore

13 years agogit-buildpackage: drop calls to git.update_submodules()
Guido Günther [Mon, 21 Mar 2011 19:02:00 +0000 (20:02 +0100)]
git-buildpackage: drop calls to git.update_submodules()

since this breaks offline operation.

Git-Dch: Ignore

13 years agogit-buildpackage; don't ignore errors returned by dump_tree()
Guido Günther [Mon, 21 Mar 2011 18:18:00 +0000 (19:18 +0100)]
git-buildpackage; don't ignore errors returned by dump_tree()

Git-Dch: Ignore

13 years agogit-buildpackage: special case non-submodule tarfile generation
Guido Günther [Mon, 21 Mar 2011 13:20:21 +0000 (14:20 +0100)]
git-buildpackage: special case non-submodule tarfile generation

Tarfile generation with submodules is slower since we need to
concatenate several tarfiles and compress afterwards. So special case
the common non submodule case and add a testcase to check the tarfiles
content.

13 years agodocs: Easier to remember commands to create orphan upstream branch.
Charles Plessy [Mon, 21 Mar 2011 02:19:58 +0000 (11:19 +0900)]
docs: Easier to remember commands to create orphan upstream branch.

Closes; #619084
Signed-off-by: Guido Günther <agx@sigxcpu.org>
13 years agodocs: Added markup to the example for creating upstream branch.
Charles Plessy [Mon, 21 Mar 2011 02:16:23 +0000 (11:16 +0900)]
docs: Added markup to the example for creating upstream branch.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
13 years agoUpdate .gitignore
Guido Günther [Sat, 19 Mar 2011 18:10:27 +0000 (19:10 +0100)]
Update .gitignore

13 years agotests: add testcase for git_archive()
Guido Günther [Sat, 19 Mar 2011 17:18:42 +0000 (18:18 +0100)]
tests: add testcase for git_archive()

13 years agotests: Rename
Guido Günther [Sat, 19 Mar 2011 17:18:04 +0000 (18:18 +0100)]
tests: Rename

13 years agogit-buildpackage: typo
Guido Günther [Sat, 19 Mar 2011 17:16:01 +0000 (18:16 +0100)]
git-buildpackage: typo

Git-Dch: Ignore

13 years agotests: Add testcase for dump_archive()
Guido Günther [Fri, 18 Mar 2011 18:42:38 +0000 (19:42 +0100)]
tests: Add testcase for dump_archive()

13 years agorules: change symlink rule to use underscores
Guido Günther [Sat, 19 Mar 2011 15:56:25 +0000 (16:56 +0100)]
rules: change symlink rule to use underscores

so we can use the gbp commands in nosetests

13 years agogbp: simplify is_native()
Guido Günther [Sat, 19 Mar 2011 13:41:54 +0000 (14:41 +0100)]
gbp: simplify is_native()

and add doctests

Git-Dch: Ignore

13 years agogbp: simplify is_native()
Guido Günther [Sat, 19 Mar 2011 13:37:48 +0000 (14:37 +0100)]
gbp: simplify is_native()

and doctests

Git-Dch: Ignore

13 years agogbp: Don't fail on paths without extensions in get_compression()
Guido Günther [Sat, 19 Mar 2011 13:27:26 +0000 (14:27 +0100)]
gbp: Don't fail on paths without extensions in get_compression()

and add doctests for that.

Closes: #618893

13 years agogit-buildpackage: submodule support for git_archive
Guido Günther [Fri, 18 Mar 2011 11:14:14 +0000 (12:14 +0100)]
git-buildpackage: submodule support for git_archive

Heavily based on work by Sean Finney and Chow Loong Jin

Closes: #588752

13 years agogit-buildpackage: submodule support for dump_tree
Guido Günther [Fri, 18 Mar 2011 11:14:40 +0000 (12:14 +0100)]
git-buildpackage: submodule support for dump_tree

Heavily based on work by Sean Finney and Chow Loong Jin

13 years agogbp: Add git.archive() and git.{has,get,update,add}_submodules()
Guido Günther [Fri, 18 Mar 2011 10:12:22 +0000 (11:12 +0100)]
gbp: Add git.archive() and git.{has,get,update,add}_submodules()

and testcases.

Heavily based on work by Sean Finney and Chow Loong Jin

13 years agogbp: Allow to pass cwd to git.__get_output()
Sean Finney [Fri, 18 Mar 2011 18:54:45 +0000 (19:54 +0100)]
gbp: Allow to pass cwd to git.__get_output()

13 years agocommand_wrappers: Add create tar archive
Chow Loong Jin [Fri, 18 Mar 2011 18:53:55 +0000 (19:53 +0100)]
command_wrappers: Add create tar archive

Git-Dch: Ignore

13 years agoAdd tests for branch creation and switching
Guido Günther [Fri, 18 Mar 2011 12:23:07 +0000 (13:23 +0100)]
Add tests for branch creation and switching

Git-Dch: Ignore

13 years agoFix test execution
Guido Günther [Fri, 18 Mar 2011 11:42:39 +0000 (12:42 +0100)]
Fix test execution

13 years agocommand_wrappers,git: remove unused Git functions
Guido Günther [Fri, 18 Mar 2011 10:49:09 +0000 (11:49 +0100)]
command_wrappers,git: remove unused Git functions

The rest will be moved into gbp.git.

Git-Dch: Ignore

13 years agogbp-pq: Allow to specify subdirs for patches
Guido Günther [Fri, 11 Mar 2011 17:08:58 +0000 (18:08 +0100)]
gbp-pq: Allow to specify subdirs for patches

via the "Gbp-Pq-Tag: <subdir>" directive in the patch header. This also
gets rid sed callouts.

Add "apply" action to apply single patches

13 years agogit: improve error handling for commit_tree
Guido Günther [Fri, 11 Mar 2011 21:18:27 +0000 (22:18 +0100)]
git: improve error handling for commit_tree

Git-Dch: Ignore

13 years agogbp-pq: move write_patches into separate function
Guido Günther [Thu, 3 Mar 2011 08:38:39 +0000 (09:38 +0100)]
gbp-pq: move write_patches into separate function

Git-Dch: Ignore

13 years agois_fast_forward: make sure git interprets arguments as revisions
Guido Günther [Thu, 3 Mar 2011 07:10:16 +0000 (08:10 +0100)]
is_fast_forward: make sure git interprets arguments as revisions

so git prints a clearer error message on configuration errors in
.git/config

13 years agoAdd script to ignore .pc and tell dpkg-source unpatch the source
Guido Günther [Sun, 27 Feb 2011 14:05:02 +0000 (15:05 +0100)]
Add script to ignore .pc and tell dpkg-source unpatch the source

See #591858.

13 years agoMake the desktop notification transient
Guido Günther [Sun, 13 Feb 2011 11:33:36 +0000 (12:33 +0100)]
Make the desktop notification transient

so they timeout and don't clutter the notification area.

13 years agoDocument changes and release 0.5.19 debian/0.5.19
Guido Günther [Fri, 11 Feb 2011 17:20:40 +0000 (18:20 +0100)]
Document changes and release 0.5.19

13 years agogit-import-dsc: better explain missing upstream branch
Guido Günther [Wed, 9 Feb 2011 22:36:46 +0000 (16:36 -0600)]
git-import-dsc: better explain missing upstream branch

Thanks: Jonathan Nieder for the suggestion.

13 years agoMove no_upstream_branch message into gbp.config
Guido Günther [Fri, 11 Feb 2011 17:03:43 +0000 (18:03 +0100)]
Move no_upstream_branch message into gbp.config

Git-Dch: Ignore

13 years agogit-import-dsc: make final log message more useful
Guido Günther [Wed, 9 Feb 2011 22:03:04 +0000 (23:03 +0100)]
git-import-dsc: make final log message more useful

Git-Dch: Ignore

13 years agogit-import-dsc: auto create upstream branch
Guido Günther [Wed, 9 Feb 2011 21:50:59 +0000 (22:50 +0100)]
git-import-dsc: auto create upstream branch

if it's missing. This allows to mass import old history of packages that
were native and switched to non-native later.

Closes: #610379

13 years agogit-import-dscs: really use git-import-dsc from the same location as git-import-dscs
Guido Günther [Wed, 9 Feb 2011 21:49:35 +0000 (22:49 +0100)]
git-import-dscs: really use git-import-dsc from the same location as git-import-dscs

13 years agoSimplify author and committer argument passing
Guido Günther [Wed, 9 Feb 2011 20:19:23 +0000 (21:19 +0100)]
Simplify author and committer argument passing

to reduce the number of function arguments.

Git-Dch: Ignore

13 years agoSplit out command line parsing
Guido Günther [Sun, 6 Feb 2011 16:36:14 +0000 (17:36 +0100)]
Split out command line parsing

to honor pycheckers sensible request for smaller functions.

Git-Dch: Ignore

13 years agogbp-clone: reparse the configuration after cloning the repository
Guido Günther [Wed, 9 Feb 2011 19:13:20 +0000 (20:13 +0100)]
gbp-clone: reparse the configuration after cloning the repository

Closes: #607936

13 years agologging: don't use color inside Emacs's comint shell
Guido Günther [Tue, 8 Feb 2011 07:29:01 +0000 (08:29 +0100)]
logging: don't use color inside Emacs's comint shell

Closes: #612384

13 years agogit.rev_parse: unconditionally use --quiet
Guido Günther [Sun, 23 Jan 2011 14:48:50 +0000 (15:48 +0100)]
git.rev_parse: unconditionally use --quiet

to avoid the confusing "fatal: Needed a single revision" error message

13 years agogit-import-dsc: improve error message when upstream branch is missing
Jonathan Nieder [Tue, 18 Jan 2011 04:01:46 +0000 (22:01 -0600)]
git-import-dsc: improve error message when upstream branch is missing

13 years agoDocument changes and release 0.5.18 debian/0.5.18
Guido Günther [Sun, 23 Jan 2011 13:55:57 +0000 (14:55 +0100)]
Document changes and release 0.5.18

13 years agogit-import-dsc doc updates for new options
Jonathan Nieder [Sat, 22 Jan 2011 22:26:20 +0000 (16:26 -0600)]
git-import-dsc doc updates for new options

--author-is-committer and --author-date-is-committer-date

13 years agopychecker: bump maxargs to 12 for commit_dir
Guido Günther [Sat, 22 Jan 2011 14:34:35 +0000 (15:34 +0100)]
pychecker: bump maxargs to 12 for commit_dir

Git-Dch: Ignore

13 years agoAdd --author-is-comitter and --author-date-is-comitter-date commandline options
Guido Günther [Wed, 19 Jan 2011 17:59:45 +0000 (18:59 +0100)]
Add --author-is-comitter and --author-date-is-comitter-date commandline options

Closes: #610381

13 years agogit.force_head: quiet git reset
Guido Günther [Sat, 22 Jan 2011 14:25:00 +0000 (15:25 +0100)]
git.force_head: quiet git reset

so we don't see pointless 'HEAD is now at ...' messages during imports.

13 years agogit-buildpackage: print the "Looking for tarball..." message at debug level
Guido Günther [Sat, 22 Jan 2011 12:42:19 +0000 (13:42 +0100)]
git-buildpackage: print the "Looking for tarball..." message at debug level

There's no need to print two messages in the default logging level.

13 years agogit-import-dscs: Ignore debsnap download errors
Guido Günther [Tue, 18 Jan 2011 18:25:35 +0000 (19:25 +0100)]
git-import-dscs: Ignore debsnap download errors

to cope with binNMUs. Based on a patch from Jonathan Nieder.

Closes: #610376

13 years agogit-import-dscs: Fix --debsnap doc and option error handling
Jonathan Nieder [Tue, 18 Jan 2011 01:17:56 +0000 (19:17 -0600)]
git-import-dscs: Fix --debsnap doc and option error handling

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Closes: #610376

13 years agogbp-pull: Adjust incorrect logging level
Guido Günther [Sun, 16 Jan 2011 17:21:40 +0000 (18:21 +0100)]
gbp-pull: Adjust incorrect logging level

13 years agogit-buildpackage: fix fallback to auto detection for unknown compression types
Guido Günther [Sat, 15 Jan 2011 14:38:47 +0000 (15:38 +0100)]
git-buildpackage: fix fallback to auto detection for unknown compression types

13 years agoDocument changes and release 0.5.17 debian/0.5.17
Guido Günther [Sat, 15 Jan 2011 12:49:07 +0000 (13:49 +0100)]
Document changes and release 0.5.17

13 years agoUse the latest commit instead of the earliest one
Guido Günther [Fri, 14 Jan 2011 16:22:36 +0000 (17:22 +0100)]
Use the latest commit instead of the earliest one

when guessing the compression type for pristine-tar.

Closes; #609980
Thanks: Andreas Rottmann for the detailed report

13 years agoDocument --remote-name
Guido Günther [Thu, 13 Jan 2011 20:34:59 +0000 (21:34 +0100)]
Document --remote-name

13 years agogit-create-remote-repo: Don't hardcode 'origin' as remote
Guido Günther [Thu, 13 Jan 2011 20:34:59 +0000 (21:34 +0100)]
git-create-remote-repo: Don't hardcode 'origin' as remote

This makes it possible to create different remote repos from within the
same repository.

13 years agoRename get_remotes to get_remote_branches
Guido Günther [Thu, 13 Jan 2011 20:12:58 +0000 (21:12 +0100)]
Rename get_remotes to get_remote_branches

Git-Dch: Ignore

13 years agogbp-create-remote-repo: get repository name from debian/changelog
Guido Günther [Thu, 13 Jan 2011 19:52:55 +0000 (20:52 +0100)]
gbp-create-remote-repo: get repository name from debian/changelog

if possible.