Gentoo Archives: gentoo-dev

From: Michael Kohl <citizen428@××××××.org>
To: gentoo-dev@g.o
Subject: [gentoo-dev] (FS) Attributes for Ebuilds?
Date: Thu, 05 Jun 2003 06:48:02
Message-Id: 20030605144733.317a7b1c.citizen428@cargal.org
1 Hi all!
2
3 Following all the recent discussion about categories in the Portage
4 tree, having packages in several categories at once, defining key words
5 for packages to ease finding a similar package an idea came to my mind.
6
7 Would it be possible to use filesystem attributes for Ebuilds (of course
8 only if the FS supports this, maybe a local useflag can do the trick)?
9 This would allow users to build categories "on the fly" using a kind of
10 live query mechanism.
11
12 People familiar with BeFS most probably know what I'm talking about, for
13 anyone else just a little info:
14
15 This would allow to store metadata in text form for each ebuild as a
16 filesystem attribute. Therefore your filesystem kind of acts like a
17 database. Using this mechanism you also could add your own attributes
18 (e.g. "try_this" for ebuilds you're interested in testing sometime) and
19 then list all ebuilds having this attribute.
20
21 Also the setup part of an Ebuild could set an attribute like "installed"
22 in pkg_postinst, so it would be even easier to find all the packages
23 installed on your system. Using live queries (e.g. in a nice GUI) this
24 list would change immediately after you emerged a new package. Also
25 finding applications similar to each other would be quite easy, as you
26 can store quite a lot of metadata (e.g. mp3, ogg, media, player, etc.
27 for the xmms ebuild). Sure this could be done in various other ways, but
28 using FS attributes just sounds like a good way of doing it.
29
30 Comments (especially about the various FS and their usefullnes for this
31 purpose), ideas, thoughts anyone?
32
33 Michael
34
35 P.S. Sorry, the thoughts in this mail aren't all that well organized or
36 explained, I'm not feeling to good today...
37
38 --
39 www.cargal.org
40 GnuPG-key-ID: 0x90CA09E3
41 Jabber-ID: citizen428 [at] cargal [dot] org
42 Registered Linux User #278726

Replies

Subject Author
Re: [gentoo-dev] (FS) Attributes for Ebuilds? Joseph Hardin <jhlazer@×××××××.net>
Re: [gentoo-dev] (FS) Attributes for Ebuilds? Georgi Georgiev <chutz@×××.net>
Re: [gentoo-dev] (FS) Attributes for Ebuilds? Marius Mauch <genone@×××××××××××××.net>
[gentoo-dev] Re: (FS) Attributes for Ebuilds? ross girshick <rossgir@×××××××××××.edu>