NMUDIFF(1)
π NMUDIFF β email an NMU diff to the Debian BTS π
okay bestie, sit down, we're doing a Non-Maintainer Upload and we're doing it politely π
β¨ NAME β¨
nmudiff β email an NMU diff to the Debian BTS
πΈ SYNOPSIS πΈ
nmudiff [options]
π¦ DESCRIPTION π¦
So nmudiff is the tool you run while you're prepping a Non-Maintainer Upload (NMU), and its whole job is to go tell the maintainer what you've been up to. Communication, queen behavior. π
Run it inside the source tree of the package you're NMUing, after the NMU is built. It's assuming β like, fully assuming β that the source packages for both the previous version of the package and your freshly built NMU version are chilling in the parent directory. Specifically the .dsc and any corresponding tar and diff files. It does not go looking elsewhere, bestie, it just trusts you. π«Ά
Then it:
- Uses
debdiffto generate a diff between the previous version and the current NMU. - Runs either
muttor an editor (viasensible-editor) so you can actually look at and edit the mail message, diff included. - The moment you exit the editor, the diff gets mailed to the Debian BTS. No takebacks. β¨
Default behavior, and this is important: if exactly one bug is closed by this NMU, that bug gets the mail. Otherwise a whole new bug gets submitted. And yes, you can change that with command line options and config file options β see below, babe.
π OPTIONS π
--newβ instead of mailing the bug reports that are gonna be closed by this NMU, a brand new bug report gets submitted straight to the BTS. Fresh start energy.--oldβ send the bug report to all the bugs being closed by this NMU, instead of opening a new one. Fair warning though: this option does absolutely nothing if no bugs are being closed by this NMU. It's giving "no bugs, no mail."--muttβ usemutt(1)(orneomutt(1)) to edit and send the message to the BTS. This is the default behavior, iykyk. You can also control it with a config file option (see below).--no-muttβ usesensible-editor(1)to edit the message, then mail it directly using/usr/bin/sendmail. Also controllable via config file option (see below).--mua MUACMDβ use whatever command you give it as your mail user agent (MUA). The command gets split on white space and interpreted by the shell, and it'll be handed amailto:URL as its first argument. Thethunderbirdis a known example of a program that plays nice with this option. π¦--sendmail SENDMAILCMDβ specify the sendmail command. It gets split on white space and interpreted by the shell. Default is/usr/sbin/sendmail. The-toption gets automatically added if the command is/usr/sbin/sendmailor/usr/sbin/exim*. For other mailers, if they need a-toption, you have to put it in theSENDMAILCMDyourself, like so:--sendmail="/usr/sbin/mymailer -t". You can also set this with the devscripts configuration files; see below.--from EMAILβ if you're using the sendmail (--no-mutt) option, the email to the BTS goes out using the name and address from the environment variablesDEBEMAILandDEBFULLNAME. If those aren't set, it falls back toEMAILandNAMEinstead. You can override all of that with--from. And heads up: in this case, the program will not work if an email address cannot be determined. It cannot manifest your identity out of thin air, bestie. π--delay DELAYβ indicate in the generated mail that the NMU has been uploaded to the DELAYED queue, with a delay of DELAY days. Default value isXX, which just drops a placeholder into the e-mail. A value of0means the upload was not sent to a delayed queue. Also settable via the devscripts configuration files; see below.--no-delay,--nodelayβ equivalent to--delay 0. Same thing, shorter vibe.--no-conf,--noconfβ do not read any configuration files. β οΈ This can only be used as the very first option given on the command-line. First or it doesn't count.--no-pending,--nopendingβ do not add the pending tag. We're keeping it off the record.--non-dd,--nonddβ mention in the email that you require sponsorship. Asking for help is main character energy, fr fr. π--template TEMPLATEFILEβ use the content of TEMPLATEFILE for the message body instead of the default template. And if TEMPLATEFILE doesn't exist? Default template is applied. No drama. π--helpβ display a help message and exit successfully. Slay.--versionβ display version and copyright information and exit successfully. Also slay.
π CONFIGURATION VARIABLES π
The two configuration files /etc/devscripts.conf and ~/.devscripts are sourced in that order to set configuration variables. Command line options can override configuration file settings. And here's the tea: environment variable settings are ignored for this purpose. Not a factor. Nope.
The currently recognised variables are:
NMUDIFF_DELAYβ if this is set to a number, e-mails generated by nmudiff will by default mention an upload to the DELAYED queue, delayed for the specified number of days. The value0indicates that the DELAYED queue has not been used.NMUDIFF_MUTTβ can beyes(default) orno, and specifies whether to usemutt(orneomutt) to compose and send the message or not, as described above.NMUDIFF_NEWREPORTβ this option controls whether a new bug report is made, or whether the diff is sent to the bugs closed by this NMU. Can bemaybe(default), which sends to the existing bug reports if exactly one bug is being closed;yes, which always creates a new report; orno, which always sends to the reports of the bugs being closed (unless no bugs are being closed, in which case a new report is always made). Yes, that last clause matters. Read it twice. πBTS_SENDMAIL_COMMANDβ if this is set, it specifies a sendmail command to use instead of/usr/sbin/sendmail. Same as the--sendmailcommand line option.
π SEE ALSO π
debdiff(1), sensible-editor(1), devscripts.conf(5)
β AUTHOR β
nmudiff was written and is copyright 2006 by Steinar H. Gunderson and modified by Julian Gilbey <jdg@debian.org>. The software may be freely redistributed under the terms and conditions of the GNU General Public License, version 2.
okay that's the whole page, bestie π₯° this one comes to you from the Debian Utilities collection in the DEBIAN section of the manual pages β go forth, NMU responsibly, and remember: tell the maintainer what you did. Communication is self-care. πβ¨π
π¦ where this page comes from
- debian trixie: devscripts 2.25.15+deb13u1 Β· GPL-2.0-or-later
- fedora 43: devscripts 2.25.19-2.fc43 Β· GPL-2.0-or-later
- fedora 43: devscripts 2.25.33-1.fc43 Β· GPL-2.0-or-later
- fedora 44: devscripts 2.26.5-1.fc44 Β· GPL-2.0-or-later
- ubuntu questing: devscripts 2.25.19ubuntu2
- ubuntu resolute: devscripts 2.26.7 Β· GPL-2.0-or-later
- ubuntu stonking: devscripts 2.26.11ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms