Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Luca Baffa
Wed, 18 Nov 2026 19:20
Bug#1154409: reportbug: Patch glob attaching pattern as attachment instead of the matched files
Author: 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==--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads