1 |
On Tuesday 01 of November 2005 23:16 Ciaran McCreesh wrote: |
2 |
> | How will it handle GLSAs then? [1] |
3 |
> |
4 |
> gentoolkit != portage. |
5 |
|
6 |
To quote GLEP 14 [1]: |
7 |
|
8 |
"Once this tool is implemented and well tested it can be integrated into |
9 |
portage." |
10 |
|
11 |
> | > It's not a question of "what's wrong with XML?". It's a question of |
12 |
> | > "what advantage would we gain by strapping a giant flapping wet |
13 |
> | > kipper to a bicycle?". |
14 |
> | |
15 |
> | Or (a little bit rephrased) "why should we stick with consistent file |
16 |
> | formats". |
17 |
> |
18 |
> Uh, you'd have to invent a load of new XML DTD stuff for this anyway. |
19 |
|
20 |
Nope. We can build on *existing* GLSA DTD and on *existing* code. The downside |
21 |
is that Portage integration could be slower (same case as with `glsa-check`, |
22 |
AFAIK). |
23 |
|
24 |
> So you're not using a consistent file format at all, you're just using |
25 |
> a consistent unnecessary layer in the middle, which as a side effect |
26 |
> makes your files incompatible with every standard Unix tool ever |
27 |
> written. |
28 |
|
29 |
See below. |
30 |
|
31 |
> Using XML does not magically make things compatible. XML is just a |
32 |
> layer in the middle. Any tool processing XML files still has to worry |
33 |
> about however the DTD in question works. |
34 |
|
35 |
Just to clarify - I don't say that XML is The Best Way To Go (tm), I'm just |
36 |
pointing out another possibility of implementation which is *very* similar to |
37 |
the way GLSAs are processed. |
38 |
|
39 |
GLSA already contains stuff for marking items as valid only for given systems, |
40 |
for "injecting" them etc. Why don't use existing code? Why duplication? |
41 |
|
42 |
Have a look at the XML source of any GLSA. |
43 |
|
44 |
> You think XML magically makes things compatible? Then I suggest you |
45 |
> write a GuieXML to Docbook conversion tool, and see how many thousand |
46 |
> lines of XSLT it takes. All XML does is move the conversion and parsing |
47 |
> problems to a different, more complex level. |
48 |
|
49 |
I'm not familiar with DocBook, but I doubt I'll need thousands of lines of |
50 |
code. |
51 |
|
52 |
[1] http://www.gentoo.org/proj/en/glep/glep-0014.html |
53 |
|
54 |
WKR, |
55 |
-jkt |
56 |
|
57 |
-- |
58 |
cd /local/pub && more beer > /dev/mouth |