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

Re: Is adding dh_config and a postinst snippet ok ?



Joey Hess <joeyh@debian.org> writes:

> Installing third party debhelper commands won't break anything in
> debhelper, but nor will dh automatically call random such commands. See
> the sequence addon information in debhelper's PROGRAMMING file for
> information about adding third-party commands to dh command sequences
> (enabled via the --with switch).

ok, understood.

> "dh_config" is a rather generic name for a third-party debhelper command
> to use. I'd generally rather reserve such names for use by debhelper,
> and have third-party command names be a bit more clearly bound to the
> package that contains them.

Agreed.

So, what name should I use for this dh snippet that will add
instructions to perform system configuration upgrade during package
upgrade ?

How about dh_config_model_upgrade ? This would leave room for other dh_*
to provide alternate methods for package config upgrade...

I would also need to deliver a matching 
/usr/share/perl5/Debian/Debhelper/Sequence/config_model_upgrade.pm

Is this fine or too verbose ?

All the best

-- 
Dominique Dumont 
"Delivering successful solutions requires giving people what they
need, not what they want." Kurt Bittner

irc:
  domidumont at irc.freenode.net
  ddumont at irc.debian.org


Reply to: