From: George Shapovalov <georges@its.caltech.edu>
To: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] Parsable list of all use variables.
Date: Fri, 10 May 2002 12:31:49 -0700 [thread overview]
Message-ID: <200205101231.49645.georges@its.caltech.edu> (raw)
In-Reply-To: <Pine.LNX.4.21.0205100937270.17076-100000@lucifer.evil-core.com>
> As I said, I've already looked at it. And the format would be fine if
Sorry, I did not notice that mentioned in original email.
> it was actually enforced. Here are some outliars that I have found.
I've corrected these two (added description to trusted and got rid of \n for
voodoo3).
> That eliminates being able to tokenize based on newlines. Basically
> use.desc is really only useful for users. My suggestion would be to
> either clean this file up to conform to some form of guideline, or to
> make a mirror copy (ie _not_ to remove but to add in addition to) an
> XML file with the same information.
I would like to keep file format as simple as possible. It might be needed at
some point to have a very basic function implemented that would be desirable
in barebones system. It is not a good idea to have to include XML parsers
just because one file needs to be parsed (thats the same reason as the one
behind plain-text human readabla/easily parsable format for config files for
majority of the apps).
I think it is just a matter of enforcing certain use.desc format. As it stands
now it can be parsed based on " - " key. I am going to raise this issue and
suggest another separator (dash is used quite frequently in package names and
some times in description). What do you think about "|"? Also ":" might be
more logical, but it can naturally occure in description.
> I've already written a script that can mine out all optional use
> statements. Adding the functionality to dynamically go backwards
> through the dependancy tree would be trivial.
Nice, could you submit this script to bugs.gentoo.org?
> I just wanted to get a sense from all of you out there as to what you
> would vote for as a better standard for keeping a separate list with
> this information, which I or anyone can maintain. It would be really
I do not object the existence of such list. However I think it should not be
hand-maintained. Since you will have a script which will fish for referenced
use variables, better approach would be to have a tool that could generate
this back-reference file per request. My experience with duplicating
information is that things go insane if there is no defined authoritative
entity and in this case collection of ebuilds clearly should take precedence.
BTW similar tool can be used to check validity of use.desc.
> useful for a few scripts I've been meaning to write, such as a GTK+
> based auto USE var generator. And a "what options are available to me
> in this ebuild before I install it" script. I'm also sure others
Neat, could you please create an appropriate bug on bugzilla, so things get
registerd and your scripts will not get lost? I think at least some of them
should make their way into gentoolkit.
George
next prev parent reply other threads:[~2002-05-10 19:32 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-09 16:06 [gentoo-dev] Parsable list of all use variables Bob Phan
2002-05-09 20:27 ` Francisco Gimeno
2002-05-09 20:50 ` Francisco Gimeno
2002-05-09 17:16 ` Bob Phan
2002-05-09 21:25 ` Francisco Gimeno
2002-05-09 22:13 ` George Shapovalov
2002-05-10 9:47 ` Bob Phan
2002-05-10 19:31 ` George Shapovalov [this message]
2002-05-10 16:50 ` Bob Phan
2002-05-10 21:50 ` George Shapovalov
2002-05-11 23:58 ` Karl Trygve Kalleberg
2002-05-13 13:31 ` Bob Phan
2002-05-13 22:21 ` George Shapovalov
2002-05-13 14:14 ` Bob Phan
2002-05-13 18:19 ` Karl Trygve Kalleberg
2002-05-10 18:10 ` [gentoo-dev] ebuilds & suid question Alastair Nicol
2002-05-10 16:50 ` Grant Goodyear
2002-05-10 8:31 ` [gentoo-dev] Parsable list of all use variables Karl Trygve Kalleberg
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=200205101231.49645.georges@its.caltech.edu \
--to=georges@its.caltech.edu \
--cc=gentoo-dev@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