[Reportbug-maint] Bug#890793: reportbug: when body-file is given the newbie template added to the body

Viktor Szépe viktor at szepe.net
Sun Feb 18 21:24:47 UTC 2018


Package: reportbug
Version: 6.6.6
Severity: normal

Dear Maintainer,

When using these options:
reportbug --mode=novice --no-query-bts --no-config-files --no-check-available \
    --no-debconf --no-check-installed --no-cc-menu --no-tags-menu --no-verify \
    --subject="$REPORTBUG_SUBJECT" --body-file="$REPORTBUG_BODY" "$REPORTBUG_PACKAGE"
reportbug always prepends the newbie template to body-file.

I think it is an 'if' in bugreport.py
https://anonscm.debian.org/cgit/reportbug/reportbug.git/tree/reportbug/bugreport.py#n119

Please consider not adding that template when body-file is specified.
Thanks.

-- System Information:
Debian Release: 8.10
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-0.bpo.5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)

Versions of packages python-reportbug depends on:
ii  apt               1.0.9.8.4
ii  file              1:5.22+15-2+deb8u3
ii  python-debian     0.1.27
ii  python-debianbts  2.6.1~bpo8+1
pn  python:any        <none>

python-reportbug suggests no packages.



More information about the Reportbug-maint mailing list