table of contents
| man(8) | pkgos-reportbug man page | man(8) |
NAME¶
pkgos-reportbug - open a new terminal window running reportbug against wnpp.
SYNOPSIS¶
pkgos-reportbug [itp-file] [subject]
DESCRIPTION¶
pkgos-reportbug opens a new terminal window running reportbug(1) against the wnpp pseudo-package, with the content of the ITP file pre-filled in the report body. reportbug's editor is used for that, so the ITP can be reviewed and edited before it is sent, and reportbug never sends it without an explicit confirmation. The severity is set to wishlist, as mandated for ITPs, and reportbug's additional CC menu is disabled. The subject is set to "ITP: <package name> -- <description>", parsed from the ITP file, unless it is passed as second argument.
If no file is specified, itp.txt is used when it exists in the current directory. The terminal program is detected from the XDG_CURRENT_DESKTOP environment variable, with a fallback to /usr/bin/x-terminal-emulator and xterm. It can be forced with the PKGOS_TERMINAL environment variable. When there is no X display, no terminal program, or when PKGOS_DEBPIPY_NO_REPORTBUG is set, the ITP file and the reportbug command to run are displayed instead.
OPTIONS¶
- [itp-file]
- The file holding the ITP text, for example as generated by pkgos-debpypi or pkgos-debcrate. Defaults to itp.txt in the current directory.
- [subject]
- The optional subject to use for the reportbug report.
ENVIRONMENT¶
- PKGOS_TERMINAL
- Force the use of the specified terminal program.
- PKGOS_DEBPIPY_NO_REPORTBUG
- If set, never open a new terminal window.
SEE ALSO¶
BUGS¶
No known bugs.
AUTHOR¶
Script and man page are written by Thomas Goirand <zigo@debian.org>
| 3 Oct 2026 | 150 |