Article View: linux.debian.bugs.dist
Article #5025Bug#1154409: reportbug: Patch glob attaching pattern as attachment instead of the matched files
From: Luca Baffa
Date: Wed, 18 Nov 2026 19:20
Date: Wed, 18 Nov 2026 19:20
125 lines
6726 bytes
6726 bytes
This is a multi-part MIME message sent by reportbug. --===============6963423033159996110== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline Package: reportbug Version: 13.2.0 Severity: normal Tags: patch Dear Maintainer, I ran reportbug and entered a path with a wildcard, for example /tmp/fix/*.patch, which matches three files. reportbug attached the wrong thing: instead of the three files, it attached the path I typed (once for every file the wildcard matched), so the bug report went out with a broken attachment. I expected reportbug to attach each of the matched files. Please, find the patch attached. Thank you! Luca -- Package-specific info: ** Environment settings: EDITOR=emacs INTERFACE=text ** /home/luca/.reportbugrc: reportbug_version "13.2.0" mode standard ui text realname "Luca Baffa" email "luca.dev@mailbox.org" smtphost "smtp.mailbox.org:465" smtpuser "lucabaffa@mailbox.org" -- System Information: Debian Release: 13.7 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.12.90+deb13.1-amd64 (SMP w/8 CPU threads; PREEMPT) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages reportbug depends on: ii apt 3.0.4 ii python3 3.13.5-1 ii python3-reportbug 13.2.0 ii sensible-utils 0.0.25 reportbug recommends no packages. Versions of packages reportbug suggests: pn claws-mail <none> ii debconf 1.5.91 pn debsums <none> pn dlocate <none> ii emacs-bin-common 1:30.1+1-6+deb13u1 ii exim4-daemon-light [mail-transport-agent] 4.98.2-1+deb13u5 ii file 1:5.46-5 ii gnupg 2.4.7-21+deb13u1 pn python3-urwid <none> pn reportbug-gtk <none> ii xdg-utils 1.2.1-2 Versions of packages python3-reportbug depends on: ii apt 3.0.4 ii file 1:5.46-5 ii python3 3.13.5-1 ii python3-apt 3.0.0 ii python3-debian 1.0.1 ii python3-debianbts 4.1.1 ii python3-requests 2.32.3+dfsg-5+deb13u1 ii sensible-utils 0.0.25 python3-reportbug suggests no packages. -- no debconf information --===============6963423033159996110== Content-Type: application/mbox MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="0001-Use-each-glob-match-not-the-pattern-when-attaching-p.patch" RnJvbSA5MzAyYjA5NDUxNmRiZmFhMDFkYThlM2Q3MWNiYTlmZTE3N2Y0Mzk0IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBMdWNhIEJhZmZhIDw0NDU2NzA5OC1sdWNhLmRldkB1c2Vycy5u b3JlcGx5LmdpdGxhYi5jb20+CkRhdGU6IFdlZCwgMTggTm92IDIwMjYgMTg6NDI6NDAgKzAwMDAK U3ViamVjdDogW1BBVENIXSBVc2UgZWFjaCBnbG9iIG1hdGNoLCBub3QgdGhlIHBhdHRlcm4sIHdo ZW4gYXR0YWNoaW5nIHBhdGNoCiBmaWxlcy4KClRoZSBsb29wIGV4cGFuZGluZyB0aGUgZ2xvYiBm b3IgdGhlIHBhdGNoIGF0dGFjaG1lbnQgY2hlY2tlZCBmb3IKYW5kIGFwcGVuZGVkIHRoZSBleHBh bmRlZCBwYXR0ZXJuIChhdHRhY2hmaWxlKSBpbnN0ZWFkIG9mIHRoZQppbmRpdmlkdWFsIG1hdGNo IChhdHRhY2hmKS4gQXMgYSByZXN1bHQsIGEgcGF0dGVybiBtYXRjaGluZyBzZXZlcmFsCmZpbGVz IGFwcGVuZGVkIHRoZSBwYXR0ZXJuIGl0c2VsZiBvbmNlIHBlciBtYXRjaC4KLS0tCiBiaW4vcmVw b3J0YnVnIHwgNiArKystLS0KIDEgZmlsZSBjaGFuZ2VkLCAzIGluc2VydGlvbnMoKyksIDMgZGVs ZXRpb25zKC0pCgpkaWZmIC0tZ2l0IGEvYmluL3JlcG9ydGJ1ZyBiL2Jpbi9yZXBvcnRidWcKaW5k ZXggNmRkOTNmNy4uODc2ZGU2MyAxMDA3NTUKLS0tIGEvYmluL3JlcG9ydGJ1ZworKysgYi9iaW4v cmVwb3J0YnVnCkBAIC0yMzcyLDEwICsyMzcyLDEwIEBAIGNsYXNzIFVJKG9iamVjdCk6CiAgICAg ICAgICAgICAgICAgICAgICAgICBhdHRhY2hmaWxlID0gb3MucGF0aC5leHBhbmR1c2VyKHBhdGNo ZmlsZSkKICAgICAgICAgICAgICAgICAgICAgICAgICMgbG9vcCBvdmVyIHRoZSBnbG9iIG9mICdh dHRhY2hmaWxlJywgd2Ugc3VwcG9ydCBnbG9iIG5vdwogICAgICAgICAgICAgICAgICAgICAgICAg Zm9yIGF0dGFjaGYgaW4gc29ydGVkKGdsb2IoYXR0YWNoZmlsZSksIGtleT1zdHIuY2FzZWZvbGQp OgotICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIG9zLnBhdGguZXhpc3RzKGF0dGFjaGZp bGUpOgotICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBhdHRhY2htZW50cy5hcHBlbmQo YXR0YWNoZmlsZSkKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiBvcy5wYXRoLmV4aXN0 cyhhdHRhY2hmKToKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYXR0YWNobWVudHMu YXBwZW5kKGF0dGFjaGYpCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZWxzZToKLSAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgZXdyaXRlKCclcyBub3QgZm91bmQhJywgYXR0YWNo ZmlsZSkKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZXdyaXRlKCclcyBub3QgZm91 bmQhJywgYXR0YWNoZikKICAgICAgICAgICAgICAgICAgICAgZWxzZToKICAgICAgICAgICAgICAg ICAgICAgICAgIGJyZWFrCiAKLS0gCjIuNDcuMwoK --===============6963423033159996110==--
Technical Details
Message-ID:
<O0Tmi-cK7B-7@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.nntp4.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.nntp4.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Luca Baffa <luca.dev@mailbox.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1154409: reportbug: Patch glob attaching pattern as attachment instead of the matched files Date: Wed, 18 Nov 2026 20:20:02 +0100 Message-ID: <O0Tmi-cK7B-7@gated-at.bofh.it> X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Wed Nov 18 19:17:07 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.45 Reply-To: Luca Baffa <luca.dev@mailbox.org>, 1154409@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: debian-reportbug@lists.debian.org X-Debian-Pr-Message: report 1154409 X-Debian-Pr-Package: reportbug X-Debian-Pr-Keywords: patch X-Debian-Pr-Source: reportbug Content-Type: multipart/mixed; boundary="===============6963423033159996110==" MIME-Version: 1.0 X-Mailer: reportbug 13.2.0 X-Mbo-Rs-ID: 8f8dbac8342664e3fa8 X-Mbo-Rs-Meta: qqp5sdhswo1qfonx3dzd3m9q8wx36itb X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2003428 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 125 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 18 Nov 2026 19:15:42 +0000 X-Original-Message-ID: <179502934269.86064.14682589844325796786.reportbug@luca-laptop>