Package: devscripts
Version: 2.9.12
Severity: wishlist

While preparing for the current release of Debian Installer, I was 
uploaded some packages built using debuild that included .svn files by 
accident, even though I had "DH_ALWAYS_EXCLUDE=CVS:.svn" set in my 
environment.

Reason turned out to be that debuild clears all envvars, excepting a few, 
by default.
Adding "DEBUILD_PRESERVE_ENVVARS=DH_ALWAYS_EXCLUDE" in ~/.devscripts 
solved the issue.

Please consider adding the following 2 debhelper envvars to the list of 
vars not to be reset:
- DH_ALWAYS_EXCLUDE
- DH_VERBOSE

Rationale: if these are set in the environment, the user will logically 
expect them to be honored and the chance that they will break a build is 
very low; the current practice of unsetting them is counter-intuitive.

An option would be to print the value of the vars in the build output to 
alert the the user to their value.

Attachment: pgpRqhSqFdkED.pgp
Description: PGP signature

Reply via email to