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

Re: Parser for Debian's RFC822-based formats



The Debian library perhaps?

http://hackage.haskell.org/package/debian-3.61

The ByteString versions are quite fast.. can load the sid in a second or two.

The Debian library is used by the autobuilder:

http://src.seereason.com/autobuilder/

And which needs to read Release file, Source and Package files, resolves dependencies, create new debian/changelog entries, and more..

It is also used by the mirror library:

http://src.seereason.com/mirror/

Which can do partial mirroring of debian repositories. (Meaning, it has to walk the Packages and Sources files and find only the relevant files to mirror).

- jeremy

On Wed, Feb 22, 2012 at 12:10 PM, Florian Weimer <fw@deneb.enyo.de> wrote:
Is there a parser for Debian's RFC822-based formats, such as .changes
files, Release, Source, and Package files?

I need something with reasonable performance because I plan to process
the entire archive.


--
To UNSUBSCRIBE, email to debian-haskell-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] 87d396zqld.fsf@mid.deneb.enyo.de" target="_blank">http://lists.debian.org/[🔎] 87d396zqld.fsf@mid.deneb.enyo.de



Reply to: