From: Brian Harring <ferringb@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] GLEP ??: Critical News Reporting
Date: Tue, 1 Nov 2005 19:29:59 -0600 [thread overview]
Message-ID: <20051102012959.GA16594@nightcrawler> (raw)
In-Reply-To: <20051101221635.1a53a258@snowdrop.home>
[-- Attachment #1: Type: text/plain, Size: 2295 bytes --]
On Tue, Nov 01, 2005 at 10:16:35PM +0000, Ciaran McCreesh wrote:
> On Tue, 1 Nov 2005 22:57:13 +0100 Jan Kundrát <jkt@gentoo.org> wrote:
> | On Tuesday 01 of November 2005 19:25 Ciaran McCreesh wrote:
> | > On Tue, 1 Nov 2005 17:22:29 +0100 Jan Kundrát <jkt@gentoo.org>
> | > wrote:
> | > | What's wrong with XML format similar to the one that is used for
> | > | our GLSAs?
> | >
> | > 1. Portage does not handle XML. Portage will not handle XML in the
> | > near future.
> |
> | How will it handle GLSAs then? [1]
>
> gentoolkit != portage.
Correct. Course, also incorrect.
We already have a module for parsing metadata.xml in use in the
experimental 2.1 branch (which can be backported to 2.0 if anyone
wants it and does the work).
Python comes bundled with xml as long as you don't have the build flag
enabled.
> | > 5. XML is merely adding another problem to the one we have already.
> |
> | Could you please explain?
>
> Parsing XML is complicated. Writing XML is complicated. I put together
> a complete working client that can show news items in the plain text
> format proposed -- it took me fifteen minutes to write. I threw
> together a script which can be called after a cron sync that mails news
> items to root in under a minute. There is no way this could be done if
> XML were being used -- any task involving news items would be a major
> chore.
Come on now, this is a bit of bullshit.
http://dev.gentoo.org/~ferringb/portage_metadata.py,
47 lines
Might be a pain in the ass under the frameworks you deal in, but
something as simple as news items can be done pretty quickly.
> | > I have an eselect module which can read these news files. The whole
> | > thing is about the same size as the DTD would need to be for an
> | > XML-based solution. I have a parser written for the format in
> | > question. The whole thing is smaller than the initialisation code
> | > for an off the shelf XML parser.
> |
> | Great. Why haven't you just used existing code from `glsa-check`, BTW?
>
> Because merely figuring out the XML DTD takes longer than it does to
> write an entire client for plain text news items.
Not arguing for, or against, just pointing out certain arguements are
questionable...
~harring
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-11-02 0:42 UTC|newest]
Thread overview: 144+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-01 1:51 [gentoo-dev] GLEP ??: Critical News Reporting Ciaran McCreesh
2005-11-01 2:08 ` [gentoo-dev] " Dan Meltzer
2005-11-01 2:19 ` Brian Harring
2005-11-01 2:20 ` Ciaran McCreesh
2005-11-01 2:25 ` Dan Meltzer
2005-11-01 2:37 ` Ciaran McCreesh
2005-11-01 3:02 ` Alec Warner
2005-11-01 3:21 ` pclouds
2005-11-01 2:16 ` [gentoo-dev] " Brian Harring
2005-11-01 2:24 ` Ciaran McCreesh
2005-11-01 2:39 ` Brian Harring
2005-11-01 8:25 ` Wernfried Haas
2005-11-01 11:56 ` Ciaran McCreesh
2005-11-01 9:21 ` [gentoo-dev] " Duncan
2005-11-01 12:21 ` Ciaran McCreesh
2005-11-01 10:00 ` [gentoo-dev] " Thierry Carrez
2005-11-01 10:45 ` Re[2]: " Jakub Moc
2005-11-01 12:13 ` Georgi Georgiev
2005-11-01 12:20 ` [gentoo-dev] " Dan Meltzer
2005-11-01 11:23 ` [gentoo-dev] " John Myers
2005-11-01 11:58 ` Ciaran McCreesh
2005-11-01 12:16 ` Thierry Carrez
2005-11-01 12:26 ` Ciaran McCreesh
2005-11-01 12:39 ` Re[2]: " Jakub Moc
2005-11-01 12:48 ` Ciaran McCreesh
2005-11-01 13:32 ` Re[2]: " Jakub Moc
2005-11-01 18:18 ` Ciaran McCreesh
2005-11-04 0:45 ` Nathan L. Adams
2005-11-04 0:56 ` Ciaran McCreesh
2005-11-04 1:05 ` Nathan L. Adams
2005-11-04 1:19 ` Ciaran McCreesh
2005-11-04 1:25 ` Nathan L. Adams
2005-11-06 19:41 ` [gentoo-dev] " R Hill
2005-11-01 13:34 ` [gentoo-dev] " Alec Warner
2005-11-01 13:43 ` Ciaran McCreesh
2005-11-01 14:07 ` Re[2]: " Paul de Vrieze
2005-11-02 20:49 ` Eldad Zack
2005-11-01 14:38 ` Chris Gianelloni
2005-11-04 0:54 ` Nathan L. Adams
2005-11-01 13:54 ` Andrej Kacian
2005-11-01 14:23 ` Christian Birchinger
2005-11-01 18:18 ` Ciaran McCreesh
2005-11-01 19:20 ` Andrej Kacian
2005-11-01 19:36 ` Alec Joseph Warner
2005-11-01 19:44 ` Grant Goodyear
2005-11-01 20:36 ` Andrej Kacian
2005-11-01 14:16 ` Paul de Vrieze
2005-11-01 18:26 ` Ciaran McCreesh
2005-11-01 16:22 ` Jan Kundrát
2005-11-01 18:25 ` Ciaran McCreesh
2005-11-01 21:57 ` Jan Kundrát
2005-11-01 22:16 ` Ciaran McCreesh
2005-11-02 1:29 ` Brian Harring [this message]
2005-11-02 0:52 ` Ciaran McCreesh
2005-11-02 11:26 ` Michiel de Bruijne
2005-11-02 14:19 ` Chris Gianelloni
2005-11-02 18:33 ` Jan Kundrát
2005-11-02 22:34 ` Ciaran McCreesh
2005-11-03 9:59 ` Jan Kundrát
2005-11-04 14:26 ` Xavier Neys
2005-11-04 18:39 ` Ciaran McCreesh
2005-11-04 21:30 ` Jan Kundrát
2005-11-04 21:33 ` Dan Meltzer
2005-11-05 0:13 ` Xavier Neys
2005-11-04 18:59 ` Danny van Dyk
2005-11-05 0:11 ` Xavier Neys
2005-11-05 1:30 ` Danny van Dyk
2005-11-03 13:54 ` Nathan L. Adams
2005-11-03 14:24 ` pclouds
2005-11-03 13:49 ` Nathan L. Adams
2005-11-03 19:16 ` Ciaran McCreesh
2005-11-04 0:29 ` Nathan L. Adams
2005-11-04 0:42 ` Ciaran McCreesh
2005-11-04 1:02 ` Nathan L. Adams
2005-11-04 1:11 ` Ciaran McCreesh
2005-11-04 1:24 ` Nathan L. Adams
2005-11-04 1:31 ` Ciaran McCreesh
2005-11-04 1:36 ` Nathan L. Adams
2005-11-04 1:46 ` Stephen P. Becker
2005-11-04 1:53 ` Nathan L. Adams
2005-11-04 2:30 ` Luis F. Araujo
2005-11-04 21:37 ` Jan Kundrát
2005-11-04 1:48 ` Ciaran McCreesh
2005-11-04 1:55 ` Nathan L. Adams
2005-11-04 3:06 ` Qian Qiao
2005-11-04 9:06 ` Paul de Vrieze
2005-11-04 14:21 ` Chris Gianelloni
2005-11-04 14:04 ` Chris Gianelloni
2005-11-04 16:05 ` Nathan L. Adams
2005-11-04 16:46 ` Chris Gianelloni
2005-11-04 17:08 ` Nathan L. Adams
2005-11-04 17:29 ` Daniel Ostrow
2005-11-04 17:29 ` Jon Portnoy
2005-11-08 3:16 ` Luca Barbato
2005-11-10 20:29 ` Stuart Herbert
2005-11-04 1:33 ` Brian Harring
2005-11-04 1:41 ` Nathan L. Adams
2005-11-04 1:51 ` Ciaran McCreesh
2005-11-04 1:43 ` Nathan L. Adams
2005-11-04 9:12 ` Paul de Vrieze
2005-11-04 12:32 ` Dan Meltzer
2005-11-04 13:34 ` Nathan L. Adams
2005-11-04 14:03 ` Chris Gianelloni
2005-11-04 1:43 ` Stephen P. Becker
2005-11-04 1:52 ` Nathan L. Adams
2005-11-04 9:15 ` Paul de Vrieze
2005-11-04 14:07 ` Chris Gianelloni
2005-11-04 1:50 ` Lance Albertson
2005-11-04 5:30 ` Nathan L. Adams
2005-11-04 21:50 ` Jan Kundrát
2005-11-06 22:11 ` Marius Mauch
2005-11-04 9:02 ` Paul de Vrieze
2005-11-04 13:38 ` Nathan L. Adams
2005-11-04 14:05 ` Paul de Vrieze
2005-11-04 15:55 ` Nathan L. Adams
2005-11-07 10:24 ` Paul de Vrieze
2005-11-04 14:19 ` Chris Gianelloni
2005-11-04 14:02 ` Chris Gianelloni
2005-11-04 15:58 ` Nathan L. Adams
2005-11-04 16:41 ` Chris Gianelloni
2005-11-04 16:57 ` Nathan L. Adams
2005-11-04 17:07 ` Lance Albertson
2005-11-04 17:15 ` Nathan L. Adams
2005-11-04 2:08 ` Grant Goodyear
2005-11-04 2:18 ` Lance Albertson
2005-11-04 5:44 ` Nathan L. Adams
2005-11-04 8:32 ` John Myers
2005-11-04 9:33 ` Paul de Vrieze
2005-11-04 10:15 ` Thierry Carrez
2005-11-04 13:18 ` Marius Mauch
2005-11-04 13:46 ` Nathan L. Adams
2005-11-04 14:27 ` Xavier Neys
2005-11-04 16:08 ` Nathan L. Adams
2005-11-04 8:21 ` Wernfried Haas
2005-11-04 9:55 ` Tres Melton
2005-11-04 16:35 ` Danny van Dyk
2005-11-04 16:52 ` Grobian
2005-11-04 17:10 ` Nathan L. Adams
2005-11-01 19:34 ` Stuart Herbert
2005-11-04 14:37 ` Lance Albertson
2005-11-04 18:48 ` Ciaran McCreesh
2005-11-04 19:12 ` Lance Albertson
2005-11-04 20:10 ` Ciaran McCreesh
2005-11-04 22:00 ` Jan Kundrát
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051102012959.GA16594@nightcrawler \
--to=ferringb@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox