Your message dated Fri, 08 Jan 2010 21:40:05 +0000
with message-id <[email protected]>
and subject line Bug#563058: fixed in mercurial-buildpackage 0.4
has caused the Debian Bug report #563058,
regarding Support for wider orig tarball names.
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
563058: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=563058
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mercurial-buildpackage
Version: 0.3
Severity: normal
Tags: patch
Hello:
I've written a patch to make mercurial-importorig supports wider orig
tarballs, for instance: kvirc_4.0.0~svn3770.orig.tar.bz2
Please find it attached, you can apply it just doing in your repo:
hg import <patchfile>
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable'), (80, 'unstable'), (10,
'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages mercurial-buildpackage depends on:
ii devscripts 2.10.59 scripts to make the life of a
Debi
ii libc6 2.10.2-2 GNU C Library: Shared libraries
ii libneko0 1.8.1-2 Lightweight virtual machine -
shar
ii mercurial 1.4.1-1 scalable distributed version
contr
ii neko 1.8.1-2 Lightweight virtual machine -
comp
ii pristine-tar 1.00 regenerate pristine tarballs
Versions of packages mercurial-buildpackage recommends:
ii pbuilder 0.194 personal package builder for
Debia
ii sudo 1.7.2p1-1 Provide limited super user
privile
mercurial-buildpackage suggests no packages.
-- no debconf information
# HG changeset patch
# User Raúl Sánchez Siles <[email protected]>
# Date 1262162696 -3600
# Node ID 1919ede29b6f3a240f530f19d29d495307366152
# Parent e86a87447b6dbee3641d4398561a5e6952682c88
Fix regex for mercurial-importorig tarballs.
diff --git a/MercurialImportOrig.hx b/MercurialImportOrig.hx
--- a/MercurialImportOrig.hx
+++ b/MercurialImportOrig.hx
@@ -425,7 +425,7 @@
}
// The names of tarballs must follow Debian conventions of dpkg format
// 3.0 (quilt).
- var ballRegExp = ~/([^\/]+)_([0-9][0-9.]*)\.orig\.tar\.(bz2|lzma|gz)$/;
+ var ballRegExp = ~/([^\/]+)_([0-9][0-9.]*([\.\+\-\:~]?[a-z0-9.]*?)?)\.orig\.tar\.(bz2|lzma|gz)$/;
if( ! ballRegExp.match( origs[0] ) )
{
Util.die( "Filename of main tarball must follow the pattern defined by dpkg format 3.0." );
@@ -445,7 +445,7 @@
components.push( { component: ".", tarball: origs[0] } );
// Process additional tarball components, if any.
var componentRegExp =
- ~/([^\/]+)_([0-9][0-9.]*)\.orig-([a-z0-9][-a-z0-9]*)\.tar\.(bz2|lzma|gz)$/i;
+ ~/([^\/]+)_([0-9][0-9.]*([\.\+\-\:~]?[a-z0-9.]*?)?)\.orig-([a-z0-9][-a-z0-9]*)\.tar\.(bz2|lzma|gz)$/i;
for( i in 1...origs.length )
{
if( ! componentRegExp.match( origs[i] ) )
diff --git a/debian/changelog b/debian/changelog
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+mercurial-buildpackage (0.4) UNRELEASED; urgency=low
+
+ * Fix regex for mercurial-importorig main tarball.
+
+ -- Raúl Sánchez Siles <[email protected]> Tue, 29 Dec 2009 16:56:05 +0100
+
mercurial-buildpackage (0.3) unstable; urgency=low
* Porting branches are now suported.
--- End Message ---
--- Begin Message ---
Source: mercurial-buildpackage
Source-Version: 0.4
We believe that the bug you reported is fixed in the latest version of
mercurial-buildpackage, which is due to be installed in the Debian FTP archive:
mercurial-buildpackage_0.4.dsc
to main/m/mercurial-buildpackage/mercurial-buildpackage_0.4.dsc
mercurial-buildpackage_0.4.tar.gz
to main/m/mercurial-buildpackage/mercurial-buildpackage_0.4.tar.gz
mercurial-buildpackage_0.4_i386.deb
to main/m/mercurial-buildpackage/mercurial-buildpackage_0.4_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jens Peter Secher <[email protected]> (supplier of updated mercurial-buildpackage
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Tue, 05 Jan 2010 22:31:40 +0100
Source: mercurial-buildpackage
Binary: mercurial-buildpackage
Architecture: source i386
Version: 0.4
Distribution: unstable
Urgency: low
Maintainer: Jens Peter Secher <[email protected]>
Changed-By: Jens Peter Secher <[email protected]>
Description:
mercurial-buildpackage - Suite to maintain Debian packages in Mercurial
repository
Closes: 563058
Changes:
mercurial-buildpackage (0.4) unstable; urgency=low
.
* Preserve executable mode for upstream files, thanks to Luke Cycon.
* Just rely on the underscore in the upstream tarball file names to
detect source name, thanks to Raúl Sánchez Siles.
(Closes: #563058)
Checksums-Sha1:
d26682de0dc01fd9bdc552ef3240abb424d3fe9a 967 mercurial-buildpackage_0.4.dsc
de78459e821ededd4b04e874ba429e5c33031f33 25624
mercurial-buildpackage_0.4.tar.gz
4d31d2ece9301d571b2355a8c130f4ff0e39fbf6 218206
mercurial-buildpackage_0.4_i386.deb
Checksums-Sha256:
9e6b5b539c52d7e31a2ead3e8da78802b87a51e9e8dc3d2830f53e6d76a1f93f 967
mercurial-buildpackage_0.4.dsc
cea5cebafb1981e8c1f1f9d476ce10abc7eaa4cd18afd25334cefdbaa78869ba 25624
mercurial-buildpackage_0.4.tar.gz
1d42e1d59897307213a66d95ecd922ac2b170c0ed3d36e1921f89dc6e55c9905 218206
mercurial-buildpackage_0.4_i386.deb
Files:
420fa31e2c632e6cddc2559afd254b26 967 devel optional
mercurial-buildpackage_0.4.dsc
913154e31e9b3ebb8b93709449ec584e 25624 devel optional
mercurial-buildpackage_0.4.tar.gz
8d1db82491c5b0d192df60e5c0a56f89 218206 devel optional
mercurial-buildpackage_0.4_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iJwEAQECAAYFAktHnS4ACgkQiFVdEFPVQL/zPgP6AoVeSGBKWUQhOysiYvbx61PI
oY+xyZ9Vy84PgRbofBL1XQ/Ib0jC7ow94wzP0xzzNguzQ4H/P9QIFEIjapeFuYOb
IZaE50gV4hIFvEfgLDA+fFVstpgYLD32IhOme2z0vlxcijCcCI+dITGxu/KpBI0g
7sPLJRls9wmpsh0cHBI=
=gRvc
-----END PGP SIGNATURE-----
--- End Message ---