Re: Do we want to Require or Recommend DH
- Date: Mon, 13 May 2019 17:58:47 +0200
- From: Thomas Goirand <zigo@xxxxxxxxxx>
- Subject: Re: Do we want to Require or Recommend DH
On 5/13/19 3:57 PM, Marco d'Itri wrote:
> On May 13, Sam Hartman <leader@xxxxxxxxxx> wrote:
>> As promised, I'd like to start a discussion on whether we want to
>> recommend using the dh command from debhelper as our preferred build
> I have already asked this last time, but nobody answered.
> I use debhelper in all of my packages but I have never switched to dh:
> why should I bother?
> "Everybody is doing this" is not much of an argument.
> Would dh really make a debian/rules file like these simpler to
> understand? Can somebody try to win me over with a patch? :-)
Without looking much, without checking if the package even builds,
here's a possible result:
Admittedly, I haven't understood all of the hacks you did (what's the
$(no_package) thing for?).
It's only 15 lines shorter, but that's not the point. The point is that
it only declares things you are not doing like everyone else.
Now, I have another example, which is quite the opposite one of what you
gave as example:
Why would one want to switch that one to something else? The package,
basically, consists of a shell script and a man page only. The
minimalism of this package doesn't require an over-engineered dh
sequencer, does it? I'm happy the way the package is, and I don't think
I'd switch to the dh sequencer *UNLESS* someone has a better argument
than "it's new", or "debian/rules will be smaller", or even "it's going
to evolve without you even noticing it" (which is more scary than
anything else, which is IMO one of the defects of the dh sequencer).
Thomas Goirand (zigo)