Bug#720523: UNRELEASED suite handling

2013-08-23 Thread Ian Jackson
Joey Hess writes (Bug#720523: UNRELEASED suite handling):
 (I'm also curious why building the package should need to ssh
 off to look up the canonical name of the suite. I can certianly build
 packages myself without needing to do that.)

If you use dgit build it invokes git-buildpackage which wants to
check that the branch you're on is the right branch.  That branch name
is named after the suite.

dgit sbuild doesn't have that check, and I wasn't sure that it was a
good idea anyway so I didn't feel like replicating it in dgit.

Thanks for your bug reports.  I think I've dealt with the critical
ones and I hope to get to the rest soon...

Ian.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#720523: UNRELEASED suite handling

2013-08-22 Thread Joey Hess
Package: dgit
Version: 0.7
Severity: normal

joey@gnu:~/tmp/alien[sid]dgit build
ssh: failed command: ssh coccia.debian.org 'set -e; cd 
/srv/ftp-master.debian.org/ftp/dists; if test -h UNRELEASED; then readlink 
UNRELEASED; exit 0; fi; if test -d UNRELEASED; then echo UNRELEASED; exit 0; 
fi; exit 1'
dgit: subprocess failed with error exit status 

It will probably be a common mistake to try to build and/or push a package
with the changelog having UNRELEASED as the suite. So this error
message could probably be improved, or this case even detected earlier.

(I'm also curious why building the package should need to ssh
off to look up the canonical name of the suite. I can certianly build
packages myself without needing to do that.)

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.10-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dgit depends on:
ii  devscripts  2.13.2
ii  dpkg-dev1.17.1
ii  git [git-core]  1:1.8.4~rc2-1
ii  git-core1:1.8.4~rc2-1
ii  libdpkg-perl1.17.1
ii  libwww-perl 6.05-1
ii  perl5.14.2-21

Versions of packages dgit recommends:
ii  openssh-client [ssh-client]  1:6.2p2-6

Versions of packages dgit suggests:
pn  sbuild  none

-- no debconf information

-- 
see shy jo


signature.asc
Description: Digital signature