[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Ensuring a clean diff

On 16/12/2007, Simon Ruggier wrote:
> Hi, this is a piece of advice to help people ensure that they don't
> let anything unwanted into their diff.gz, until such time as lintian
> starts warning about this:
> In ~/.devscripts, I have:
> DEBUILD_POST_DPKG_BUILDPACKAGE_HOOK="zcat %p_%v.diff.gz | lsdiff"

I always check the final source package using zcat and lsdiff, and it
works very well, indeed. ;-)

> The two lines in the second file tell svn-buildpackage to use debuild,
> so that this hook is still run when using svn-buildpackage, and to
> preserve the build directory in between builds, so that we can still
> check that the clean target works properly, and that packages won't
> FTBFS the second time they are built.

What about adding this tip to the wiki?


Cyril Brulebois

Attachment: pgpeddwxg21KG.pgp
Description: PGP signature

Reply to: