1NMUDIFF(1)                  General Commands Manual                 NMUDIFF(1)
2
3
4

NAME

6       nmudiff - email an NMU diff to the Debian BTS
7

SYNOPSIS

9       nmudiff [options]
10

DESCRIPTION

12       nmudiff  should  be  run in the source tree of the package being NMUed,
13       after the NMU is built. It assumes that the source  packages  (specifi‐
14       cally,  the .dsc and any corresponding tar and diff files) for both the
15       previous version of the package and the newly built NMU version are  in
16       the  parent  directory. It then uses debdiff to generate a diff between
17       the previous version and the current NMU, and either runs  mutt  or  an
18       editor  (using sensible-editor) so that the mail message (including the
19       diff) can be examined and modified; once you exit the editor  the  diff
20       will be mailed to the Debian BTS.
21
22       The default behaviour is that if exactly one bug is closed by this NMU,
23       then that bug will be mailed, otherwise a new bug  will  be  submitted.
24       This behaviour may be changed by command line options and configuration
25       file options.
26

OPTIONS

28       --new  Instead of mailing the bug reports which are  to  be  closed  by
29              this NMU, a new bug report is submitted directly to the BTS.
30
31       --old  Send the bug report to all of the bugs which are being closed by
32              this NMU, rather than opening a new bug report.  This option has
33              no effect if no bugs are being closed by this NMU.
34
35       --mutt Use  mutt(1) (or neomutt(1)) for editing and sending the message
36              to the BTS (default behaviour).  This can be controlled using  a
37              configuration file option (see below).
38
39       --no-mutt
40              Use  sensible-editor(1)  to  edit  the  message and then mail it
41              directly using /usr/bin/sendmail.  This can be controlled  using
42              a configuration file option (see below).
43
44       --sendmail SENDMAILCMD
45              Specify  the  sendmail  command.   The  command will be split on
46              white space and will be interpreted by the  shell.   Default  is
47              /usr/sbin/sendmail.   The  -t option will be automatically added
48              if the command is /usr/sbin/sendmail  or  /usr/sbin/exim*.   For
49              other  mailers,  if  they  require  a  -t  option,  this must be
50              included   in   the   SENDMAILCMD,    for    example:    --send‐
51              mail="/usr/sbin/mymailer  -t".   This  can also be set using the
52              devscripts configuration files; see below.
53
54       --from EMAIL
55              If using the sendmail (--no-mutt) option, then the email to  the
56              BTS  will  be sent using the name and address in the environment
57              variables DEBEMAIL and DEBFULLNAME.  If these are not set,  then
58              the variables EMAIL and NAME will be used instead.  These can be
59              overridden using the --from option.  The program will  not  work
60              in this case if an email address cannot be determined.
61
62       --delay DELAY
63              Indicate in the generated mail that the NMU has been uploaded to
64              the DELAYED queue, with a delay  of  DELAY  days.   The  default
65              value  is XX which adds a placeholder to the e-mail.  A value of
66              0 indicates that the upload has  not  been  sent  to  a  delayed
67              queue.   This can also be set using the devscripts configuration
68              files; see below.
69
70       --no-delay, --nodelay
71              Equivalent to --delay 0.
72
73       --no-conf, --noconf
74              Do not read any configuration files.  This can only be  used  as
75              the first option given on the command-line.
76
77       --template TEMPLATEFILE
78              Use  content of TEMPLATEFILE for message body instead of default
79              template.  If TEMPLATEFILE does not exist, default  template  is
80              applied.
81
82       --help Display a help message and exit successfully.
83
84       --version
85              Display version and copyright information and exit successfully.
86

CONFIGURATION VARIABLES

88       The  two configuration files /etc/devscripts.conf and ~/.devscripts are
89       sourced in that order to set  configuration  variables.   Command  line
90       options  can be used to override configuration file settings.  Environ‐
91       ment variable settings are ignored for  this  purpose.   The  currently
92       recognised variables are:
93
94       NMUDIFF_DELAY
95              If this is set to a number, e-mails generated by nmudiff will by
96              default mention an upload to the DELAYED queue, delayed for  the
97              specified  number  of  days.   The  value  0  indicates that the
98              DELAYED queue has not been used.
99
100       NMUDIFF_MUTT
101              Can be yes (default) or no, and specifies whether  to  use  mutt
102              (or  neomut)to compose and send the message or not, as described
103              above.
104
105       NMUDIFF_NEWREPORT
106              This option controls whether  a  new  bug  report  is  made,  or
107              whether the diff is sent to the bugs closed by this NMU.  Can be
108              maybe (default), which sends to  the  existing  bug  reports  if
109              exactly one bug is being closed; yes, which always creates a new
110              report, or no, which always sends to the  reports  of  the  bugs
111              being  closed  (unless no bugs are being closed, in which case a
112              new report is always made).
113
114       BTS_SENDMAIL_COMMAND
115              If this is set, specifies a sendmail command to use  instead  of
116              /usr/sbin/sendmail.  Same as the --sendmail command line option.
117

SEE ALSO

119       debdiff(1), sensible-editor(1), devscripts.conf(5)
120

AUTHOR

122       nmudiff  was  written and is copyright 2006 by Steinar H. Gunderson and
123       modified by Julian Gilbey <jdg@debian.org>.  The software may be freely
124       redistributed  under the terms and conditions of the GNU General Public
125       License, version 2.
126
127
128
129DEBIAN                         Debian Utilities                     NMUDIFF(1)
Impressum