tools/git-buildpackage.git
13 years agodoc: epydoc updates
Guido Günther [Sat, 30 Jul 2011 13:46:02 +0000 (15:46 +0200)]
doc: epydoc updates

Git-Dch: Ignore

13 years agoDocument changes and release 0.5.29 debian/0.5.29
Guido Günther [Sat, 30 Jul 2011 13:08:09 +0000 (15:08 +0200)]
Document changes and release 0.5.29

13 years agoDocument --time-machine option
Guido Günther [Sat, 30 Jul 2011 13:04:28 +0000 (15:04 +0200)]
Document --time-machine option

13 years agogbp-pq: add --time-mache=N option
Guido Günther [Sat, 30 Jul 2011 08:46:22 +0000 (10:46 +0200)]
gbp-pq: add --time-mache=N option

to find the last commit the patch-queue applies to.

13 years agoDon't return commits in a different order than git-log
Guido Günther [Sat, 30 Jul 2011 09:55:20 +0000 (11:55 +0200)]
Don't return commits in a different order than git-log

Git-Dch: Ignore

13 years agogbp.git.GitRepository: Add first_parent option to commits()
Guido Günther [Sat, 30 Jul 2011 09:35:08 +0000 (11:35 +0200)]
gbp.git.GitRepository: Add first_parent option to commits()

Git-Dch: Ignore

13 years agoEpydoc indentation
Guido Günther [Sat, 30 Jul 2011 08:17:25 +0000 (10:17 +0200)]
Epydoc indentation

Git-Dch: Ignore

13 years agoBuild epydoc API documents by default
Guido Günther [Fri, 29 Jul 2011 16:23:42 +0000 (18:23 +0200)]
Build epydoc API documents by default

13 years agoRobustify gbp.git.commits()
Guido Günther [Sat, 30 Jul 2011 07:30:22 +0000 (09:30 +0200)]
Robustify gbp.git.commits()

Git-Dch: Ignore

13 years agogbp-pq: Drop GitBranch in favour of repo.create_branch()
Guido Günther [Sat, 30 Jul 2011 07:22:42 +0000 (09:22 +0200)]
gbp-pq: Drop GitBranch in favour of repo.create_branch()

Git-Dch: Ignore

13 years agoAdd copyright headers to all non autogenerated files
Guido Günther [Fri, 29 Jul 2011 17:24:04 +0000 (19:24 +0200)]
Add copyright headers to all non autogenerated files

Git-Dch: Ignore

13 years agoMove GbpPatchQueue and GbpPatch into gbp.pq
Guido Günther [Fri, 29 Jul 2011 17:12:16 +0000 (19:12 +0200)]
Move GbpPatchQueue and GbpPatch into gbp.pq

13 years agoDocument changes and release 0.5.28 debian/0.5.28
Guido Günther [Fri, 29 Jul 2011 17:03:24 +0000 (19:03 +0200)]
Document changes and release 0.5.28

13 years agoFix some epydoc warnings
Guido Günther [Fri, 29 Jul 2011 16:10:25 +0000 (18:10 +0200)]
Fix some epydoc warnings

Git-Dch: Ignore

13 years agoSplit out GbpPatchQueue and GbpPatch
Guido Günther [Fri, 29 Jul 2011 15:06:55 +0000 (17:06 +0200)]
Split out GbpPatchQueue and GbpPatch

to handle "-p<num>" without munging the code further

Closes: #635873

13 years agoAdd strip option to GitRepository.apply
Guido Günther [Fri, 29 Jul 2011 12:12:30 +0000 (14:12 +0200)]
Add strip option to GitRepository.apply

13 years agoBetter document --git-upstream-tree
Guido Günther [Fri, 29 Jul 2011 11:58:54 +0000 (13:58 +0200)]
Better document --git-upstream-tree

13 years agoReport errors reading the patch file
Guido Günther [Fri, 29 Jul 2011 10:14:18 +0000 (12:14 +0200)]
Report errors reading the patch file

instead of throwing an exception.

Closes: #635872

13 years agoBe less picky about empty filters
Guido Günther [Wed, 27 Jul 2011 20:50:34 +0000 (22:50 +0200)]
Be less picky about empty filters

Closes: #635641

13 years agogit-import-orig: Clarify missing argument error message
Guido Günther [Wed, 27 Jul 2011 20:45:34 +0000 (22:45 +0200)]
git-import-orig: Clarify missing argument error message

13 years agoDocument changes and release 0.5.27 debian/0.5.27
Guido Günther [Tue, 26 Jul 2011 20:21:16 +0000 (22:21 +0200)]
Document changes and release 0.5.27

13 years agoBuild-Depend on uznip for the testsuite
Guido Günther [Tue, 26 Jul 2011 20:28:13 +0000 (22:28 +0200)]
Build-Depend on uznip for the testsuite

Git-Dch: Ignore

13 years agogit-dch: add formatter that wraps the changelog entry
Guido Günther [Mon, 25 Jul 2011 21:02:29 +0000 (23:02 +0200)]
git-dch: add formatter that wraps the changelog entry

Closes: #626439

13 years agogit-import-orig: split out package and version detection
Guido Günther [Mon, 25 Jul 2011 15:49:47 +0000 (17:49 +0200)]
git-import-orig: split out package and version detection

Git-Dch: Ignore

13 years agoDrop unpack_orig and tar_toplevel
Guido Günther [Mon, 25 Jul 2011 15:40:11 +0000 (17:40 +0200)]
Drop unpack_orig and tar_toplevel

13 years agoCatch empty package names
Guido Günther [Mon, 25 Jul 2011 18:56:10 +0000 (20:56 +0200)]
Catch empty package names

This can happen in empty repositories when importing non tarball
upstream source.

Git-Dch: Ignore

13 years agoStrip trailing '/' from the unpack path
Guido Günther [Mon, 25 Jul 2011 18:53:16 +0000 (20:53 +0200)]
Strip trailing '/' from the unpack path

so the dirname/basename split works reliably

Git-Dch: Ignore

13 years agoAdd tests for UpstreamSource
Guido Günther [Mon, 25 Jul 2011 13:02:08 +0000 (15:02 +0200)]
Add tests for UpstreamSource

* tar and zipfile unpacking
* (filtered) tar packing

13 years agogit-import-orig: support filters for all input formats
Guido Günther [Sun, 24 Jul 2011 20:57:01 +0000 (22:57 +0200)]
git-import-orig: support filters for all input formats

Closes: #628645

13 years agoRemove fastimport code
Guido Günther [Sun, 24 Jul 2011 13:44:57 +0000 (15:44 +0200)]
Remove fastimport code

since it didn't support filters, etc.

13 years agoSupport importing zip archives
Guido Günther [Sun, 24 Jul 2011 12:52:12 +0000 (14:52 +0200)]
Support importing zip archives

This can now be easily extended to support other formats

13 years agoRemove pychecker option that's already the default
Guido Günther [Mon, 25 Jul 2011 10:07:36 +0000 (12:07 +0200)]
Remove pychecker option that's already the default

Git-Dch: Ignore

13 years agoReenable pychecker checks
Guido Günther [Mon, 25 Jul 2011 09:36:26 +0000 (11:36 +0200)]
Reenable pychecker checks

13 years agoDrop unused funciton argument
Guido Günther [Mon, 25 Jul 2011 09:35:54 +0000 (11:35 +0200)]
Drop unused funciton argument

spotted by pychecker

Git-Dch: Ignore

13 years agogbp-pbuilder is no more
Guido Günther [Mon, 25 Jul 2011 09:31:01 +0000 (11:31 +0200)]
gbp-pbuilder is no more

Git-Dch: Ignore

13 years agoSwitch to dh_python2
Guido Günther [Sun, 24 Jul 2011 13:41:25 +0000 (15:41 +0200)]
Switch to dh_python2

13 years agoDrop suggests of git-load-dirs
Guido Günther [Sun, 24 Jul 2011 12:50:30 +0000 (14:50 +0200)]
Drop suggests of git-load-dirs

It's not in the archive anymore

13 years agogit-import-orig: Better support uscan of non tar.gz tarballs
Guido Günther [Sun, 24 Jul 2011 12:27:33 +0000 (14:27 +0200)]
git-import-orig: Better support uscan of non tar.gz tarballs

Closes: #629538

13 years agogit-import-orig: simplify uscan code
Guido Günther [Sun, 24 Jul 2011 12:16:57 +0000 (14:16 +0200)]
git-import-orig: simplify uscan code

Git-Dch: Ignore

13 years agoUse target element of newer uscan
Guido Günther [Sun, 24 Jul 2011 11:23:51 +0000 (13:23 +0200)]
Use target element of newer uscan

and move uscan parsing into a separate function.

Git-Dch: Ignore

13 years agogit-buildpackage: Add upstream-tree option
Ricardo Salveti de Araujo [Wed, 13 Apr 2011 06:33:14 +0000 (03:33 -0300)]
git-buildpackage: Add upstream-tree option

to specify where the upstream tarball should be created from. The
default is to create the upstream tarball from the exact tag and fail
otherwise. To create the upstream tarball from the tip of the upstream
branch use 'branch'.

Based on a patch by Ricardo Salveti de Araujo

13 years agoAdd autocompletion for --git-dist=
Guido Günther [Fri, 22 Jul 2011 21:48:30 +0000 (23:48 +0200)]
Add autocompletion for --git-dist=

based on the available cowbuilder images

13 years agoDocument changes and release 0.5.26 debian/0.5.26
Guido Günther [Wed, 6 Jul 2011 21:09:55 +0000 (23:09 +0200)]
Document changes and release 0.5.26

13 years agogbp-create-remote-repo: switch to git.debian.org
Guido Günther [Wed, 6 Jul 2011 21:08:16 +0000 (23:08 +0200)]
gbp-create-remote-repo: switch to git.debian.org

Thanks: Ritesh Raj Sarraf
Closes: #632897

13 years agogbp-create-remote-repo: Drop comparison from doctests
Guido Günther [Fri, 24 Jun 2011 17:09:41 +0000 (19:09 +0200)]
gbp-create-remote-repo: Drop comparison from doctests

Git-Dch: Ignore

13 years agogbp-create-remote-repo: Improve url handling
Courtney Bane [Fri, 24 Jun 2011 16:37:59 +0000 (18:37 +0200)]
gbp-create-remote-repo: Improve url handling

Support user name expansion and different ssh ports.

Closes; #630832

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()