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

Bug#151304: acknowledged by developer (Re: Processed: reassign 151304 to dpkg-dev)



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
something ?


> 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    <ydirson@altern.org> |    Why make M$-Bill richer & richer ?
Debian-related: <dirson@debian.org> |   Support Debian GNU/Linux:
Pro:    <yann.dirson@fr.alcove.com> |  Freedom, Power, Stability, Gratuity
     http://ydirson.free.fr/        | Check <http://www.debian.org/>


-- 
To UNSUBSCRIBE, email to debian-dpkg-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: