[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#906990: reportbug: wildcard globbing for attachments should attach in alphabetical order, not filesystem order



Package: reportbug
Version: 7.5.0
Severity: wishlist

when using reportbug interactively, i write the report, and then
choose "a" to attach a file.

it's very nice that i can use shell globbing there (e.g., by entering
"src/foo/fixup/00*.patch").  but when i do that, the matched files
show up in filesystem order.

What i'd typically like is for them to show up in lexicographical
(alphabetical) order, so that the patch series is preserved.  Note
that the default behavior of the shell when doing glob expansion is
lexicographical order as well (at least for both posh and bash).

This request is related to #664213 (which asks for the order passed on
the command line to be preserved) -- but here i'm talking specifically
about how a series of attachments are handled when they match a
globbing pattern.

        --dkg

-- Package-specific info:
** Environment settings:
PAGER="/home/dkg/bin/dkg-pager"
DEBEMAIL="dkg@fifthhorseman.net"
EMAIL="dkg@fifthhorseman.net"
INTERFACE="text"

** /home/dkg/.reportbugrc:
reportbug_version "5.0"
mode standard
ui text
no-cc
header "X-Debbugs-CC: dkg@fifthhorseman.net"

-- System Information:
Debian Release: buster/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing'), (500, 'oldstable'), (200, 'unstable-debug'), (200, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.17.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages reportbug depends on:
ii  apt                1.6.4
ii  python3            3.6.5-3
ii  python3-reportbug  7.5.0
ii  sensible-utils     0.0.12

reportbug recommends no packages.

Versions of packages reportbug suggests:
ii  claws-mail                      3.16.0-2
ii  debconf-utils                   1.5.69
pn  debsums                         <none>
ii  dlocate                         1.07+nmu1
ii  emacs25-bin-common              25.2+1-6+b3
ii  file                            1:5.34-2
ii  gnupg                           2.2.9-1
ii  postfix [mail-transport-agent]  3.3.0-1+b1
ii  python3-urwid                   2.0.1-2+b1
pn  reportbug-gtk                   <none>
ii  xdg-utils                       1.1.3-1

Versions of packages python3-reportbug depends on:
ii  apt                1.6.4
ii  file               1:5.34-2
ii  python3            3.6.5-3
ii  python3-apt        1.6.2
ii  python3-debian     0.1.33
ii  python3-debianbts  2.7.2
ii  python3-requests   2.18.4-2

python3-reportbug suggests no packages.

-- no debconf information


Reply to: