tools/git-buildpackage.git
14 years agoImprove error handling on broken dsc files.
Guido Günther [Sun, 13 Dec 2009 13:09:44 +0000 (14:09 +0100)]
Improve error handling on broken dsc files.

Closes: #560689

14 years agodocument changes and release 0.4.61 debian/0.4.61
Guido Günther [Thu, 26 Nov 2009 18:06:05 +0000 (19:06 +0100)]
document changes and release 0.4.61

14 years agocleanup symlinks
Guido Günther [Thu, 26 Nov 2009 18:05:41 +0000 (19:05 +0100)]
cleanup symlinks

14 years agodocument changes and release 0.4.61
Guido Günther [Thu, 26 Nov 2009 17:55:36 +0000 (18:55 +0100)]
document changes and release 0.4.61

14 years agoDon't fail if no tracking branch exists.
Guido Günther [Thu, 26 Nov 2009 16:22:13 +0000 (17:22 +0100)]
Don't fail if no tracking branch exists.

14 years agoMake the default build command 3.x source format safe
Guido Günther [Sun, 22 Nov 2009 16:04:42 +0000 (17:04 +0100)]
Make the default build command 3.x source format safe

Instead of passing "-i\.git/ -I.git" to debuild use "-i -I". This makes
sure we use the default behaviour of dpkg-source.

Closes: #553079

14 years agoAdd documentation for gbp-{pg,pull.clone}
Guido Günther [Sun, 22 Nov 2009 16:01:02 +0000 (17:01 +0100)]
Add documentation for gbp-{pg,pull.clone}

14 years agoMake gbp-clone, gbp-pull and gbp-pq first class citizens
Guido Günther [Sun, 22 Nov 2009 15:05:17 +0000 (16:05 +0100)]
Make gbp-clone, gbp-pull and gbp-pq first class citizens

by moving them from examples/ to /usr/bin/

14 years agouse git;// instead of http://
Guido Günther [Sun, 15 Nov 2009 19:16:51 +0000 (20:16 +0100)]
use git;// instead of http://

14 years agoswitch to 3.0 (native) source format
Guido Günther [Sat, 7 Nov 2009 15:05:40 +0000 (16:05 +0100)]
switch to 3.0 (native) source format

14 years agodocument changes and release 0.4.60 debian/0.4.60
Guido Günther [Sat, 7 Nov 2009 14:32:41 +0000 (15:32 +0100)]
document changes and release 0.4.60

14 years agoDon't compress the example scripts
Guido Günther [Sat, 7 Nov 2009 14:21:10 +0000 (15:21 +0100)]
Don't compress the example scripts

14 years agoadd --redo-pq
Guido Günther [Sat, 7 Nov 2009 14:07:18 +0000 (15:07 +0100)]
add --redo-pq

so a "gbp-pull --redo-pq" also refreshes the patch-queue branch

14 years agoDon't fail when series file is missing.
Guido Günther [Sat, 7 Nov 2009 14:11:52 +0000 (15:11 +0100)]
Don't fail when series file is missing.

Create an empty patch-queue branch instead.

14 years agoadd option to drop patch-queue branch
Guido Günther [Sat, 7 Nov 2009 14:02:53 +0000 (15:02 +0100)]
add option to drop patch-queue branch

14 years agoStefano Zacchiroli’s workaround for creating empty upstream branches.
Charles Plessy [Tue, 3 Nov 2009 13:04:36 +0000 (22:04 +0900)]
Stefano Zacchiroli’s workaround for creating empty upstream branches.

(See ‘http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=471560’)

14 years agocheck for clean repo
Guido Günther [Sun, 25 Oct 2009 21:29:36 +0000 (22:29 +0100)]
check for clean repo

14 years agoUse "imported" instead of "merged".
Guido Günther [Sun, 25 Oct 2009 12:43:08 +0000 (13:43 +0100)]
Use "imported" instead of "merged".

This way we don't claim we merged something but we possibly didn't.
Closes: #545908

14 years agodocument --git-retag
Guido Günther [Sat, 24 Oct 2009 20:23:49 +0000 (22:23 +0200)]
document --git-retag

14 years agodocument changes and release 0.4.59 debian/0.4.59
Guido Günther [Sat, 24 Oct 2009 19:34:00 +0000 (21:34 +0200)]
document changes and release 0.4.59

14 years agofix link to "homepage"
Guido Günther [Sat, 24 Oct 2009 19:28:27 +0000 (21:28 +0200)]
fix link to "homepage"

14 years agomove FastImport into gbp/git.py
Guido Günther [Sat, 24 Oct 2009 19:10:31 +0000 (21:10 +0200)]
move FastImport into gbp/git.py

14 years agoadd --git-retag
Guido Günther [Sat, 24 Oct 2009 19:00:56 +0000 (21:00 +0200)]
add --git-retag

Closes: #521329

14 years agoadd gbp-pull
Guido Günther [Sat, 22 Aug 2009 11:53:28 +0000 (13:53 +0200)]
add gbp-pull

Adresses another part of #540185.

14 years agoadd GitRepository.is_fast_forward()
Guido Günther [Sat, 24 Oct 2009 17:47:09 +0000 (19:47 +0200)]
add GitRepository.is_fast_forward()

14 years agoadd GitRepository.get_merge_branch()
Guido Günther [Sat, 24 Oct 2009 17:16:04 +0000 (19:16 +0200)]
add GitRepository.get_merge_branch()

14 years agoadd GitFetch
Guido Günther [Sat, 24 Oct 2009 16:40:34 +0000 (18:40 +0200)]
add GitFetch

14 years agoimport Command too
Guido Günther [Sat, 24 Oct 2009 16:27:24 +0000 (18:27 +0200)]
import Command too

fixes "--verbose"

15 years agoDrop superflous argument
Guido Günther [Tue, 13 Oct 2009 21:02:07 +0000 (23:02 +0200)]
Drop superflous argument

fixes TypeError on merge failures.

Closes: #549885

15 years agodocument changes and release 0.4.58 debian/0.4.58
Guido Günther [Mon, 5 Oct 2009 16:16:27 +0000 (18:16 +0200)]
document changes and release 0.4.58

15 years agoexport GBP_BRANCH to postimport hook
Guido Günther [Mon, 5 Oct 2009 16:13:08 +0000 (18:13 +0200)]
export GBP_BRANCH to postimport hook

so we can pass the current branch to git-dch

15 years agoadd missing --git- prefix
Guido Günther [Wed, 16 Sep 2009 22:02:38 +0000 (00:02 +0200)]
add missing --git- prefix

15 years agomention pristine-tar branch and pristine-tar
Guido Günther [Wed, 16 Sep 2009 21:47:44 +0000 (23:47 +0200)]
mention pristine-tar branch and pristine-tar

15 years agocatch config file parse errors
Guido Günther [Tue, 15 Sep 2009 11:40:55 +0000 (13:40 +0200)]
catch config file parse errors

Closes: #545690

15 years agodocument changes and release 0.4.57 debian/0.4.57
Guido Günther [Sat, 5 Sep 2009 14:06:40 +0000 (16:06 +0200)]
document changes and release 0.4.57

15 years agodocument changes so far
Guido Günther [Sat, 5 Sep 2009 13:27:48 +0000 (15:27 +0200)]
document changes so far

15 years agoAdd changelog section if current topmost version is already tagged.
Guido Günther [Sun, 23 Aug 2009 16:00:40 +0000 (18:00 +0200)]
Add changelog section if current topmost version is already tagged.

This makes sure we add a new changelog section after a release. This was
broken due to 016318.

15 years agofix testcase name
Guido Günther [Mon, 24 Aug 2009 05:59:09 +0000 (07:59 +0200)]
fix testcase name

15 years agocatch gbp.deb.NoChangelogError
Guido Günther [Mon, 24 Aug 2009 05:47:11 +0000 (07:47 +0200)]
catch gbp.deb.NoChangelogError

15 years agoAdd gbp-clone
Guido Günther [Sat, 5 Sep 2009 11:06:41 +0000 (13:06 +0200)]
Add gbp-clone

to examples. Using this to clone repositories will automatically track
the remote branches used by gbp. Adresses parts of #540185.

15 years agomake has_branch aware of remote branches
Guido Günther [Sat, 5 Sep 2009 11:35:49 +0000 (13:35 +0200)]
make has_branch aware of remote branches

15 years agomake GitBranch remote branch aware
Guido Günther [Sat, 5 Sep 2009 11:35:23 +0000 (13:35 +0200)]
make GitBranch remote branch aware

15 years agoadd GitClone
Guido Günther [Sat, 5 Sep 2009 11:06:52 +0000 (13:06 +0200)]
add GitClone

15 years agobump standards version
Guido Günther [Sun, 23 Aug 2009 15:27:13 +0000 (17:27 +0200)]
bump standards version

15 years ago--no-dch is no more
Guido Günther [Sun, 23 Aug 2009 15:25:44 +0000 (17:25 +0200)]
--no-dch is no more

15 years agoadd postimport hook for git-import-orig
Guido Günther [Sun, 23 Aug 2009 14:46:15 +0000 (16:46 +0200)]
add postimport hook for git-import-orig

Allows to run git-dch after import. Drop the dch invocation and warn
when --no-dch gets passed on the commandline.

Closes: #520355

15 years agouse option groups
Guido Günther [Sun, 23 Aug 2009 13:28:07 +0000 (15:28 +0200)]
use option groups

15 years agoadd unit test for --help
Guido Günther [Sun, 23 Aug 2009 11:34:38 +0000 (13:34 +0200)]
add unit test for --help

15 years agoTODO list maintained in the wiki
Guido Günther [Sat, 22 Aug 2009 13:16:29 +0000 (15:16 +0200)]
TODO list maintained in the wiki

15 years agoadd doctest for Command.call()
Guido Günther [Sat, 22 Aug 2009 13:03:42 +0000 (15:03 +0200)]
add doctest for Command.call()

and fix error in exception handling revealed by the test.

15 years agoadd doctest for Command.__call__()
Guido Günther [Sat, 22 Aug 2009 12:31:51 +0000 (14:31 +0200)]
add doctest for Command.__call__()

15 years agoadd doctest
Guido Günther [Sat, 22 Aug 2009 12:19:23 +0000 (14:19 +0200)]
add doctest

for __sanitize_version() and build_tag()

15 years agomake sanitize_version a private function
Guido Günther [Sat, 22 Aug 2009 12:15:26 +0000 (14:15 +0200)]
make sanitize_version a private function

15 years agodrop superfluous _utils from module names
Guido Günther [Sat, 22 Aug 2009 12:08:29 +0000 (14:08 +0200)]
drop superfluous _utils from module names

15 years agorun doctests with nose
Guido Günther [Sat, 22 Aug 2009 12:02:47 +0000 (14:02 +0200)]
run doctests with nose

15 years agohonor DEB_BUILD_OPTIONS=nocheck
Guido Günther [Sat, 22 Aug 2009 11:54:34 +0000 (13:54 +0200)]
honor DEB_BUILD_OPTIONS=nocheck

15 years agotrim commit display
Guido Günther [Tue, 18 Aug 2009 16:27:18 +0000 (18:27 +0200)]
trim commit display

15 years agodocument changes and release 0.4.56 debian/0.4.56
Guido Günther [Sat, 15 Aug 2009 17:25:16 +0000 (19:25 +0200)]
document changes and release 0.4.56

15 years agouse the last commit in which debian/changelog was touched as starting point
Guido Günther [Sat, 15 Aug 2009 17:13:44 +0000 (19:13 +0200)]
use the last commit in which debian/changelog was touched as starting point

if no snapshot header was found. This can still be overriden by using
--since. Based on a patch by Felipe Sateler.

Closes: #511269

15 years agomake parameters for GitRepository.commits() optional
Guido Günther [Sat, 15 Aug 2009 16:58:18 +0000 (18:58 +0200)]
make parameters for GitRepository.commits() optional

15 years agodepend on devscripts >= 2.10.49
Guido Günther [Fri, 14 Aug 2009 14:03:52 +0000 (16:03 +0200)]
depend on devscripts >= 2.10.49

for --no-force-save-on-release in dch

15 years agodocument changes and release 0.4.55 debian/0.4.55
Guido Günther [Thu, 30 Jul 2009 09:28:10 +0000 (11:28 +0200)]
document changes and release 0.4.55

15 years agoadd --no-force-save-on-release
Guido Günther [Wed, 29 Jul 2009 14:52:16 +0000 (16:52 +0200)]
add --no-force-save-on-release

so dch saves the changlog even when there are no changes so we don't end
up with UNRELEASED when passing -R.

15 years agobump standards version
Guido Günther [Wed, 29 Jul 2009 13:28:03 +0000 (15:28 +0200)]
bump standards version

15 years agocheck for correct overlay usage
Guido Günther [Wed, 29 Jul 2009 13:26:28 +0000 (15:26 +0200)]
check for correct overlay usage

15 years agoadd --git-overlay option
أحمد المحمودي [Wed, 29 Jul 2009 13:19:26 +0000 (15:19 +0200)]
add --git-overlay option

Closes: #411206

15 years agomake tar_toplevel safer
أحمد المحمودي [Wed, 29 Jul 2009 13:19:06 +0000 (15:19 +0200)]
make tar_toplevel safer

15 years agoadd gbp-pq to examples
Guido Günther [Thu, 23 Jul 2009 18:49:22 +0000 (20:49 +0200)]
add gbp-pq to examples

Closes: #537212

15 years agoupdate Homepage:
Guido Günther [Mon, 6 Jul 2009 19:36:25 +0000 (21:36 +0200)]
update Homepage:

15 years agofix release
Guido Günther [Fri, 3 Jul 2009 14:38:29 +0000 (16:38 +0200)]
fix release

15 years agodocument changes and release 0.4.54 debian/0.4.54
Guido Günther [Fri, 3 Jul 2009 14:19:30 +0000 (16:19 +0200)]
document changes and release 0.4.54

15 years ago+ is a valid character in version numbers
Guido Günther [Fri, 3 Jul 2009 14:15:24 +0000 (16:15 +0200)]
+ is a valid character in version numbers

15 years agofix one digit version numbers
Guido Günther [Sat, 13 Jun 2009 21:09:06 +0000 (23:09 +0200)]
fix one digit version numbers

15 years agoadd filter-pristine-tar
Mehdi Dogguy [Fri, 12 Jun 2009 10:37:55 +0000 (12:37 +0200)]
add filter-pristine-tar

to filter upstream tarball before passing it to pristine-tar

Closes: #520722

15 years agocheck for snapshot mode
Guido Günther [Fri, 12 Jun 2009 08:43:06 +0000 (10:43 +0200)]
check for snapshot mode

when checking if we need to add a new section.

Closes: #532583
Thanks: Ove Kaaven for sorting this out

15 years agoallow for uppercase characters in the version pattern
Guido Günther [Tue, 9 Jun 2009 15:35:34 +0000 (17:35 +0200)]
allow for uppercase characters in the version pattern

and in the package name if it's not a debian source package's name.
Also allow for ':' and '~' which are allowed accoring to Debian Policy.
Based on a patch by Felipe Sateler.

Closes: #531819

15 years agoUnconfuse git-dch when commit message starts with "--"
Damyan Ivanov [Tue, 9 Jun 2009 15:19:46 +0000 (17:19 +0200)]
Unconfuse git-dch when commit message starts with "--"

Closes: #531985

15 years agodocument changes and release 0.4.53 debian/0.4.53
Guido Günther [Sun, 3 May 2009 16:36:09 +0000 (18:36 +0200)]
document changes and release 0.4.53

15 years agoadd --fast-import
Guido Günther [Sat, 2 May 2009 17:54:23 +0000 (19:54 +0200)]
add --fast-import

This uses git-fast-import to import the upstream tarball, speeds up
imports of upstream tarballs by a factor of two. This options is
experimental and will become the default once it got more testing.

Closes: #449075

15 years agoadd get_author_email
Guido Günther [Sun, 26 Apr 2009 20:09:43 +0000 (22:09 +0200)]
add get_author_email

that parses git config and environment

15 years agoadd commit argument for GitTag
Guido Günther [Sun, 26 Apr 2009 20:09:09 +0000 (22:09 +0200)]
add commit argument for GitTag

15 years agopass --pretty=medium to git show
Guido Günther [Tue, 28 Apr 2009 17:54:15 +0000 (19:54 +0200)]
pass --pretty=medium to git show

Closes: #525969

15 years agodocument changes and release 0.4.52 debian/0.4.52
Guido Günther [Fri, 24 Apr 2009 15:36:41 +0000 (17:36 +0200)]
document changes and release 0.4.52

15 years agorestore default signal handlers before subprocess.call
Guido Günther [Fri, 24 Apr 2009 14:51:21 +0000 (16:51 +0200)]
restore default signal handlers before subprocess.call

Closes: #525411

15 years agofix missing argument in error message
Guido Günther [Fri, 24 Apr 2009 14:34:43 +0000 (16:34 +0200)]
fix missing argument in error message

15 years agopromote pristine-tar to Recommends:
Guido Günther [Fri, 17 Apr 2009 21:11:06 +0000 (23:11 +0200)]
promote pristine-tar to Recommends:

15 years agodocument postbuild hook
Guido Günther [Fri, 17 Apr 2009 08:28:30 +0000 (10:28 +0200)]
document postbuild hook

15 years agomove to section vcs
Guido Günther [Thu, 16 Apr 2009 10:55:23 +0000 (12:55 +0200)]
move to section vcs

15 years agodocument changes and release 0.4.51 debian/0.4.51
Guido Günther [Thu, 16 Apr 2009 09:47:55 +0000 (11:47 +0200)]
document changes and release 0.4.51

15 years agolet the version detection patter match debian policy
Guido Günther [Tue, 7 Apr 2009 12:28:00 +0000 (14:28 +0200)]
let the version detection patter match debian policy

Closes: #522888

15 years agobump standards version
Guido Günther [Sun, 5 Apr 2009 17:17:13 +0000 (19:17 +0200)]
bump standards version

15 years agopass GBP_BUILD_DIR to the build command
Guido Günther [Sun, 5 Apr 2009 17:03:34 +0000 (19:03 +0200)]
pass GBP_BUILD_DIR to the build command

this allows hooks to figure out where to copy back the build result.
Adjust the cowbuilder example accordingly.

15 years agoadd postbuild hook
Guido Günther [Sat, 4 Apr 2009 17:04:35 +0000 (19:04 +0200)]
add postbuild hook

can be used to e.g. run lintian.

Closes: #521358

15 years agoadd get_arch
Guido Günther [Sat, 4 Apr 2009 17:02:42 +0000 (19:02 +0200)]
add get_arch

returns dpkg's notion of the architecture

15 years agostore version without epoch
Guido Günther [Sat, 4 Apr 2009 17:02:07 +0000 (19:02 +0200)]
store version without epoch

and simplify version parsing

15 years agodon't ignore --debian-branch on import into non empty archives
Guido Günther [Wed, 25 Mar 2009 21:03:36 +0000 (22:03 +0100)]
don't ignore --debian-branch on import into non empty archives

15 years agodocument changes and release 0.4.50 debian/0.4.50
Guido Günther [Thu, 5 Mar 2009 20:10:28 +0000 (21:10 +0100)]
document changes and release 0.4.50

15 years agoadd git-builder cowbuilder example
Guido Günther [Thu, 5 Mar 2009 20:07:49 +0000 (21:07 +0100)]
add git-builder cowbuilder example

15 years agoSkip all comments before looking for clean_msg
Guido Günther [Tue, 3 Mar 2009 18:20:37 +0000 (19:20 +0100)]
Skip all comments before looking for clean_msg

Closes: #518008

15 years agobe less strict on the spelling of boolen config file options
Guido Günther [Fri, 27 Feb 2009 11:49:13 +0000 (12:49 +0100)]
be less strict on the spelling of boolen config file options

any capitalization of 'true' or 'false' as well as '0' and '1' are
allowed.