tags 352626 + wontfix
thanks

On Mon, Feb 13, 2006 at 02:42:37AM +0100, Frans Pop wrote:
> 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.

DH_VERBOSE I could agree with, but DH_ALWAYS_EXCLUDE is nasty:
autobuilding could fail if DH_ALWAYS_EXCLUDE is set in the environment
but not in the Makefile, as the tarball is generated *before* anything
is deleted, so that environment variable will actually change the
nature of the binary package generated.  In fact, I would say that
building a package from inside an SVN tree is fraught with danger; use
svn-buildpackage or cvs-buildpackage instead.

I'm not going to implement this request.

   Julian


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to