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 "[email protected]"
smtphost "smtp.mailbox.org:465"
smtpuser "[email protected]"

-- 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

Attachment: 0001-Use-each-glob-match-not-the-pattern-when-attaching-p.patch
Description: application/mbox

Reply via email to