Bug#863521: unblock: devscripts/2.17.6 (pre-approval)

2017-05-31 Thread James McCoy
On Sun, May 28, 2017 at 12:57:57AM -0400, James McCoy wrote:
> On Sat, May 27, 2017 at 09:38:39PM -0400, James McCoy wrote:
> > Additionally, there are changes to various scripts to make them work
> > better when $HOME isn't set by using Perl's File::HomeDir, a new
> > Depends (56e38636, 3ff2f9db).
> 
> And Build-Depends (7f47730a).

Ping?

Cheers,
-- 
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7  2D23 DFE6 91AE 331B A3DB



Bug#863521: unblock: devscripts/2.17.6 (pre-approval)

2017-05-27 Thread James McCoy
On Sat, May 27, 2017 at 09:38:39PM -0400, James McCoy wrote:
> Additionally, there are changes to various scripts to make them work
> better when $HOME isn't set by using Perl's File::HomeDir, a new
> Depends (56e38636, 3ff2f9db).

And Build-Depends (7f47730a).

Cheers,
-- 
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7  2D23 DFE6 91AE 331B A3DB



Bug#863521: unblock: devscripts/2.17.6 (pre-approval)

2017-05-27 Thread James McCoy
Package: release.debian.org
Severity: normal
User: release.debian@packages.debian.org
Usertags: unblock

Please unblock package devscripts

There are a few changes sitting in git right now that would be useful to
make it into Stretch.  The full log is
https://anonscm.debian.org/git/collab-maint/devscripts.git/log/?id=v2.17.5..master

uscan/debdiff: Typos/documentation improvements (7f07b7bc, f447aafb)
chdist: Support running aptitude (f722bf62)
debcheckout: Understand cgit URLs (4e1867dc)
debrepro: Check for and inform user of missing runtime dependencies (ad90af3a)
debsign: Fix regression when signing a dsc file (51e909fd)

Additionally, there are changes to various scripts to make them work
better when $HOME isn't set by using Perl's File::HomeDir, a new
Depends (56e38636, 3ff2f9db).

The $HOME handling is the most disruptive, so I'd be willing to drop
that.

unblock devscripts/2.17.6

-- System Information:
Debian Release: 9.0
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64
 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
 debian/changelog   | 30 ++
 debian/control |  1 +
 scripts/bts.pl |  2 ++
 scripts/chdist.bash_completion |  6 +++---
 scripts/chdist.pl  | 12 ++--
 scripts/debcheckout.pl |  5 +++--
 scripts/debcommit.pl   |  3 ++-
 scripts/debdiff.pl |  2 +-
 scripts/debrepro.pod   |  4 
 scripts/debrepro.sh| 21 +
 scripts/debsign.sh |  2 +-
 scripts/dscverify.pl   |  2 ++
 scripts/grep-excuses.pl|  3 ++-
 scripts/namecheck.pl   |  8 +++-
 scripts/rc-alert.pl|  2 ++
 scripts/svnpath.pl |  7 +--
 scripts/uscan.pl   | 18 +++---
 scripts/wnpp-alert.sh  |  2 +-
 18 files changed, 112 insertions(+), 18 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 0c32aaac..e436d4be 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,33 @@
+devscripts (2.17.6) UNRELEASED; urgency=medium
+
+  [ Osamu Aoki ]
+  * uscan:
++ Update manpage on the github.com behavior and the alternative
+  shorthand form.  (Closes: #836507, #859089)
+
+  [ Adam D. Barratt ]
+  * uscan: fix a typo in the manpage
+  * debdiff: fix a typo
+
+  [ Paul Wise ]
+  * chdist:
++ add support for running aptitude
+  * debcheckout:
++ handle cgit URLs too. Thanks to Rhonda for the suggestion.
+  * Make various scripts work when HOME is unset:
+bts chdist debcommit dscverify grep-excuses
+namecheck rc-alert svnpath wnpp-alert
+
+  [ Antonio Terceiro ]
+  * debrepro:
++ check for dependencies before doing any builds (Closes: #862586)
+
+  [ James Clarke ]
+  * debsign:
++ Fix signing a dsc directly.  (Closes: #863497)
+
+ -- Osamu Aoki   Fri, 31 Mar 2017 02:03:30 +0900
+
 devscripts (2.17.5) unstable; urgency=medium
 
   * Create GNUPGHOME in /tmp to fix CI failures due to long path names.
diff --git a/debian/control b/debian/control
index 52b774e9..3a2994a8 100644
--- a/debian/control
+++ b/debian/control
@@ -46,6 +46,7 @@ Package: devscripts
 Architecture: any
 Multi-Arch: foreign
 Depends: dpkg-dev (>= 1.17.6),
+ libfile-homedir-perl,
  ${misc:Depends},
  ${perl:Depends},
  ${python3:Depends},
diff --git a/scripts/bts.pl b/scripts/bts.pl
index 2a650d10..a2a64c51 100755
--- a/scripts/bts.pl
+++ b/scripts/bts.pl
@@ -47,6 +47,7 @@ use strict;
 use warnings;
 use File::Basename;
 use File::Copy;
+use File::HomeDir;
 use File::Path qw(make_path rmtree);
 use File::Spec;
 use File::Temp qw/tempfile/;
@@ -173,6 +174,7 @@ my @valid_severities=qw(wishlist minor normal important
 
 my $browser;  # Will set if necessary
 
+$ENV{HOME} = File::HomeDir->my_home;
 my $cachedir = $ENV{XDG_CACHE_HOME} || File::Spec->catdir($ENV{HOME}, 
'.cache');
 $cachedir = File::Spec->catdir($cachedir, 'devscripts', 'bts');
 
diff --git a/scripts/chdist.bash_completion b/scripts/chdist.bash_completion
index 89773313..51dbf499 100644
--- a/scripts/chdist.bash_completion
+++ b/scripts/chdist.bash_completion
@@ -6,7 +6,7 @@ _chdist ()
 {
   local cur=$2 prev=$3
   local options='--help -h --data-dir -d --arch -a'
-  local commands='create apt apt-get apt-cache apt-rdepends
+  local commands='create apt apt-get apt-cache apt-rdepends aptitude
src2bin bin2src
compare-packages compare-bin-packages
compare-versions compare-bin-versions
@@ -14,7 +14,7 @@ _chdist ()
list'
   # Sync'd with buildd.debian.org on 2016-04-02:
   local archs="all alpha amd64 arm64 armel armhf hppa hurd-i386 i386 ia64