Re: Author tests and IPC::System::Simple
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mon, Dec 15, 2008 at 07:04:20PM +0100, gregor herrmann wrote:
>On Mon, 15 Dec 2008 10:53:36 +0100, Jonas Smedegaard wrote:
>> >> But as I posted a little earlier I suggest instead to keep the
>> >> build-dependency and instead add the following in debian/rules to
>> >> not enable the problematic option on normal builds:
>> >> ifneq (,$(DEB_MAINTAINER_MODE))
>> >> TEST_AUTHOR=1
>> >> endif
>> >I think this sounds like a fantastic idea.
>
>Thanks Jonas for this idea.
>I keep it in mind but IMO this doesn't scale for a group like ours
>with >1000 packages where people use to touch dozens of them --
>remembering (or reading) which specific options which packages need
>for test builds seems a bit tedious in my view.
I see no problem in 1000+ packages all supporting a DEB_MAINTAINER_MODE
flag, and each individual package stuffing whatever is suitable into
that (Debian-specific!) flag.
Indeed it means that setting that flag might cause surprises. That's the
whole point: The intend of Debian Policy not allowing dynamic changes to
build-dependencies is exactly "no surprises" ;-)
No need for all debial-perl maintainers to know all surprises in all
1000+ packages: Just only enable that flag for packages you have/want a
deeper knownledge about.
- Jonas
- --
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEUEARECAAYFAklGpBEACgkQn7DbMsAkQLhLDgCgmpDZwTvISk6EKcuoaK1d6707
IJ4AmJBZy2LMU+P4kEzp7VYvXxqVtTg=
=hZDq
-----END PGP SIGNATURE-----
Reply to: