Package: devscripts
Version: 2.10.59
Severity: normal
File: /usr/bin/debcommit
Debcommit appears to do the wrong thing in the case of a long commit
message:
$ dpkg-parsechangelog
Source: mg
Version: 20090107-4
Distribution: UNRELEASED
Urgency: low
Maintainer: Trent W. Buck <[email protected]>
Date: Wed, 06 Jan 2010 19:18:39 +1100
Changes:
mg (20090107-4) UNRELEASED; urgency=low
.
* Adopt override_dh_foo style in rules.
This also fixes debuild -j8.
$ debcommit
darcs record '--repodir=debian' -m 'Adopt override_dh_foo style in rules.
This also fixes debuild -j8.' -a
darcs: Patch names cannot contain newlines.
debcommit: commit failed
In this case, I was testing whether it would correctly set the patch
name (-m) to the first line, and the patch long description to the
second line. However the commit message could equally be a really
long, and hard-wrapped, in debian/changelog -- I see no way for
debcommit to tell the difference.
To supply a long description to Darcs programmatically, you must use
either --pipe, or write the long description to a temporary file and
use --logfile=FILE. Using --pipe requires you to supply the author
and commit time, too (instead of having Darcs work them out); --pipe
is the ONLY way to manually supply a date.
I don't know if it's Darcs patch's author and date should match the
ones that are in debian/changelog, but it sounds like a good idea to
me...
-- Package-specific info:
--- /etc/devscripts.conf ---
--- ~/.devscripts ---
BTS_CACHE=no
DEBCHANGE_RELEASE_HEURISTIC=changelog
DEBUILD_DPKG_BUILDPACKAGE_OPTS="-tc -j8 -uc -us"
DEBUILD_LINTIAN_OPTS="--info --display-info --display-experimental --pedantic
--show-overrides --checksums --color auto"
USCAN_REPACK=yes
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24-23-openvz (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages devscripts depends on:
ii dpkg-dev 1.15.5.5 Debian package development tools
ii libc6 2.10.2-2 GNU C Library: Shared libraries
ii perl 5.10.1-8 Larry Wall's Practical Extraction
Versions of packages devscripts recommends:
ii at 3.1.12-1 Delayed job execution and batch pr
ii bsd-mailx [mailx] 8.1.2-0.20090911cvs-2 simple mail user agent
ii bzr 2.0.3-1 easy to use distributed version co
ii curl 7.19.7-1 Get a file from an HTTP, HTTPS or
ii cvs 1:1.12.13-12 Concurrent Versions System
ii dctrl-tools 2.14 Command-line tools to process Debi
pn debian-keyring <none> (no description available)
pn debian-maintainers <none> (no description available)
ii dput 0.9.5.1 Debian package upload tool
ii dupload 2.6.6 utility to upload Debian packages
ii equivs 2.0.7-0.1 Circumvent Debian package dependen
ii fakeroot 1.14.4-1 Gives a fake root environment
ii git-core 1:1.6.5-1 fast, scalable, distributed revisi
ii gnupg 1.4.10-2 GNU privacy guard - a free PGP rep
ii libauthen-sasl-per 2.13-1 Authen::SASL - SASL Authentication
ii libcrypt-ssleay-pe 0.57-2 Support for https protocol in LWP
ii libparse-debcontro 2.005-2 Easy OO parsing of Debian control-
ii libsoap-lite-perl 0.710.10-1 Perl implementation of a SOAP clie
ii libterm-size-perl 0.2-4+b1 Perl extension for retrieving term
ii libtimedate-perl 1.1900-1 Time and date functions for Perl
ii liburi-perl 1.50-1 module to manipulate and access UR
ii libwww-perl 5.834-1 Perl HTTP/WWW client/server librar
ii libyaml-syck-perl 1.07-1 fast, lightweight YAML loader and
ii lintian 2.2.18 Debian package checker
ii lsb-release 3.2-23 Linux Standard Base version report
ii lzma 4.43-14 Compression method of 7z format in
ii man-db 2.5.6-4 on-line manual pager
ii mercurial 1.4.1-1 scalable distributed version contr
ii openssh-client [ss 1:5.1p1-8 secure shell client, an rlogin/rsh
ii patch 2.6-2 Apply a diff file to an original
ii patchutils 0.3.1-2 Utilities to work with patches
ii sensible-utils 0.0.2 Utilities for sensible alternative
ii strace 4.5.19-1 A system call tracer
ii subversion 1.6.6dfsg-2 Advanced version control system
ii unzip 6.0-1 De-archiver for .zip files
ii w3m [www-browser] 0.5.2-2.1 WWW browsable pager with excellent
ii w3mmee [www-browse 0.3.p24.20-3+b2 WWW browsable pager with excellent
ii wdiff 0.5-19 Compares two files word by word
ii wget 1.12-1.1 retrieves files from the web
Versions of packages devscripts suggests:
ii build-essential 11.4 Informational list of build-essent
pn cvs-buildpackage <none> (no description available)
pn devscripts-el <none> (no description available)
pn gnuplot <none> (no description available)
pn libfile-desktopentry-perl <none> (no description available)
pn libnet-smtp-ssl-perl <none> (no description available)
ii mutt 1.5.20-5 text-based mailreader supporting M
pn svn-buildpackage <none> (no description available)
ii w3m 0.5.2-2.1 WWW browsable pager with excellent
-- no debconf information
--
To unsubscribe, send mail to [email protected].