Bug#850560: Want `dgit nmudiff`

2019-05-07 Thread Ian Jackson
See also #928554, "dgit-nmu-simple should give an example of
generating a patches-unapplied nmudiff"

-- 
Ian JacksonThese opinions are my own.

If I emailed you from an address @fyvzl.net or @evade.org.uk, that is
a private address which bypasses my fierce spamfilter.



Bug#850560: Want `dgit nmudiff`

2017-01-08 Thread Ian Jackson
Sean Whitton writes ("Bug#850560: Want `dgit nmudiff`"):
> Fair enough.  What's most convenient about nmudiff is that it drops you
> into your MUA with an e-mail ready to go, including the appropriate
> control: lines.  It would be best if dgit didn't need to reimplement
> this.

I looked at the code in nmudiff and decided it was better to do just
that.  nmudiff is not very complicated, and dgit has much better
information to work from.

Ian.

-- 
Ian JacksonThese opinions are my own.

If I emailed you from an address @fyvzl.net or @evade.org.uk, that is
a private address which bypasses my fierce spamfilter.



Bug#850560: Want `dgit nmudiff`

2017-01-07 Thread Sean Whitton
On Sun, Jan 08, 2017 at 01:12:20AM +, Ian Jackson wrote:
> Generating the nmudiff with debdiff is rather silly IMO.  It can be
> generated by git more easily.  I have a half-finished branch which
> does this.
> 
> The idea is that dgit push would do it for you.  I guess a separate
> command to send it would be fine, too.

Fair enough.  What's most convenient about nmudiff is that it drops you
into your MUA with an e-mail ready to go, including the appropriate
control: lines.  It would be best if dgit didn't need to reimplement
this.

-- 
Sean Whitton


signature.asc
Description: PGP signature


Bug#850560: Want `dgit nmudiff`

2017-01-07 Thread Ian Jackson
Sean Whitton writes ("Bug#850560: Want `dgit nmudiff`"):
> Package: dgit
> Version: 2.16.2
> Severity: wishlist
> 
> You can't just invoke the excellent nmudiff tool when following the
> steps in dgit-nmu-simple(7): nmudiff requires the old source package to
> be present in the parent directory.
...
> It would be good to have a simple wrapper `dgit nmudiff` that either
> (i) downloads the .dsc from the archive and then runs nmudiff, or
> (ii) rewinds the dgit/sid branch and builds the .dsc, and then runs
> nmudiff.

Generating the nmudiff with debdiff is rather silly IMO.  It can be
generated by git more easily.  I have a half-finished branch which
does this.

The idea is that dgit push would do it for you.  I guess a separate
command to send it would be fine, too.

I have heard allegations that for `3.0 (quilt)' debdiff produces diffs
of patches-unapplied trees, in which case I need to produce that for
the nmudiff, I guess.  *sigh*

Ian.

-- 
Ian JacksonThese opinions are my own.

If I emailed you from an address @fyvzl.net or @evade.org.uk, that is
a private address which bypasses my fierce spamfilter.



Bug#850560: Want `dgit nmudiff`

2017-01-07 Thread Sean Whitton
Package: dgit
Version: 2.16.2
Severity: wishlist

You can't just invoke the excellent nmudiff tool when following the
steps in dgit-nmu-simple(7): nmudiff requires the old source package to
be present in the parent directory.

This is a bit counter-intuitive for someone used to doing NMUs the
old-fashioned way.  They would always have the old .dsc present in the
parent directory, so they wouldn't ever think about obtaining it for the
purpose of invoking nmudiff.

It would be good to have a simple wrapper `dgit nmudiff` that either
(i) downloads the .dsc from the archive and then runs nmudiff, or
(ii) rewinds the dgit/sid branch and builds the .dsc, and then runs
nmudiff.

dgit-nmu-simple(7) would need to be updated to refer to this new
wrapper.

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: i386 (i686)

Kernel: Linux 4.8.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dgit depends on:
ii  apt   1.4~beta2
ii  ca-certificates   20161102
ii  coreutils 8.25-2
ii  curl  7.50.1-1
ii  devscripts2.16.14
ii  dpkg-dev  1.18.10
ii  dput-ng [dput]1.11
ii  git [git-core]1:2.11.0-1
ii  git-buildpackage  0.8.7
ii  libdpkg-perl  1.18.10
ii  libjson-perl  2.90-1
ii  liblist-moreutils-perl0.416-1+b1
ii  libperl5.24 [libdigest-sha-perl]  5.24.1~rc4-1
ii  libtext-glob-perl 0.10-1
ii  libtext-iconv-perl1.7-5+b4
ii  libwww-perl   6.15-1
ii  perl  5.24.1~rc4-1

Versions of packages dgit recommends:
ii  openssh-client [ssh-client]  1:7.3p1-5

Versions of packages dgit suggests:
ii  sbuild  0.72.0-2

-- no debconf information

-- 
Sean Whitton


signature.asc
Description: PGP signature