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

OPTIONS

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

CONFIGURATION VARIABLES

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

SEE ALSO

122       debdiff(1), sensible-editor(1), devscripts.conf(5)
123

AUTHOR

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