tools/git-buildpackage.git
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

16 years agobetter raise a ValueError exception
Guido Guenther [Fri, 16 May 2008 11:37:11 +0000 (13:37 +0200)]
better raise a ValueError exception

16 years agoavoid naming conflict
Guido Guenther [Fri, 16 May 2008 11:04:30 +0000 (13:04 +0200)]
avoid naming conflict

16 years agoavoid extra space before "(Closes: )"
Guido Guenther [Tue, 13 May 2008 15:24:54 +0000 (17:24 +0200)]
avoid extra space before "(Closes: )"

16 years agodocument changes and release debian/0.4.28
Guido Guenther [Mon, 12 May 2008 16:04:16 +0000 (18:04 +0200)]
document changes and release

16 years agoadd --git-dont-purge to leave the exported build dir intact
Guido Guenther [Thu, 8 May 2008 15:58:49 +0000 (17:58 +0200)]
add --git-dont-purge to leave the exported build dir intact

Closes: #479848
Thanks: Kurt B. Kaiser for the patch

16 years agomake --meta a config file option
Guido Guenther [Thu, 8 May 2008 15:53:20 +0000 (17:53 +0200)]
make --meta a config file option

16 years agofix symlink creation
Guido Guenther [Thu, 8 May 2008 15:23:10 +0000 (17:23 +0200)]
fix symlink creation

16 years agomissing EOF
Guido Guenther [Tue, 6 May 2008 13:01:32 +0000 (15:01 +0200)]
missing EOF

Closes: #479726
Thanks: Sedat Dilek

16 years agodocument changes and release debian/0.4.27
Guido Guenther [Sun, 4 May 2008 14:43:58 +0000 (16:43 +0200)]
document changes and release

16 years agomake author parsing more robust
Guido Guenther [Sun, 4 May 2008 14:17:20 +0000 (16:17 +0200)]
make author parsing more robust

Closes: #479263
16 years agoupdate copyright
Guido Guenther [Sun, 4 May 2008 14:16:52 +0000 (16:16 +0200)]
update copyright

16 years agoyield the commit message
Guido Guenther [Sun, 4 May 2008 14:16:02 +0000 (16:16 +0200)]
yield the commit message

instead of passing it back as a whole

16 years agofix --git-export
Guido Guenther [Sun, 4 May 2008 12:20:09 +0000 (14:20 +0200)]
fix --git-export

Closes: #479147
16 years agodocument changes and release debian/0.4.26
Guido Guenther [Mon, 28 Apr 2008 14:38:03 +0000 (16:38 +0200)]
document changes and release

16 years agoupdate copyright
Guido Guenther [Mon, 28 Apr 2008 12:07:30 +0000 (14:07 +0200)]
update copyright

16 years agomake ignore-new a config file option
Guido Guenther [Sat, 26 Apr 2008 00:29:01 +0000 (02:29 +0200)]
make ignore-new a config file option

Closes: #466900
16 years agomake boolean options parsing more robust
Guido Guenther [Sat, 26 Apr 2008 00:26:55 +0000 (02:26 +0200)]
make boolean options parsing more robust

16 years agobuild-depend on python-dateutil
Guido Guenther [Fri, 25 Apr 2008 23:11:40 +0000 (01:11 +0200)]
build-depend on python-dateutil

Closes: #477959
16 years agoadd a link to the online version of the manual
Guido Guenther [Fri, 25 Apr 2008 13:31:34 +0000 (15:31 +0200)]
add a link to the online version of the manual

16 years agodocument --git-export=INDEX
Guido Guenther [Thu, 24 Apr 2008 15:12:05 +0000 (17:12 +0200)]
document --git-export=INDEX

16 years agogit-export=INDEX exports the index into git-export-dir
Guido Guenther [Thu, 24 Apr 2008 15:00:44 +0000 (17:00 +0200)]
git-export=INDEX exports the index into git-export-dir

Closes: #466768
16 years agoadd write_tree
Guido Guenther [Thu, 24 Apr 2008 14:58:54 +0000 (16:58 +0200)]
add write_tree

16 years agouse --no-auto-nmu
Guido Guenther [Wed, 23 Apr 2008 16:16:36 +0000 (18:16 +0200)]
use --no-auto-nmu

Otherwise GIT_AUTHORS not in debian/control cause a NMU version number

16 years agodepend on devscripts that has dch --no-auto-nmu
Guido Guenther [Wed, 23 Apr 2008 13:43:41 +0000 (15:43 +0200)]
depend on devscripts that has dch --no-auto-nmu

16 years agocatch GitRepositoryErrors
Guido Guenther [Wed, 23 Apr 2008 13:41:37 +0000 (15:41 +0200)]
catch GitRepositoryErrors

16 years agofix error message
Guido Guenther [Wed, 23 Apr 2008 13:40:53 +0000 (15:40 +0200)]
fix error message

when we can't find any valid revisions

16 years agodocument changes and release debian/0.4.25
Guido Guenther [Fri, 18 Apr 2008 09:34:18 +0000 (11:34 +0200)]
document changes and release

16 years agocreate a symlink archive -> <package>_<version>.tar.gz
Guido Guenther [Fri, 18 Apr 2008 07:38:58 +0000 (09:38 +0200)]
create a symlink archive -> <package>_<version>.tar.gz

this makes sure pristine_tar uses the correct filename for the
orig.tar.gz.

Closes: #475316
16 years agofix unpack_orig error reporting
Guido Guenther [Thu, 17 Apr 2008 15:44:04 +0000 (17:44 +0200)]
fix unpack_orig error reporting

by addint the missing imports

16 years agoavoid not
Guido Guenther [Thu, 17 Apr 2008 14:28:27 +0000 (16:28 +0200)]
avoid not

16 years agofix "pristine-tar missing" error message
Guido Guenther [Mon, 14 Apr 2008 14:05:54 +0000 (16:05 +0200)]
fix "pristine-tar missing" error message

16 years agofix indentation
Guido Guenther [Mon, 14 Apr 2008 13:45:04 +0000 (15:45 +0200)]
fix indentation

16 years agodocument changes and release debian/0.4.24
Guido Guenther [Mon, 14 Apr 2008 12:59:25 +0000 (14:59 +0200)]
document changes and release

16 years agotighten homepage URL
Guido Guenther [Mon, 14 Apr 2008 12:59:23 +0000 (14:59 +0200)]
tighten homepage URL

16 years agoMake commits from git-import-dsc get author and date from debian/changelog.
Adeodato Simó [Sat, 12 Apr 2008 14:41:28 +0000 (16:41 +0200)]
Make commits from git-import-dsc get author and date from debian/changelog.

This is done by setting GIT_AUTHOR_{NAME,EMAIL,DATE} before invoking
git-commit. GIT_COMMITTER_* are left alone (i.e., the date of the import
will be available from there).
(cherry picked from commit acee866d1d89327aa530b6531b50b4edcc524906)

16 years agoAdd support for passing extra env. vars to Command objects.
Adeodato Simó [Sat, 12 Apr 2008 12:19:23 +0000 (14:19 +0200)]
Add support for passing extra env. vars to Command objects.

When creating a Command(), pass an "extra_env" argument to __init__.
This should be a dict of additional variables to pass to the command.
(cherry picked from commit cba467a70664d8f8b1e61e4bb7beda421aec543f)

16 years agorfc822_date_to_git() needs python-dateutil
Guido Guenther [Mon, 14 Apr 2008 12:55:17 +0000 (14:55 +0200)]
rfc822_date_to_git() needs python-dateutil

16 years agoupdate modeline and fix typo
Guido Guenther [Mon, 14 Apr 2008 12:14:30 +0000 (14:14 +0200)]
update modeline and fix typo

16 years agoadd vim modeline
Guido Guenther [Mon, 14 Apr 2008 12:14:09 +0000 (14:14 +0200)]
add vim modeline

16 years agoadd _test()
Guido Guenther [Mon, 14 Apr 2008 12:13:51 +0000 (14:13 +0200)]
add _test()

to run doctests easily

16 years agoadd rfc822_date_to_git()
Guido Guenther [Mon, 14 Apr 2008 12:08:28 +0000 (14:08 +0200)]
add rfc822_date_to_git()

this function converts a date in RFC822 format to a string
'seconds_since_epoch tz' that can be used for eg. GIT_AUTHOR_DATE.

16 years agobetter handle broken dsc files
Guido Guenther [Sat, 12 Apr 2008 11:42:08 +0000 (13:42 +0200)]
better handle broken dsc files

16 years agodocument changes and release debian/0.4.23
Guido Guenther [Fri, 11 Apr 2008 17:20:30 +0000 (19:20 +0200)]
document changes and release

16 years agodon't pass nonexisting branches to pristine-tar
Guido Guenther [Fri, 11 Apr 2008 17:17:26 +0000 (19:17 +0200)]
don't pass nonexisting branches to pristine-tar

in case of an empty archive the upstream branch does not yet exist, so
pass 'master' to pristine-tar instead

Closes: #475554
16 years agoreference pristine-tar
Guido Guenther [Fri, 11 Apr 2008 16:14:23 +0000 (18:14 +0200)]
reference pristine-tar

16 years agofilter uses glob
Guido Guenther [Fri, 11 Apr 2008 16:13:12 +0000 (18:13 +0200)]
filter uses glob

16 years agomove conffiles section into separate sgml file
Guido Guenther [Thu, 10 Apr 2008 18:30:50 +0000 (20:30 +0200)]
move conffiles section into separate sgml file

16 years agomention the html manual in the manpages
Guido Guenther [Thu, 10 Apr 2008 18:24:04 +0000 (20:24 +0200)]
mention the html manual in the manpages

Closes: #473610
16 years agofix doc-base section
Guido Guenther [Thu, 10 Apr 2008 18:18:03 +0000 (20:18 +0200)]
fix doc-base section

Thanks: lintian

16 years agodocs/manpages/*.sgml: Use the citerefentry for references to other manpages.
Frank S. Thomas [Mon, 24 Mar 2008 14:17:17 +0000 (15:17 +0100)]
docs/manpages/*.sgml: Use the citerefentry for references to other manpages.

16 years agoDo not list the --upstream-version option twice in the synopsis section of git-import...
Frank S. Thomas [Mon, 24 Mar 2008 11:45:30 +0000 (12:45 +0100)]
Do not list the --upstream-version option twice in the synopsis section of git-import-orig's manpage.

16 years agodocument changes and release debian/0.4.22
Guido Guenther [Wed, 19 Mar 2008 17:03:36 +0000 (18:03 +0100)]
document changes and release

16 years agodon't skip meta tags without --force
Guido Guenther [Wed, 19 Mar 2008 17:01:43 +0000 (18:01 +0100)]
don't skip meta tags without --force

and make sure we have a space after the meta tag