tools/git-buildpackage.git
14 years agoDon't fail on missing debian/rules
Guido Günther [Thu, 16 Sep 2010 07:49:42 +0000 (09:49 +0200)]
Don't fail on missing debian/rules

LP: #638371

14 years agoImprove compression format detection
Guido Günther [Tue, 14 Sep 2010 08:34:20 +0000 (10:34 +0200)]
Improve compression format detection

by checking if a version is already on the pristine-tar branch and use
it's compression type if found.

LP: #615212

14 years agoAvoid unnecessary branch switch
Guido Günther [Tue, 14 Sep 2010 06:52:39 +0000 (08:52 +0200)]
Avoid unnecessary branch switch

when fixing the previous issues.
LP: #637286

14 years agoSwitch to debian branch before forcing the HEAD update
Guido Günther [Mon, 13 Sep 2010 18:53:20 +0000 (20:53 +0200)]
Switch to debian branch before forcing the HEAD update

otherwise we might forward the current branch to another branch's ref.

Thanks: Rolf Leggewie for the testcase

14 years agoAdd --git-arch option
Guido Günther [Thu, 2 Sep 2010 20:12:10 +0000 (22:12 +0200)]
Add --git-arch option

14 years agoResync with git-pbuilder 0.16
Guido Günther [Thu, 2 Sep 2010 06:48:40 +0000 (08:48 +0200)]
Resync with git-pbuilder 0.16

Closes: #595055

14 years agoDocument changes and release 0.5.8 debian/0.5.8
Guido Günther [Wed, 1 Sep 2010 08:57:48 +0000 (10:57 +0200)]
Document changes and release 0.5.8

14 years agoDon't hardcode package name
Guido Günther [Tue, 31 Aug 2010 11:35:44 +0000 (13:35 +0200)]
Don't hardcode package name

14 years agoFix exception name
Guido Günther [Tue, 31 Aug 2010 09:23:36 +0000 (11:23 +0200)]
Fix exception name

so we don't fail on repos without tags.

14 years agoRemove file and commit ambiguity
Guido Günther [Tue, 31 Aug 2010 08:15:41 +0000 (10:15 +0200)]
Remove file and commit ambiguity

14 years agoProperly handle local only changes as no update needed
Guido Günther [Sun, 29 Aug 2010 16:05:11 +0000 (18:05 +0200)]
Properly handle local only changes as no update needed

14 years agoFix --git-cleaner option name in git-buildpackage man page
Svend Sorensen [Tue, 24 Aug 2010 22:15:48 +0000 (15:15 -0700)]
Fix --git-cleaner option name in git-buildpackage man page

git-cleaner option is misspelled as git-cleander in description of
git-pbuilder option in the git-buildpackage man page.

Closes: #594612

14 years agoSimple helper to tag a version if using git-svn
Guido Günther [Tue, 24 Aug 2010 17:24:06 +0000 (19:24 +0200)]
Simple helper to tag a version if using git-svn

14 years agoDon't call stdout stdin.
Matthijs Kooijman [Thu, 19 Aug 2010 12:26:04 +0000 (14:26 +0200)]
Don't call stdout stdin.

Git-Dch: Ignore

14 years agoDocument changes and release 0.5.7 debian/0.5.7
Guido Günther [Wed, 18 Aug 2010 16:19:30 +0000 (18:19 +0200)]
Document changes and release 0.5.7

14 years agoUse --pretty=format: instead of --format=
Guido Günther [Wed, 18 Aug 2010 16:02:40 +0000 (18:02 +0200)]
Use --pretty=format: instead of --format=

to support the git version in Lenny.

14 years agoCheck for greater not unequal when looking for a new upstream version
Guido Günther [Wed, 18 Aug 2010 15:54:26 +0000 (17:54 +0200)]
Check for greater not unequal when looking for a new upstream version

14 years agoCatch KeyboardInterrupt
Guido Günther [Sun, 15 Aug 2010 18:19:41 +0000 (20:19 +0200)]
Catch KeyboardInterrupt

14 years agoDon't fail on gbp_version import errors
Guido Günther [Sun, 15 Aug 2010 18:17:43 +0000 (20:17 +0200)]
Don't fail on gbp_version import errors

This makes it easier to test from the source tree without starting a
build first.

14 years agoFix bug number
Guido Günther [Sat, 14 Aug 2010 08:59:54 +0000 (10:59 +0200)]
Fix bug number

Git-Dch: Ignore

14 years agoUpdate copyright file
Guido Günther [Sat, 14 Aug 2010 08:36:38 +0000 (10:36 +0200)]
Update copyright file

14 years agoRecommend cowbuilder
Guido Günther [Sat, 14 Aug 2010 08:31:54 +0000 (10:31 +0200)]
Recommend cowbuilder

14 years agoCheck for cowbuilder
Guido Günther [Sat, 14 Aug 2010 08:31:28 +0000 (10:31 +0200)]
Check for cowbuilder

The cowbuilder package depends on pbuilder so this is enough.

14 years agoOnly output dist if set.
Guido Günther [Sat, 14 Aug 2010 08:31:18 +0000 (10:31 +0200)]
Only output dist if set.

14 years agoDocument changes and release 0.5.6 debian/0.5.6
Guido Günther [Fri, 13 Aug 2010 23:27:03 +0000 (01:27 +0200)]
Document changes and release 0.5.6

14 years agoWhen creating a new base image don't fail if it's missing
Guido Günther [Fri, 13 Aug 2010 17:31:27 +0000 (19:31 +0200)]
When creating a new base image don't fail if it's missing

14 years agoDocument changes and release 0.5.5 debian/0.5.5
Guido Günther [Thu, 12 Aug 2010 21:37:32 +0000 (23:37 +0200)]
Document changes and release 0.5.5

14 years agoGuess changelog version number from upstream version
Guido Günther [Thu, 12 Aug 2010 20:06:32 +0000 (22:06 +0200)]
Guess changelog version number from upstream version

14 years agoMove DpkgCompareVersions and add compare_versions
Guido Günther [Thu, 12 Aug 2010 20:05:40 +0000 (22:05 +0200)]
Move DpkgCompareVersions and add compare_versions

Git-Dch: Ignore

14 years agoSilence compression type detection
Guido Günther [Thu, 12 Aug 2010 18:34:00 +0000 (20:34 +0200)]
Silence compression type detection

Git-Dch: Ignore

14 years agoMissing manpage fix
Guido Günther [Thu, 12 Aug 2010 18:32:48 +0000 (20:32 +0200)]
Missing manpage fix

Git-Dch: Ignore

14 years agoAdd --git-pbuilder and --git-dist=<dist> options
Guido Günther [Thu, 12 Aug 2010 18:09:49 +0000 (20:09 +0200)]
Add --git-pbuilder and --git-dist=<dist> options

14 years agoBuild and install git-pbuilder manpage
Guido Günther [Thu, 12 Aug 2010 16:37:06 +0000 (18:37 +0200)]
Build and install git-pbuilder manpage

14 years agoSimplify example using --download
Guido Günther [Thu, 12 Aug 2010 16:15:50 +0000 (18:15 +0200)]
Simplify example using --download

14 years agoUse git-pbuilder in the pbuilder chapter
Guido Günther [Thu, 12 Aug 2010 16:05:40 +0000 (18:05 +0200)]
Use git-pbuilder in the pbuilder chapter

14 years agoDeprecate our own pbuilder helpers
Guido Günther [Thu, 12 Aug 2010 15:55:12 +0000 (17:55 +0200)]
Deprecate our own pbuilder helpers

14 years agoAdd git-pbuilder
Guido Günther [Wed, 11 Aug 2010 13:48:00 +0000 (15:48 +0200)]
Add git-pbuilder

Thanks: Russ Allbery
Closes: #583078

14 years agoCheck for legacy tags where necessary.
Guido Günther [Tue, 10 Aug 2010 15:47:24 +0000 (17:47 +0200)]
Check for legacy tags where necessary.

14 years agoBetter version number replacement
Guido Günther [Thu, 5 Aug 2010 02:26:44 +0000 (22:26 -0400)]
Better version number replacement

Closes: #534494

14 years agoPass dch_options to all calls of spawn_dch
Guido Günther [Mon, 9 Aug 2010 14:56:29 +0000 (16:56 +0200)]
Pass dch_options to all calls of spawn_dch

This fixes the problem of an empty [maintainer] at the end of the
changelog section.

Thanks: Michael Prokop

14 years agoSupport --nmu, --bpo and --qa
Guido Günther [Thu, 5 Aug 2010 00:26:41 +0000 (20:26 -0400)]
Support --nmu, --bpo and --qa

Closes; #534494

14 years agoCatch GitRepositoryErrors
Guido Günther [Tue, 10 Aug 2010 15:44:51 +0000 (17:44 +0200)]
Catch GitRepositoryErrors

for less Python exceptions

Git-Dch: Ignore

14 years agoRemove duplicate check
Guido Günther [Tue, 10 Aug 2010 15:37:27 +0000 (17:37 +0200)]
Remove duplicate check

Git-Dch: Ignore

14 years agoDocument changes and release 0.5.4 debian/0.5.4
Guido Günther [Fri, 6 Aug 2010 21:09:47 +0000 (17:09 -0400)]
Document changes and release 0.5.4

14 years agoPass --multimaint-merge on to dch
Guido Günther [Fri, 6 Aug 2010 17:55:53 +0000 (13:55 -0400)]
Pass --multimaint-merge on to dch

Closes: #586165

14 years agoDon't add superflous parents to imports on the Debian branch
Guido Günther [Fri, 6 Aug 2010 14:42:56 +0000 (10:42 -0400)]
Don't add superflous parents to imports on the Debian branch

Only set a parent on the first import per upstream version.

14 years agoWe don't only support .gz tarballs
Guido Günther [Wed, 4 Aug 2010 20:41:55 +0000 (16:41 -0400)]
We don't only support .gz tarballs

14 years agoDon't update already up to date branches
Guido Günther [Wed, 4 Aug 2010 19:26:13 +0000 (15:26 -0400)]
Don't update already up to date branches

14 years agoBump standards version
Guido Günther [Wed, 4 Aug 2010 13:50:39 +0000 (09:50 -0400)]
Bump standards version

14 years agoDrop git_load_dirs reference
Guido Günther [Wed, 4 Aug 2010 01:41:23 +0000 (21:41 -0400)]
Drop git_load_dirs reference

we're not using it anymore.

14 years agoUse the maintainer of the Debian package as fallback patch author
Guido Günther [Wed, 4 Aug 2010 00:09:53 +0000 (20:09 -0400)]
Use the maintainer of the Debian package as fallback patch author

14 years agoDocument changes and release 0.5.3 debian/0.5.3
Guido Günther [Mon, 2 Aug 2010 20:10:26 +0000 (22:10 +0200)]
Document changes and release 0.5.3

14 years agoDon't compress example scripts
Guido Günther [Mon, 2 Aug 2010 20:12:31 +0000 (22:12 +0200)]
Don't compress example scripts

Git-Dch: Ignore

14 years agoDon't insert a dot if the second line starts with a punctuation
Guido Günther [Mon, 2 Aug 2010 19:58:04 +0000 (21:58 +0200)]
Don't insert a dot if the second line starts with a punctuation

Git-Dch: Ignore

14 years agoFetch all snapshots from snapshots.debian.org
Guido Günther [Mon, 2 Aug 2010 18:29:44 +0000 (20:29 +0200)]
Fetch all snapshots from snapshots.debian.org

using debsnap and import them

Closes: #591218

14 years agoSimple helper to create remote repos
Guido Günther [Fri, 30 Jul 2010 09:18:49 +0000 (11:18 +0200)]
Simple helper to create remote repos

based on dom-new-git-repo from the OCaml maintainers as well as
aa-create-repo.

Closes: #540185

14 years agoAdjust for zeitgeist 0.4.0
Guido Günther [Tue, 27 Jul 2010 18:23:52 +0000 (20:23 +0200)]
Adjust for zeitgeist 0.4.0

14 years agoSet author information from git on --release when using --git-author
Guido Günther [Fri, 23 Jul 2010 10:50:36 +0000 (12:50 +0200)]
Set author information from git on --release when using --git-author

Thanks: Boleslaw Tokarski for his feedback

14 years agoUse repo.rev_parse
Guido Günther [Fri, 23 Jul 2010 09:43:49 +0000 (11:43 +0200)]
Use repo.rev_parse

Git-Dch: Ignore

14 years agoAdd git-author
Guido Günther [Fri, 23 Jul 2010 09:35:57 +0000 (11:35 +0200)]
Add git-author

Git-Dch: Ignore

14 years agoBetter document the default config file
Guido Günther [Thu, 22 Jul 2010 18:04:31 +0000 (20:04 +0200)]
Better document the default config file

14 years agoTerminate the patch description with a dot
Guido Günther [Wed, 21 Jul 2010 16:26:29 +0000 (18:26 +0200)]
Terminate the patch description with a dot

in case of multiline commits where the second line starts with a
uppercase letter. Heavily based on a patch by Jonathan Nieder.

14 years agoDocument changes and release 0.5.2 debian/0.5.2
Guido Günther [Tue, 20 Jul 2010 20:14:06 +0000 (22:14 +0200)]
Document changes and release 0.5.2

14 years agoDocument changes and release 0.5.1 debian/0.5.1
Guido Günther [Tue, 20 Jul 2010 19:31:38 +0000 (21:31 +0200)]
Document changes and release 0.5.1

14 years agoBump standards version
Guido Günther [Tue, 20 Jul 2010 19:14:13 +0000 (21:14 +0200)]
Bump standards version

14 years agoAdd prebuild hook
Jonathan Nieder [Tue, 6 Jul 2010 08:22:51 +0000 (03:22 -0500)]
Add prebuild hook

Can be used to add an upstream changelog generated from the
git repository to the build dir.

Closes: #587652

14 years agoDocument changes and release 0.5.0 debian/0.5.0
Guido Günther [Mon, 5 Jul 2010 20:02:29 +0000 (22:02 +0200)]
Document changes and release 0.5.0

14 years agoUse commit_dir instead of replace_tree
Guido Günther [Sun, 4 Jul 2010 18:03:15 +0000 (20:03 +0200)]
Use commit_dir instead of replace_tree

Closes: #526022, #569031

14 years agoDrop --no-merge
Guido Günther [Sat, 3 Jul 2010 21:33:50 +0000 (23:33 +0200)]
Drop --no-merge

We don't invoke 'git merge' anymore.

14 years agoUse commit_dir
Guido Günther [Fri, 2 Jul 2010 18:05:04 +0000 (20:05 +0200)]
Use commit_dir

to write directly commit the content of the unpacked orig tarball and the
patched Debian tree instead of using replace_tree.

Closes: #506211, #588061
Thanks: Roger Leigh for his nice explantion on howto do this.

14 years agoAdd force_head
Guido Günther [Sat, 3 Jul 2010 21:30:38 +0000 (23:30 +0200)]
Add force_head

Git-Dch: Ignore

14 years agoAdd commit_dir and helpers
Guido Günther [Fri, 2 Jul 2010 18:02:29 +0000 (20:02 +0200)]
Add commit_dir and helpers

Allows to commit an unpacked tree to a specific branch with any number
of parents.

Git-Dch: Ignore

14 years agoAllow git_write_tree to use an alternate index file
Guido Günther [Fri, 2 Jul 2010 17:56:01 +0000 (19:56 +0200)]
Allow git_write_tree to use an alternate index file

Git-Dch: Ignore

14 years agoAllow to pass extra_env to __git_getoutput and __git_inout
Guido Günther [Fri, 2 Jul 2010 17:54:10 +0000 (19:54 +0200)]
Allow to pass extra_env to __git_getoutput and __git_inout

Git-Dch: Ignore

14 years agoAdd __git_inout
Guido Günther [Fri, 2 Jul 2010 17:54:43 +0000 (19:54 +0200)]
Add __git_inout

to send data to stdin of a git command and receive it's output. Only for
small amounts of output data such as a SHA1.

Git-Dch: Ignore

14 years agoAdd extra_env to GitTag
Guido Günther [Fri, 2 Jul 2010 17:52:47 +0000 (19:52 +0200)]
Add extra_env to GitTag

Git-Dch: Ignore

14 years agoImport GbpError since we're using it
Guido Günther [Fri, 2 Jul 2010 17:53:26 +0000 (19:53 +0200)]
Import GbpError since we're using it

Git-Dch: Ignore

14 years agofix typo
twerner@debian.org [Wed, 30 Jun 2010 19:24:19 +0000 (21:24 +0200)]
fix typo

14 years agoDon't document Git-Dch: twice
Guido Günther [Tue, 29 Jun 2010 15:42:21 +0000 (17:42 +0200)]
Don't document Git-Dch: twice

Closes: #587456
Thanks: Matthijs Kooijman

14 years agoMention patch-queue branches
Guido Günther [Mon, 28 Jun 2010 09:10:08 +0000 (11:10 +0200)]
Mention patch-queue branches

14 years agoAbort if upstream tarball contains git metadata
Guido Günther [Sat, 26 Jun 2010 12:45:05 +0000 (14:45 +0200)]
Abort if upstream tarball contains git metadata

Closes: #571717

14 years agoAdd compression=auto
Guido Günther [Fri, 25 Jun 2010 22:18:55 +0000 (00:18 +0200)]
Add compression=auto

to guess compression type of upstream tarball from pristine-tar branch.
This is now the default.

Closes: #566993

14 years agoDrop dependency on python-dev
Guido Günther [Fri, 25 Jun 2010 22:26:04 +0000 (00:26 +0200)]
Drop dependency on python-dev

since it's not needed for arch all packages. Depend on python instead.

14 years agoDocument changes and release 0.4.68 debian/0.4.68
Guido Günther [Sat, 19 Jun 2010 14:07:28 +0000 (16:07 +0200)]
Document changes and release 0.4.68

14 years agoAdd option --git-force-create to force tarball creation
Christian Kastner [Thu, 10 Jun 2010 16:30:50 +0000 (18:30 +0200)]
Add option --git-force-create to force tarball creation

Closes: #519297

14 years agoAdd 'ignore-branch' option
Guido Günther [Sat, 19 Jun 2010 13:55:28 +0000 (15:55 +0200)]
Add 'ignore-branch' option

This disables the 'current branch' == 'debian-branch' check.

14 years agoStrip traling slashes from repo path
Guido Günther [Mon, 7 Jun 2010 15:50:35 +0000 (17:50 +0200)]
Strip traling slashes from repo path

Closes: #584775

14 years agoNo need to assign repo
Guido Günther [Mon, 7 Jun 2010 15:29:21 +0000 (17:29 +0200)]
No need to assign repo

14 years agogbp-pq: Use run_git to catch git errors
Guido Günther [Sat, 15 May 2010 17:21:21 +0000 (19:21 +0200)]
gbp-pq: Use run_git to catch git errors

14 years agogbp-pq export: Instead of failing switch branch
Guido Günther [Sat, 15 May 2010 17:12:43 +0000 (19:12 +0200)]
gbp-pq export: Instead of failing switch branch

if on a patch-queue branch.

14 years agodocument changes and release 0.4.67 debian/0.4.67
Guido Günther [Sat, 15 May 2010 12:02:40 +0000 (14:02 +0200)]
document changes and release 0.4.67

14 years agoLet docbook handle the hard part
Guido Günther [Thu, 13 May 2010 17:51:11 +0000 (19:51 +0200)]
Let docbook handle the hard part

Git-Dch: Ignore

14 years agoDocument --download
Guido Günther [Thu, 13 May 2010 17:31:09 +0000 (19:31 +0200)]
Document --download

14 years agoImprove manpage and help output
Guido Günther [Thu, 13 May 2010 13:23:51 +0000 (15:23 +0200)]
Improve manpage and help output

14 years agoAdd --download option
Guido Günther [Wed, 12 May 2010 07:21:20 +0000 (09:21 +0200)]
Add --download option

This allows to directly import source packages either via
    git-import-dsc --download <pkg>
or
    git-import-dsc --download <url-to-dsc>

The former uses "apt-get soure" the later "dget".

Closes: #510036

14 years agoDocument Git-Dch: Ignore and Git-Dch: Short
Guido Günther [Tue, 4 May 2010 09:31:54 +0000 (11:31 +0200)]
Document Git-Dch: Ignore and Git-Dch: Short

14 years agoDrop superflous TERM
Guido Günther [Tue, 4 May 2010 09:29:34 +0000 (11:29 +0200)]
Drop superflous TERM

Git-Dch: Ignore

14 years agoDocument --git-compression and --git-compression-level
Guido Günther [Tue, 4 May 2010 09:00:58 +0000 (11:00 +0200)]
Document --git-compression and --git-compression-level

14 years agoDocument --uscan
Guido Günther [Tue, 4 May 2010 08:50:23 +0000 (10:50 +0200)]
Document --uscan

14 years agoDocument gbp-pull exit codes
Guido Günther [Tue, 4 May 2010 08:48:27 +0000 (10:48 +0200)]
Document gbp-pull exit codes