Gentoo Archives: gentoo-dev

From: tom@×××××××××××××××××××××.uk
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Yet another few ideas for Portage
Date: Wed, 14 Apr 2004 21:17:14
Message-Id: 20040414211708.GA7339@orwell
1 Hey all,
2
3 This is just a few ideas I've been bouncing around some of the ops on
4 #gentoo. This is what I have so far:
5
6 - "I depend on X package with Y USE flag" functionality. Think of
7 problems with packages that need certain support in imlib, and the
8 mozilla/epiphany problem. It's a long way off because new syntax would
9 be needed, and as Genone told me, "new syntax -> new problems -> more
10 testing" :)
11
12 - portage.cflags. As most know, some packages perform better with some
13 CFLAGS. This might create problems in the sense that people will just
14 filter out bad flags here, instead of posting them in bugzilla so they
15 can be filtered by the ebuild itself. Still, it's an idea :)
16
17 - equery shorthand options. If equery is scheduled to replace qpkg and
18 etcat, I really think it needs to have short (-x) style options for
19 its actions, for the sake of making it slightly quicker. Typing out
20 "-b" instead of "belongs" makes a big difference.. of course, this
21 might conflict or complicate the syntax as it stands. Maybe shortening
22 the commands to single letters without a preceding hyphen would be
23 better?
24
25 - equery could do multiple commands on one line. Because the syntax is
26 already clearly defined (equery global-opts command local-opts
27 pkgspec), surely this could be extended to do more complex things,
28 like equery global-opts command1 local-opts1 pkgspec1 command2
29 local-opts2 pkgspec2 and so on. On top of this, there could be an
30 option to load commands from a file like sed or awk, without having to
31 do something like "equery `cat /some/equery-script`".
32
33 I'm not sure if these are worth filing enh bugs about, so I'd like it if
34 people could let me know of any opinions on these.
35
36
37 Thanks,
38 Tom
39
40 --
41 Tom Martin
42
43 GPG Public key: http://edgeoftheinterweb.org.uk/files/tom-gpg-public.txt
44 Key fingerprint = 055F A0F4 D4C6 AD9E 40E8 2EAC 8F92 A284 B5C4 FF89
45
46 IRC: slarti` ~ irc.freenode.net
47 JID: slartibartfast@××××.org

Replies

Subject Author
Re: [gentoo-dev] Yet another few ideas for Portage Jon Portnoy <avenj@g.o>
Re: [gentoo-dev] Yet another few ideas for Portage tom@×××××××××××××××××××××.uk