Bug#1104316: marked as done (Minor bug in dh-elpa.el regex)

"Debian Bug Tracking System" <[email protected]> Wed, 08 Jul 2026 09:51:02 +0000
Newsgroups gmane.linux.debian.devel.emacsen
Message-ID <handler.1104316.D1104316.17835041483094124.ackdone@bugs.debian.org>
This is a multi-part message in MIME format...

------------=_1783504262-3094881-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your message dated Wed, 08 Jul 2026 09:49:06 +0000
with message-id <[email protected]>
and subject line Bug#1104316: fixed in dh-elpa 2.2.0
has caused the Debian Bug report #1104316,
regarding Minor bug in dh-elpa.el regex
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.)


--=20
1104316: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1104316
Debian Bug Tracking System
Contact [email protected] with problems

------------=_1783504262-3094881-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.debian.org; 28 Apr 2025 20:16:42 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
	(2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-15.2 required=4.0 tests=BAYES_00,
	BODY_INCLUDES_PACKAGE,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,
	DKIM_VALID_EF,HAS_PACKAGE,T_SPF_HELO_PERMERROR,T_SPF_PERMERROR
	autolearn=ham autolearn_force=no
	version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 16; hammy, 144; neutral, 31; spammy,
	1. spammytokens:0.867-+--Inc hammytokens:0.000-+--UD:el,
	0.000-+--GnuPG, 0.000-+--gnupg, 0.000-+--25.000000000,
	0.000-+--UD:9.orig
Return-path: <[email protected]>
Received: from zap.org.au ([129.94.172.224]:45908 helo=mail.zap.org.au)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.94.2)
	(envelope-from <[email protected]>)
	id 1u9Uu8-00E8L6-NY
	for [email protected]; Mon, 28 Apr 2025 20:16:42 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=simple/simple; d=zap.org.au;
	s=dkim2; h=Sender:List-Unsubscribe:Content-Transfer-Encoding:Content-Type:
	MIME-Version:Message-ID:Subject:To:From:Date:Reply-To:Cc:Content-ID:
	Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
	:Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Subscribe:
	List-Post:List-Owner:List-Archive;
	bh=Ngnj2g18Ms7+EgWIycTUPNX3s2E6I092dfVs9R+h820=; b=PCBZg3fn+bFq+r+koTearUxDY0
	6Qi1OLZy/VnNiLUT6qjWu3P7uBOokSbjpyf0XhbjEnGxAkeuD6qV+u378KZwSoX60pKKVtwVOer/N
	/mQV37r4pkmLgltkVXVh4/HJ0B2u3V0HHWJjSQ9d0Su7YEUKwg81H2/JWhzq+gTFagscHauqnuccj
	0rQrRiyCw8XiHNJym23EffWDbB8mm/rc47iJRZBQ0L91GzMlcXB+XuhaYvqgHnWMwpk9fSHfoSM6t
	tp1S/S+IcB/TA0d1sJYTMSghynL1qcdJ+/oiB/45rOGIPuJHovb7vMuGC2D4yLUkS6lfr+ZcSZeWX
	33LQBcGg==;
Received: from john by mail.zap.org.au with local (Exim 4.96)
	(envelope-from <[email protected]>)
	id 1u9UdP-00EjFM-0V
	for [email protected];
	Tue, 29 Apr 2025 05:59:23 +1000
Date: Tue, 29 Apr 2025 05:59:23 +1000
From: John Zaitseff <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: Minor bug in dh-elpa.el regex
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="Nf6GMgSx19AOxK3O"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Organisation: The ZAP Group Australia
List-Unsubscribe: <mailto:[email protected]?subject=Unsubscribe>
Sender: John Zaitseff <[email protected]>
X-Greylist: delayed 1032 seconds by postgrey-1.36 at buxtehude; Mon, 28 Apr 2025 20:16:40 UTC
Delivered-To: [email protected]


--Nf6GMgSx19AOxK3O
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

Package: dh-elpa-helper
Version: 2.1.9

I believe I've found a minor bug in dh-elpa.el: the regex for
handling "git" version strings uses "[+-~]git.*$", which covers most
of ASCII for the first character.  Shouldn't that read "[-+~]git.*$"
instead, to match only "-", "+" and "~"?

I'm attaching a patch just in case this is indeed an problem.

Yours truly,

John Zaitseff

-- 
John Zaitseff   ╭───╮   Email: [email protected]
The ZAP Group   │ Z │   GnuPG: 0x0D254111C4EE569B
Australia Inc.  ╰───╯   https://www.zap.org.au/~john/

--Nf6GMgSx19AOxK3O
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="dh-elpa-2.1.9-JNZ-1.diff"

diff -ruNa dh-elpa-2.1.9.orig/dh-elpa.el dh-elpa-2.1.9/dh-elpa.el
--- dh-elpa-2.1.9.orig/dh-elpa.el	2025-03-14 17:53:25.000000000 +1100
+++ dh-elpa-2.1.9/dh-elpa.el	2025-04-29 05:57:02.416197152 +1000
@@ -157,7 +157,7 @@
 such a case."
   (when version
     (let* ((version (replace-regexp-in-string "~bpo.*$" "" version))
-           (version (replace-regexp-in-string "[+-~]git.*$" "-git" version))
+           (version (replace-regexp-in-string "[-+~]git.*$" "-git" version))
            (version (replace-regexp-in-string "~" "-" version)))
       version)))
 

--Nf6GMgSx19AOxK3O--

------------=_1783504262-3094881-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 1104316-close) by bugs.debian.org; 8 Jul 2026 09:49:08 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-114.1 required=4.0 tests=ALL_TRUSTED,BAYES_00,
	DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,
	FVGT_m_MULTI_ODD,HAS_BUG_NUMBER,MD5_SHA1_SUM,PGPSIGNATURE,
	SPF_HELO_PASS,SPF_PASS,USER_IN_DKIM_WELCOMELIST autolearn=ham
	autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 13; hammy, 150; neutral, 242; spammy,
	0. spammytokens: hammytokens:0.000-+--HX-Debian:DAK,
	0.000-+--H*rp:D*ftp-master.debian.org, 0.000-+--HX-DAK:process-upload,
	0.000-+--H*r:sk:fasolo., 0.000-+--H*MI:fasolo
Return-path: <[email protected]>
Received: from mailly.debian.org ([2001:41b8:202:deb:6564:a62:52c3:4b72]:46210)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <[email protected]>)
	id 1whOtw-00Cyuk-1u
	for [email protected];
	Wed, 08 Jul 2026 09:49:08 +0000
Received: via submission
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=fasolo.debian.org,[email protected] (verified)
	by mailly.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <[email protected]>)
	id 1whOtu-003y0l-2k
	for [email protected];
	Wed, 08 Jul 2026 09:49:07 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
	d=ftp-master.debian.org; s=smtpauto.fasolo; h=Date:Message-Id:Content-Type:
	Subject:MIME-Version:To:Reply-To:From:Cc:Content-Transfer-Encoding:Content-ID
	:Content-Description:In-Reply-To:References;
	bh=X9w7i2gc3indeentCoakXuGXR6FCV1ljlVbJ6BmvMAo=; b=JW6s1pMKOe34xjysYlc617Vh4O
	6G/AOsmXtWpmVdnIeb0e5eTf5kaWpK1ioKUR0awGHMWXTKyQwjhoD51peLMH3L+RiWd89cwa8pChA
	AT+0qIx7DNz1qGWAJ+rtKNHFFASKOeENP5p5HP6ei3I/I3pUksS5YrzB2DMzrCjIjj012dwx4HouE
	Q3YWf4uL/hAM+I42v7fG16tFmrQCmp/ytNFvWuy0fNssa9lofnjnlRm+hgPsY0S19p2XeiDNqGfGp
	TuM1AtEnMgxreGBctyKlhL9PuGNnYQhmVm8JHNtZ0oQ5H2qk1X8oYEFYP46DZeiM31KzCRwjri7Wg
	UP6Ke+nw==;
Received: from dak by fasolo.debian.org with local (Exim 4.98.2)
	(envelope-from <[email protected]>)
	id 1whOtu-00000009kua-1e8j;
	Wed, 08 Jul 2026 09:49:06 +0000
From: Debian FTP Masters <[email protected]>
Reply-To: Sean Whitton <[email protected]>
To: [email protected]
X-DAK: dak process-upload
X-Debian: DAK
X-Debian-Package: dh-elpa
Debian: DAK
Debian-Changes: dh-elpa_2.2.0_source.changes
Debian-Source: dh-elpa
Debian-Version: 2.2.0
Debian-Architecture: source
Debian-Suite: unstable
Debian-Archive-Action: accept
MIME-Version: 1.0
Subject: Bug#1104316: fixed in dh-elpa 2.2.0
Content-Type: multipart/signed; micalg="pgp-sha256";
 protocol="application/pgp-signature";
 boundary="===============8314899301176043877=="
Message-Id: <[email protected]>
Date: Wed, 08 Jul 2026 09:49:06 +0000
X-CrossAssassin-Score: 2

--===============8314899301176043877==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Source: dh-elpa
Source-Version: 2.2.0
Done: Sean Whitton <[email protected]>

We believe that the bug you reported is fixed in the latest version of
dh-elpa, which is due to be installed in the Debian FTP archive.

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.
Sean Whitton <[email protected]> (supplier of updated dh-elpa 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: SHA512

Format: 1.8
Date: Wed, 08 Jul 2026 10:29:44 +0100
Source: dh-elpa
Architecture: source
Version: 2.2.0
Distribution: unstable
Urgency: medium
Maintainer: Debian Emacsen team <[email protected]>
Changed-By: Sean Whitton <[email protected]>
Closes: 1104316 1138884
Changes:
 dh-elpa (2.2.0) unstable; urgency=3Dmedium
 .
   [ Xiyue Deng ]
   * Fix git version detection regexp (Closes: #1104316)
     - Thanks John Zaitseff <[email protected]> for reporting and
       proposing a fix!
 .
   [ Sean Whitton ]
   * Stop filtering package.el deps (Closes: #1138884).
     emacs-common now Provides all built-in packages, instead.
Checksums-Sha1:
 4a7ec12b394e1ef4ebb14ad455e184f0eb9b47b2 2078 dh-elpa_2.2.0.dsc
 219df3b3000a82f90c9f94c881a3dbc267851907 27948 dh-elpa_2.2.0.tar.xz
 886e22854286a1c02d2dfd60270c0c7666d1aa91 46740 dh-elpa_2.2.0.git.tar.xz
 15dbb4281a21118336f6f610749f1740d3c78a9e 17496 dh-elpa_2.2.0_source.buildinfo
Checksums-Sha256:
 750ea74a6f46246c8c15033d723449f4e35b5e234da6da966d6e3f7428321758 2078 dh-elp=
a_2.2.0.dsc
 4d448416d1d3458b20fb9abcc194ae410e8f3910129194bd35126ce2b8fd5154 27948 dh-el=
pa_2.2.0.tar.xz
 efd22883f3f5d84b02a4638f2b68bb84b282bc9d057d532ad22d7f826cc65000 46740 dh-el=
pa_2.2.0.git.tar.xz
 c9775d73212f7c2b9e3a92e192456a7b9e734aa3e4f31ac0919f37f4b637f37d 17496 dh-el=
pa_2.2.0_source.buildinfo
Files:
 90944ac3b268f9d5cba824182a3aa83d 2078 devel optional dh-elpa_2.2.0.dsc
 4585b115d2fdbb8278db8908af53869c 27948 devel optional dh-elpa_2.2.0.tar.xz
 2c8ab67f19da23e17f144433cc608203 46740 devel optional dh-elpa_2.2.0.git.tar.=
xz
 b60d0b50aed082ddba2808b227aa8e99 17496 devel optional dh-elpa_2.2.0_source.b=
uildinfo
Git-Tag-Info: tag=3De2bb5c2a666eb4107f848b663dcfa17d8bcaf95d fp=3D9b917007ae0=
30e36e4fc248b695b7ae4bf066240
Git-Tag-Tagger: Sean Whitton <[email protected]>

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmpOGScACgkQYG0ITkaD
wHkS8g/9HM1CccaeBdV57t6/O1IOPTYw/VyTfAW2yVShBwGhtyNKAAJoWWv69V/l
oZ8fzWbCMLZYSX06LYpycBTM9FjGgaJvptO8seohpwmTqyj3HkSrvEQZhhD38OTH
8VxBSshCPrAFBm6rH7iL1eb1wysLXNh0iH+POo29CaNA/bCiIz0B0/Twtv5+f+2J
0sgvYDUmmfDH7BSOAl/3pK7OmWYXX5aWoAi4xBC/VpLxvsLO6TRTapatEIz1e4WA
oVqAc5GdXTU9pJVJ+UzFjYsvO96DITdPkTLiTYH8giwhYxtPVDzdUh3fw7A69j4k
l50HOKBxc0b18kRY4lPoF5/YirqnEaJYYdujiCKnPgNyMqWZTNWauAwasjS7vj2C
giwfXxRkDO2B6mUjCOe1vST9GWxVw8PcnO4/NToTCbdDyodLMeQxT5bfFXxc6q6K
/OHyNXVUhJeiephvam2uQYwQE0bdfdlgf4GxnJFXw3AW5WjDznOoAFgzx6ZpRX53
J9zPJQGi7YdWrazCBCfspRX8fxcYwPBODvu/RINB/f/1MRJdAP6+cAyEu5H7Xshn
PVoFWgAKnqbDf1PmsurjFsGVz6yZX2OgAflZaRgYUvH9dbRzHMLE3bwY5x+yStRG
rEB0etiQQpOrsvA6Z5FzOnn7+tTUqWUqN0rskAVjcbB7ZtQKyoM=3D
=3D/xxB
-----END PGP SIGNATURE-----


--===============8314899301176043877==
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQTziqJOuF8J+ZI8pJSb9qggYcy5IQUCak4dEgAKCRCb9qggYcy5
IW6qAPwNYMbupqgWP5LFmQ0zgwZcjyTc0TR3BVwO8+0PIIgmeQEA+pbATQgkdN8P
9XOlGSJVkY4XFxSdEYJrSUVH/AwaKwk=
=5z4v
-----END PGP SIGNATURE-----

--===============8314899301176043877==--
------------=_1783504262-3094881-0--