tools/git-buildpackage.git
16 years agoadd GitRepository.is_empty and create_repo helpers
Guido Günther [Sat, 22 Nov 2008 16:44:29 +0000 (17:44 +0100)]
add GitRepository.is_empty and create_repo helpers

16 years agorename GitInitDB to GitInit
Guido Günther [Sat, 22 Nov 2008 16:45:13 +0000 (17:45 +0100)]
rename GitInitDB to GitInit

16 years agotypo
Guido Günther [Fri, 21 Nov 2008 22:45:17 +0000 (23:45 +0100)]
typo

16 years agocase insentive matching for "bugnumbers"
Guido Günther [Thu, 20 Nov 2008 08:42:04 +0000 (09:42 +0100)]
case insentive matching for "bugnumbers"

since they can contain "Bug"

16 years agotoo much whitespace
Guido Günther [Sat, 15 Nov 2008 19:21:41 +0000 (20:21 +0100)]
too much whitespace

16 years agomove common help messages into config.py
Guido Günther [Sat, 15 Nov 2008 14:59:08 +0000 (15:59 +0100)]
move common help messages into config.py

16 years agodon't require bugnumbers to start with '#'
Guido Günther [Sat, 15 Nov 2008 12:28:02 +0000 (13:28 +0100)]
don't require bugnumbers to start with '#'

use the regex from Debian policy instead

16 years agohelp option cleanup
Guido Günther [Sat, 15 Nov 2008 12:13:55 +0000 (13:13 +0100)]
help option cleanup

Closes: #505787
16 years agodocument changes and release 0.4.43 debian/0.4.43
Guido Günther [Fri, 14 Nov 2008 13:12:37 +0000 (14:12 +0100)]
document changes and release 0.4.43

16 years agofix off by one
Guido Günther [Fri, 14 Nov 2008 12:45:52 +0000 (13:45 +0100)]
fix off by one

introduced by not counting first_commit when creating a new header

16 years agogather all invocations of dch in one function
Guido Günther [Fri, 14 Nov 2008 12:40:02 +0000 (13:40 +0100)]
gather all invocations of dch in one function

fixes dch failures due to missing quotes introduced by [7f24b98]

16 years agodocument changes and release 0.4.42 debian/0.4.42
Guido Günther [Thu, 13 Nov 2008 16:09:44 +0000 (17:09 +0100)]
document changes and release 0.4.42

16 years agogit-dch: add missing call to escape_commit
Guido Günther [Thu, 13 Nov 2008 15:33:00 +0000 (16:33 +0100)]
git-dch: add missing call to escape_commit

16 years agoDon't fail on symlink creation
Guido Günther [Thu, 13 Nov 2008 14:52:11 +0000 (15:52 +0100)]
Don't fail on symlink creation

iff the symlink already points to the correct target. This way it
doesn't make a difference if one points git-import-orig to the file
downloaded via uscan or to the symlink created by uscan.

Closes: #502565
16 years agoDon't include first UNRELEASED line
Felipe Sateler [Wed, 12 Nov 2008 03:04:13 +0000 (00:04 -0300)]
Don't include first UNRELEASED line

There's not much point in keeping this line when either doing a release
or when having a snapshot header (nor does it help much if one invokes
git-dch without options).

Closes: #505400
16 years agomerge sha and snapshot parameter
Guido Günther [Thu, 13 Nov 2008 11:02:31 +0000 (12:02 +0100)]
merge sha and snapshot parameter

16 years agouse option groups
Guido Günther [Mon, 10 Nov 2008 16:54:25 +0000 (17:54 +0100)]
use option groups

16 years agotypo
Guido Günther [Fri, 7 Nov 2008 20:40:35 +0000 (21:40 +0100)]
typo

16 years agomention cl2vcs
Guido Günther [Fri, 7 Nov 2008 19:39:50 +0000 (20:39 +0100)]
mention cl2vcs

16 years agofix maintainer
Guido Günther [Fri, 31 Oct 2008 09:32:21 +0000 (10:32 +0100)]
fix maintainer

16 years agodocument changes and release 0.4.41 debian/0.4.41
Guido Günther [Fri, 31 Oct 2008 09:28:54 +0000 (10:28 +0100)]
document changes and release 0.4.41

16 years agoswitch back to original branch on empty imports
Guido Günther [Fri, 31 Oct 2008 08:59:30 +0000 (09:59 +0100)]
switch back to original branch on empty imports

Closes: #504029, #504072
16 years agouse repo.set_branch()
Guido Günther [Fri, 31 Oct 2008 08:59:06 +0000 (09:59 +0100)]
use repo.set_branch()

16 years agoadd GbpNothingImported exception
Guido Günther [Fri, 31 Oct 2008 08:51:48 +0000 (09:51 +0100)]
add GbpNothingImported exception

16 years agoadd set_branch() to switch branches
Guido Günther [Fri, 31 Oct 2008 08:51:12 +0000 (09:51 +0100)]
add set_branch() to switch branches

16 years agoallow for another config file $REPO/debian/gbp.conf
Guido Günther [Wed, 22 Oct 2008 13:59:13 +0000 (15:59 +0200)]
allow for another config file $REPO/debian/gbp.conf

the advantage over $REPO/.gbp.conf is that one can keep everything
packaging related below debian/. Thanks to Sean Finney.

Closes: #502253
16 years agodocument changes and release 0.4.40 debian/0.4.40
Guido Guenther [Thu, 2 Oct 2008 10:28:32 +0000 (12:28 +0200)]
document changes and release 0.4.40

16 years agosilence parse_dsc and move sanity checks into DscFile
Guido Guenther [Thu, 2 Oct 2008 09:29:02 +0000 (11:29 +0200)]
silence parse_dsc and move sanity checks into DscFile

makes git-import-dsc{,s} less chatty

16 years agoForce tarball symlink on second export to build-area
Kurt B. Kaiser [Sat, 27 Sep 2008 22:20:10 +0000 (18:20 -0400)]
Force tarball symlink on second export to build-area

When exporting to a separate build area for the second time, g-bp can't recreate the symlink
and therefore complains that the tarball wasn't found. Force the symlink to resolve this.

Closes: #500498
16 years agoremove superflous printout
Guido Guenther [Thu, 2 Oct 2008 09:15:00 +0000 (11:15 +0200)]
remove superflous printout

16 years agoadjust is_clean for git 1.6
Guido Guenther [Fri, 26 Sep 2008 14:55:03 +0000 (16:55 +0200)]
adjust is_clean for git 1.6

when tracking a remote branch it prints:

\# On branch debian
\# Your branch is ahead of 'origin/master' by 1 commit.
\#
nothing to commit (working directory clean)

so check the 4th line of output too.

Closes: #500238
16 years agomake indentation more consistent
Guido Guenther [Fri, 26 Sep 2008 14:28:49 +0000 (16:28 +0200)]
make indentation more consistent

16 years agofix typo
Guido Guenther [Thu, 25 Sep 2008 18:19:19 +0000 (20:19 +0200)]
fix typo

Thanks: Aleksej R. Serdyukov
Closes: #500167
16 years agodocument changes and release 0.4.39 debian/0.4.39
Guido Guenther [Mon, 22 Sep 2008 19:32:14 +0000 (21:32 +0200)]
document changes and release 0.4.39

16 years agoadd find_tag(branch)
Guido Guenther [Mon, 22 Sep 2008 17:54:00 +0000 (19:54 +0200)]
add find_tag(branch)

16 years agodocument --no-merge
Guido Guenther [Mon, 22 Sep 2008 17:51:32 +0000 (19:51 +0200)]
document --no-merge

16 years agomerge by default when importing into an existing archive
Guido Guenther [Mon, 22 Sep 2008 17:48:39 +0000 (19:48 +0200)]
merge by default when importing into an existing archive

can be skipped using --no-merge
Closes: #475571
16 years agomore option grouping
Guido Guenther [Mon, 22 Sep 2008 17:32:14 +0000 (19:32 +0200)]
more option grouping

16 years agomove replace_source_tree into GitRepository
Guido Guenther [Mon, 22 Sep 2008 17:06:36 +0000 (19:06 +0200)]
move replace_source_tree into GitRepository

16 years agoprint version number on failed imports
Guido Guenther [Mon, 22 Sep 2008 16:34:13 +0000 (18:34 +0200)]
print version number on failed imports

16 years agoDon't honor .gitignore during replace_source_tree
Guido Guenther [Sat, 30 Aug 2008 11:54:27 +0000 (13:54 +0200)]
Don't honor .gitignore during replace_source_tree

this only leads to missing files during git-import-orig
Closes: #467504
16 years agowording
Guido Guenther [Thu, 18 Sep 2008 20:47:00 +0000 (22:47 +0200)]
wording

16 years agodemangle adding commits and sections
Guido Guenther [Thu, 18 Sep 2008 16:36:03 +0000 (18:36 +0200)]
demangle adding commits and sections

allows to create empty snapshot sections - useful for team maintenance

16 years agosame for git-import-dscs
Guido Guenther [Wed, 17 Sep 2008 13:52:38 +0000 (15:52 +0200)]
same for git-import-dscs

16 years agoDon't buffer stdout; let git-bp messages print in-line
Kurt B. Kaiser [Tue, 6 May 2008 21:39:53 +0000 (17:39 -0400)]
Don't buffer stdout; let git-bp messages print in-line

Closes: #479846
16 years agodocument changes and release 0.4.38 debian/0.4.38
Guido Guenther [Mon, 8 Sep 2008 16:49:09 +0000 (18:49 +0200)]
document changes and release 0.4.38

16 years agodocument short options and snapshot mode
Guido Guenther [Mon, 8 Sep 2008 16:10:20 +0000 (18:10 +0200)]
document short options and snapshot mode

16 years agodocument --new-version
Guido Guenther [Sun, 7 Sep 2008 20:49:05 +0000 (22:49 +0200)]
document --new-version

16 years agoadd --new-version
Guido Guenther [Sun, 7 Sep 2008 16:38:36 +0000 (18:38 +0200)]
add --new-version

16 years ago"git-commond" vs. "git command" cleanup
Guido Guenther [Mon, 1 Sep 2008 13:11:24 +0000 (15:11 +0200)]
"git-commond" vs. "git command" cleanup

Closes: #497335
16 years agodocument changes and release 0.4.37 debian/0.4.37
Guido Guenther [Sat, 30 Aug 2008 12:20:34 +0000 (14:20 +0200)]
document changes and release 0.4.37

16 years agofix commit order of GitRepository.commits()
Guido Guenther [Sat, 30 Aug 2008 12:11:30 +0000 (14:11 +0200)]
fix commit order of GitRepository.commits()

we request since..until but got until..since. This makes the order of
changelog entries generated by git-dch the same order as if git-dch
would be called individually for each commit.

16 years agodocument meta-closes
Guido Guenther [Fri, 15 Aug 2008 10:21:26 +0000 (12:21 +0200)]
document meta-closes

16 years agoallow setting the bug-closing meta tag to look for
Guido Guenther [Fri, 15 Aug 2008 10:33:48 +0000 (12:33 +0200)]
allow setting the bug-closing meta tag to look for

this way we can generate bug-closing entries for different BTSs such as
Debian or Launchpad.

16 years agodocument changes and release 0.4.36 debian/0.4.36
Guido Guenther [Tue, 12 Aug 2008 17:32:09 +0000 (19:32 +0200)]
document changes and release 0.4.36

16 years agodon't fail import on non rfc822 adresses
Guido Guenther [Tue, 12 Aug 2008 16:36:21 +0000 (18:36 +0200)]
don't fail import on non rfc822 adresses

in the dsc file
Closes: #494753
16 years agodetect flat tar archives in git-import-dsc too
Guido Guenther [Tue, 12 Aug 2008 16:21:12 +0000 (18:21 +0200)]
detect flat tar archives in git-import-dsc too

16 years agoWarn if we can't parse the changelog
Guido Guenther [Fri, 8 Aug 2008 10:10:40 +0000 (12:10 +0200)]
Warn if we can't parse the changelog

Without a changelog we can't parse the package name. Without that we
might end up with wrong names on the pristine tar branch and with
missing symlinks in tarball-dir. Since this might be intentional we
issue a warning only.

16 years agodocument changes and release 0.4.35 debian/0.4.35
Guido Guenther [Fri, 1 Aug 2008 17:32:15 +0000 (19:32 +0200)]
document changes and release 0.4.35

16 years agoadd epoch parsing to DscFile
Guido Guenther [Fri, 1 Aug 2008 12:18:20 +0000 (14:18 +0200)]
add epoch parsing to DscFile

Closes: #493214
16 years agodocument changes and release 0.4.34 debian/0.4.34
Guido Guenther [Tue, 22 Jul 2008 03:01:02 +0000 (00:31 -0230)]
document changes and release 0.4.34

16 years agosplit git-log options into a list
Guido Guenther [Mon, 21 Jul 2008 22:43:01 +0000 (20:13 -0230)]
split git-log options into a list

allows to pass multiple arguments to git-log
Closes: #479267
16 years agoalways symlink orig.tar.gz from tarball dir
Guido Guenther [Mon, 21 Jul 2008 22:16:15 +0000 (19:46 -0230)]
always symlink orig.tar.gz from tarball dir

ff it's there and --tarball-dir is being used
Closes: 490706
16 years agoescape backticks (`)
Guido Guenther [Sun, 20 Jul 2008 22:51:22 +0000 (20:21 -0230)]
escape backticks (`)

Closes: 491104
16 years ago--auto and --since are incompatible
Guido Guenther [Thu, 17 Jul 2008 16:15:10 +0000 (13:45 -0230)]
--auto and --since are incompatible

16 years agouse option groups
Guido Guenther [Thu, 17 Jul 2008 16:12:33 +0000 (13:42 -0230)]
use option groups

16 years agoadd GbpOptionGroup
Guido Guenther [Thu, 17 Jul 2008 16:09:30 +0000 (13:39 -0230)]
add GbpOptionGroup

so we can use default values in option groups

16 years agoadd GbpOptionParser.get_defaults()
Guido Guenther [Thu, 17 Jul 2008 16:09:02 +0000 (13:39 -0230)]
add GbpOptionParser.get_defaults()

so we can get the default of options independently

16 years agoprint default of export-dir
Guido Guenther [Thu, 17 Jul 2008 16:05:26 +0000 (13:35 -0230)]
print default of export-dir

16 years agoreadd list import line
Guido Guenther [Thu, 26 Jun 2008 17:52:52 +0000 (19:52 +0200)]
readd list import line

16 years agodocument changes and release 0.4.33 debian/0.4.33
Guido Guenther [Thu, 26 Jun 2008 14:48:31 +0000 (16:48 +0200)]
document changes and release 0.4.33

16 years agogit-import-orig: merge upstream by tag name instead of by branch name.
Adeodato Simó [Fri, 13 Jun 2008 21:25:27 +0000 (23:25 +0200)]
git-import-orig: merge upstream by tag name instead of by branch name.

This produces more useful commit messages, where you know what upstream
version was merged by just looking at the log in "master".

16 years agocommand_wrappers.py: add a GitMerge wrapper class.
Adeodato Simó [Fri, 13 Jun 2008 21:23:21 +0000 (23:23 +0200)]
command_wrappers.py: add a GitMerge wrapper class.

16 years agomake symlink_orig's error message more helpful
Guido Guenther [Fri, 20 Jun 2008 07:15:53 +0000 (09:15 +0200)]
make symlink_orig's error message more helpful

16 years agomake no-dch configurable via gbp.conf
Guido Guenther [Fri, 20 Jun 2008 07:15:27 +0000 (09:15 +0200)]
make no-dch configurable via gbp.conf

16 years agobump standards version
Guido Guenther [Thu, 19 Jun 2008 11:37:31 +0000 (13:37 +0200)]
bump standards version

16 years agomention git-import-dscs
Guido Guenther [Thu, 19 Jun 2008 11:33:29 +0000 (13:33 +0200)]
mention git-import-dscs

16 years agoadd "meta" to config file
Guido Guenther [Thu, 19 Jun 2008 11:29:31 +0000 (13:29 +0200)]
add "meta" to config file

16 years agodocument changes and release debian/0.4.32
Guido Guenther [Mon, 16 Jun 2008 15:54:56 +0000 (17:54 +0200)]
document changes and release

16 years agoDon't set the version number twice
Guido Guenther [Mon, 16 Jun 2008 15:53:35 +0000 (17:53 +0200)]
Don't set the version number twice

makes sure git-import-dsc doesn't use the Version: line from the
message instead of the signature on old PGP signatures

Closes: #486397
16 years agoescape $s in commit messages
Guido Guenther [Mon, 16 Jun 2008 11:41:56 +0000 (13:41 +0200)]
escape $s in commit messages

so variable names like $remote_fs don't get dropped silently.

Closes: #486447
16 years agodon't try to cleanup in case of tag_only
Guido Guenther [Mon, 16 Jun 2008 09:15:59 +0000 (11:15 +0200)]
don't try to cleanup in case of tag_only

Closes: #486398
16 years agodocument changes and release debian/0.4.31
Guido Guenther [Thu, 12 Jun 2008 14:54:27 +0000 (16:54 +0200)]
document changes and release

16 years agoadd epoch to dch call
Guido Guenther [Thu, 12 Jun 2008 13:54:31 +0000 (15:54 +0200)]
add epoch to dch call

Closes: #483718
16 years agoadd has_epoch
Guido Guenther [Thu, 12 Jun 2008 13:53:20 +0000 (15:53 +0200)]
add has_epoch

16 years agoadd --git-tag-only
Guido Guenther [Thu, 12 Jun 2008 12:47:08 +0000 (14:47 +0200)]
add --git-tag-only

skips the build, only tags and runs post-tag hooks
Closes: #485114
16 years agotypo
Guido Guenther [Thu, 12 Jun 2008 10:08:29 +0000 (12:08 +0200)]
typo

16 years agodocument git-impport-dscs
Guido Guenther [Thu, 12 Jun 2008 10:08:11 +0000 (12:08 +0200)]
document git-impport-dscs

16 years agoFix typo
Guido Guenther [Tue, 3 Jun 2008 08:47:52 +0000 (10:47 +0200)]
Fix typo

Closes: #484243
16 years agodocument changes and release debian/0.4.30
Guido Guenther [Thu, 29 May 2008 11:26:26 +0000 (13:26 +0200)]
document changes and release

16 years agoTry harder to find/build the upstream tarball
Guido Guenther [Sun, 25 May 2008 21:40:10 +0000 (23:40 +0200)]
Try harder to find/build the upstream tarball

don't skip pristine-tar if the tarball-dir is also specified. Only fail
if no-create-orig is given.

Closes: #482786
16 years agoHelp pristine-tar to find the branch name
Guido Guenther [Sun, 25 May 2008 21:38:46 +0000 (23:38 +0200)]
Help pristine-tar to find the branch name

Closes: #481806
16 years agodocument changes and release debian/0.4.29
Guido Guenther [Sat, 17 May 2008 20:03:25 +0000 (22:03 +0200)]
document changes and release

16 years agoadd git-import-dscs
Guido Guenther [Sat, 17 May 2008 19:20:35 +0000 (21:20 +0200)]
add git-import-dscs

to import mutiple dscs in one go
Closes: #471580
16 years agoadd call() doesn't mangle return codes nor uses stderr
Guido Guenther [Sat, 17 May 2008 17:40:57 +0000 (19:40 +0200)]
add call() doesn't mangle return codes nor uses stderr

16 years agoadd a version property
Guido Guenther [Sat, 17 May 2008 17:40:00 +0000 (19:40 +0200)]
add a version property

16 years agomove dsc handling into deb_utils
Guido Guenther [Sat, 17 May 2008 14:23:52 +0000 (16:23 +0200)]
move dsc handling into deb_utils

16 years agoinclude the commit id in the changelog entry
Guido Guenther [Fri, 16 May 2008 12:19:42 +0000 (14:19 +0200)]
include the commit id in the changelog entry

16 years agopass the whole options around
Guido Guenther [Fri, 16 May 2008 11:35:24 +0000 (13:35 +0200)]
pass the whole options around

to avoid lots of function arguments

16 years agoprint default value of --meta
Guido Guenther [Fri, 16 May 2008 11:48:05 +0000 (13:48 +0200)]
print default value of --meta