* [gentoo-portage-dev] user-defined classes
@ 2004-02-20 19:17 Soren Telfer
2004-02-22 8:59 ` Brian
0 siblings, 1 reply; 4+ messages in thread
From: Soren Telfer @ 2004-02-20 19:17 UTC (permalink / raw
To: gentoo-portage-dev
Hello All,
I've been a gentoo-user for a couple of years now--I like
it, kinda evangelize it, etc.
I've had a hard time figuring out the status of user-defined classes
under portage, e.g.
% emerge -uv my-class
If someone could apprise me of the situation and/or point me in the
right direction, I'd be much abliged.
Thanks,
Soren
--
Soren Telfer <telfer@umich.edu>
Department of Physics OCS, University of Michigan
--
gentoo-portage-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-portage-dev] user-defined classes
2004-02-20 19:17 [gentoo-portage-dev] user-defined classes Soren Telfer
@ 2004-02-22 8:59 ` Brian
2004-02-22 17:05 ` Max Kalika
2004-02-23 3:10 ` Drake Wyrm
0 siblings, 2 replies; 4+ messages in thread
From: Brian @ 2004-02-22 8:59 UTC (permalink / raw
To: gentoo-portage-dev
I have an idea for the user-defined-class. Portage could be given 2
new option's:
--nonworld, to exclude a package from being included in the world file
when specifically emerged. Instead of manually editing the world file
afterwards.
--include {world,system,myclass1,myclass2,etc.} for portage to add the
package to whichever list(s) are specified. If myclass is not found,
then create it and add the pkg. The devs may of course want to exclude
world(duplication) and system from the acceptable list(used as known
values for example).
--
Brian <dol-sen@telus.net>
--
gentoo-portage-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-portage-dev] user-defined classes
2004-02-22 8:59 ` Brian
@ 2004-02-22 17:05 ` Max Kalika
2004-02-23 3:10 ` Drake Wyrm
1 sibling, 0 replies; 4+ messages in thread
From: Max Kalika @ 2004-02-22 17:05 UTC (permalink / raw
To: gentoo-portage-dev
[-- Attachment #1: Type: text/plain, Size: 480 bytes --]
Quoting Brian <dol-sen@telus.net>:
> --nonworld, to exclude a package from being included in the world file
> when specifically emerged. Instead of manually editing the world file
> afterwards.
>From emerge(1):
--oneshot
Emerge as normal, but do not add the packages to the world pro-
file for later updating.
--
max kalika
.. public key: http://www.gentoo.org/~max/max.asc
.. fingerprint: 2D59 74B5 8785 3C22 74F2 87B0 6DD4 E810 CBC3 AB79
[-- Attachment #2: Type: application/pgp-signature, Size: 344 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-portage-dev] user-defined classes
2004-02-22 8:59 ` Brian
2004-02-22 17:05 ` Max Kalika
@ 2004-02-23 3:10 ` Drake Wyrm
1 sibling, 0 replies; 4+ messages in thread
From: Drake Wyrm @ 2004-02-23 3:10 UTC (permalink / raw
To: gentoo-portage-dev
[-- Attachment #1: Type: text/plain, Size: 1237 bytes --]
On Sun, 2004-02-22, 00:59:16 -0800, in <1077440356.1407.158.camel@big_squirt.dol-sen.ca>, Brian <dol-sen@telus.net> wrote:
> --include {world,system,myclass1,myclass2,etc.} for portage to add the
> package to whichever list(s) are specified. If myclass is not found,
> then create it and add the pkg. The devs may of course want to exclude
> world(duplication) and system from the acceptable list(used as known
> values for example).
Bonzer idea, mate! Though as a semantics suggestion, I propose
"--add". Portage and the Gentoo initscripts are sufficiently similar
that we may want to maintain the consistency.
In fact, such a change might help to solve some of the FHS issues which
were brought up recently.
/var/db/pkg/ => /var/lib/portage/class/<classname>/
/var/cache/edb/world => /var/lib/portage/class/world/contents
/etc/make.profile/packages => /var/lib/portage/class/system/contents
This may be a difficult change to make right away, due to the many
hard-coded references to /var/db, but is definitely worth keeping in mind
for portage-ng.
--
Batou: Hey, Major... You ever hear of "human rights"?
Kusanagi: I understand the concept, but I've never seen it in action.
--Ghost in the Shell
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-02-23 3:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-20 19:17 [gentoo-portage-dev] user-defined classes Soren Telfer
2004-02-22 8:59 ` Brian
2004-02-22 17:05 ` Max Kalika
2004-02-23 3:10 ` Drake Wyrm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox