Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: hwoarang@g.o
Subject: Re: [gentoo-dev] Removing <herd>no-herd</herd>?
Date: Sat, 10 Sep 2011 15:53:27
Message-Id: 20110910175406.7f4ef3c9@pomiocik.lan
In Reply to: Re: [gentoo-dev] Removing no-herd? by Markos Chandras
1 On Sat, 10 Sep 2011 11:22:16 +0300
2 Markos Chandras <hwoarang@g.o> wrote:
3
4 > On 10/09/2011 11:15 πμ, Mike Gilbert wrote:
5 > > On Sat, Sep 10, 2011 at 4:04 AM, Markos Chandras
6 > > <hwoarang@g.o> wrote:
7 > >> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
8 > >>
9 > >> On 10/09/2011 11:01 πμ, Michał Górny wrote:
10 > >>> Hello,
11 > >>>
12 > >>> Is there a real reason to have <herd>no-herd</herd>? As I see
13 > >>> it, it's just an ugly hack which all programs have to learn and
14 > >>> hack for no benefit.
15 > >>>
16 > >> What is the problem with that? Why is it an ugly hack?
17 > >>
18 > >
19 > > To a simple program/user, it basically says that the package
20 > > belongs to a herd called "no-herd", rather than not belonging to
21 > > any herd.
22 > Well it is pretty obvious that no-herd means errr no herd.
23
24 To a programmer, 'pretty obvious' doesn't work.
25
26 > > For example, in IRC, willikins tries to look up the members of
27 > > "no-herd" when you do !meta -v because the bot lacks a special
28 > > exception for this odd-ball value.
29 > Just because willikins behaves like that does not justify the removal
30 > of this tag. God knows how many utilites and scripts are out there
31 > using the no-herd tag from metadata.
32
33 Please do not mix facts and religion. Facts are that no-herd isn't
34 really useful. If any utilities actually *rely* on it, they should be
35 fixed in the first place.
36
37 Portage, pkgcore and Paludis have no problems with no <herd/> tag.
38 The latter two don't even care about 'no-herd'; portage marks it as
39 a special value and well, that's it.
40
41 There's, of course, metadata.dtd too but repoman re-fetches it on
42 a regular basis so that's no problem.
43
44 --
45 Best regards,
46 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] Removing <herd>no-herd</herd>? "Michał Górny" <mgorny@g.o>