Re: [Dwai-developers] TODOs
Status: Beta
Brought to you by:
lucrus
|
From: Lucio C. <lu...@su...> - 2006-03-30 22:17:13
|
I wrote:
> Now the question is: what should we use to write the
> dewmaster script?
Actually there is another question: how do we get the dependencies list from a
deb package?
Choices:
1 - Reading the ar format directly (not that wise in my opinion unless we know
the .deb ar format won't change frequently)
2 - using "apt-cache depends" (quite messy because its output is mixed with
localized strings, hence unpredictable; moreover apt-cache requires the deb
to be reachable through sources.list, which may not be the case)
3 - dpkg-query --show <pkg> --showformat=\${Depends} (a little better than
apt-cache, but still the package must be reachable through sources.list,
which may lead to the need of a dedicated system only to build DWAI XML
files)
Any other suggestion?
|