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

Bug#1012396: reportbug: Opening list of bugs in the browser leads to a wrong URL



Package: reportbug
Version: 11.5.0
Severity: normal
Tags: upstream

Dear Maintainer,

When launching for instance `reportbug dia`:
> ...
> Querying Debian BTS for reports on dia src:dia... # so two packages
> ...
> Is the bug you found listed above [y|N|b|m|r|q|s|f|e|?]? # hit 'b'

It opens my browser with the following URL:
`https://bugs.debian.org/['dia', 'src:dia']`, which is a wrong URL: the
BTS page claims there is no maintainer for the package `['dia',
'src:dia']` (of course!).

I tried to make a fix: when this line [1] is reached, `source` is
`False` and `package` contains `['dia', 'src:dia']`. I don't know if
this situtation is normal, and thus we have to select the correct
package from a list, or if it shouldn't be a list a all and it has to be
fixed in a parent function of the call stack...

Philippe.

[1]
https://salsa.debian.org/reportbug-team/reportbug/-/blob/master/reportbug/ui/text_ui.py#L687



-- Package-specific info:
** Environment settings:
INTERFACE="text"

** /home/philippe/.reportbugrc:
reportbug_version "11.0.0"
mode standard
ui text

-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.17.0-3-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE
not set
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 2.5.0
ii python3 3.10.4-1+b1
ii python3-reportbug 11.5.0
ii sensible-utils 0.0.17

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn claws-mail <none>
ii debconf 1.5.79
ii debsums 3.0.2
pn dlocate <none>
pn emacs-bin-common <none>
ii exim4-daemon-light [mail-transport-agent] 4.95-6
ii file 1:5.41-4
ii gnupg 2.2.35-2
pn python3-urwid <none>
pn reportbug-gtk <none>
ii xdg-utils 1.1.3-4.1

Versions of packages python3-reportbug depends on:
ii apt 2.5.0
ii file 1:5.41-4
ii python3 3.10.4-1+b1
ii python3-apt 2.3.0+b1
ii python3-debian 0.1.44
ii python3-debianbts 3.2.1
ii python3-requests 2.27.1+dfsg-1
ii sensible-utils 0.0.17

python3-reportbug suggests no packages.

-- no debconf information


Reply to: