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

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



Previously Yann Dirson wrote:
> 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.

In your situation perhaps, generally that need not be true.

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

What you describe is highly specific usage of dpkg tools. You might
do some checking for this specific usage, but do so in the tools for
it (dh_gencontrol) and not in dpkg-gencontrol.

Wichert.

-- 
  _________________________________________________________________
 /wichert@wiggy.net         This space intentionally left occupied \
| wichert@deephackmode.org            http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0  2805 3CB8 9250 2FA3 BC2D |


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



Reply to: