Package: devscripts Severity: wishlist Please make rmadison give a sensible return value. Currently it only returns success, even when it couldn't contact the qa script. IMO the only of the following situations where it should return success is the second one. I think it should also differentiate between not being able to contact the server and not finding the requested package. See below for suggested return values in various scenarios.
p...@chianamo:~$ rmadison foo ; echo $? 0 I suggest returning 1 instead. p...@chianamo:~$ rmadison nsis ; echo $? nsis | 2.19-3 | etch-m68k | source, m68k nsis | 2.19-3 | stable | source, alpha, amd64, hppa, i386, ia64, mips, mipsel, powerpc, s390, sparc nsis | 2.37-3 | testing | source, amd64, i386 nsis | 2.37-3 | unstable | source, amd64, i386 nsis | 2.39-1 | experimental | source, amd64, i386 0 Returning success here makes sense. p...@chianamo:~$ rmadison foo ; echo $? curl: (6) Couldn't resolve host 'qa.debian.org' 0 I suggest returning 2 instead. p...@chianamo:~$ rmadison nsis ; echo $? curl: (6) Couldn't resolve host 'qa.debian.org' 0 I suggest returning 2 instead. -- bye, pabs http://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part