Re: Parsing of dpkg status file considered harmful

2007-06-21 Thread Michael Biebl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Guillem Jover wrote: On Thu, 2007-05-31 at 14:51:00 +0200, Josselin Mouette wrote: Le mercredi 30 mai 2007 à 07:53 +0300, Guillem Jover a écrit : If you need to retrieve the conffile info, which is why most of those packages are poking at the

Re: Parsing of dpkg status file considered harmful

2007-06-21 Thread Frank Küster
Michael Biebl [EMAIL PROTECTED] wrote: FWIW the new documentation on the wiki [1] regarding dpkg-query was not entirely correct. It missed to strip of the obsolete keyword. I updated the wiki accordingly. Ah, yes. Where is the meaning of that keyword documented? Regards, Frank -- Frank

Re: Parsing of dpkg status file considered harmful

2007-05-31 Thread Josselin Mouette
Le mercredi 30 mai 2007 à 07:53 +0300, Guillem Jover a écrit : I've been meaning to send this for some time, but latest docbook-xml upload finally triggered it. Please stop parsing dpkg status file from maintainer scripts. No package should assume its location or format (except for now for

Re: Parsing of dpkg status file considered harmful

2007-05-31 Thread Daniel Leidert
Am Mittwoch, den 30.05.2007, 07:53 +0300 schrieb Guillem Jover: I've been meaning to send this for some time, but latest docbook-xml upload finally triggered it. Well, why didn't you send me a CC of this mail? I just stumbled over this by fluke. Please stop parsing dpkg status file from

Re: Parsing of dpkg status file considered harmful

2007-05-31 Thread Guillem Jover
On Thu, 2007-05-31 at 14:51:00 +0200, Josselin Mouette wrote: Le mercredi 30 mai 2007 à 07:53 +0300, Guillem Jover a écrit : If you need to retrieve the conffile info, which is why most of those packages are poking at the status file, please use something like: $ dpkg-query -W

Re: Parsing of dpkg status file considered harmful

2007-05-31 Thread Guillem Jover
On Thu, 2007-05-31 at 15:22:59 +0200, Daniel Leidert wrote: Am Mittwoch, den 30.05.2007, 07:53 +0300 schrieb Guillem Jover: I've been meaning to send this for some time, but latest docbook-xml upload finally triggered it. Well, why didn't you send me a CC of this mail? I just stumbled over

Re: Parsing of dpkg status file considered harmful

2007-05-31 Thread Ian Jackson
Guillem Jover writes (Parsing of dpkg status file considered harmful): Please stop parsing dpkg status file from maintainer scripts. No package should assume its location or format (except for now for package managment frontends and the like, until there's a proper library they can use

Re: Parsing of dpkg status file considered harmful

2007-05-31 Thread sean finney
On Thursday 31 May 2007 19:03:41 Ian Jackson wrote: (Note that I'm adamantly opposed to the IMO crazy plans to replace the on-disk status database format. IMO the parsing needs to be sped up and the Descriptions moved into a separate file. But this is a discussion for a different list.)

Parsing of dpkg status file considered harmful

2007-05-29 Thread Guillem Jover
Hi, I've been meaning to send this for some time, but latest docbook-xml upload finally triggered it. Please stop parsing dpkg status file from maintainer scripts. No package should assume its location or format (except for now for package managment frontends and the like, until there's a proper