Bug#151304: acknowledged by developer (Re: Processed: reassign 151304 to dpkg-dev)
- To: Wichert Akkerman <email@example.com>, firstname.lastname@example.org
- Cc: email@example.com
- Subject: Bug#151304: acknowledged by developer (Re: Processed: reassign 151304 to dpkg-dev)
- From: Yann Dirson <firstname.lastname@example.org>
- Date: Sun, 30 Jun 2002 19:44:05 +0200
- Message-id: <20020630174405.GI3243@bylbo.nowhere.earth>
- Reply-to: Yann Dirson <email@example.com>, firstname.lastname@example.org
- In-reply-to: <20020630105913.GW7792@wiggy.net>
- References: <20020628233906.GO7792@wiggy.net> <20020628201528.GA18272@bylbo.nowhere.earth> <handler.151304.D151304.email@example.com> <20020629120211.GF22652@bylbo.nowhere.earth> <20020630105913.GW7792@wiggy.net>
On Sun, Jun 30, 2002 at 12:59:13PM +0200, Wichert Akkerman wrote:
> Think about it, there simple is no moment in the packaging process where
> you can know for sure if a substvar has been used or not. They can be
> used at different moments by different tools, added halfway through
> the process, only exist temporarily via commandline options, etc.
What is mostly of interest to me if when they're used only by
dpkg-gencontrol, _when_ they are added doesn't matter, and it looks like the
place for checking would be here, as dpkg-gencontrol is THE one (apart from
his caller, which may vary) which knows for sure what its arguments are.
Maybe in the default dpkg-gencontrol behaviour (reading from
debian/substvars) it is not expected that all vars are used, but
dh_gencontrol uses separated substvars files for each binary package, and
calls dpkg-gencontrol with -T. In this case we know for sure that all vars
in THIS file are intended for THIS package, and we can warn. Or do I miss
> Please work this out for yourself and try to come up with a scheme
> where you can authoritively see if a substvar is unused before you
> simply reopen this bugreport.
I'm not sure it's the most effective way not to get ideas lost, but well...
Yann Dirson <firstname.lastname@example.org> | Why make M$-Bill richer & richer ?
Debian-related: <email@example.com> | Support Debian GNU/Linux:
Pro: <firstname.lastname@example.org> | Freedom, Power, Stability, Gratuity
http://ydirson.free.fr/ | Check <http://www.debian.org/>
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org