From: Francesco Turco <fturco@fastmail.fm>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] emerge sets syntax (@world vs. world)
Date: Wed, 12 Dec 2012 19:22:54 +0100 [thread overview]
Message-ID: <1355336574.9959.140661165206885.4F4490E5@webmail.messagingengine.com> (raw)
In-Reply-To: <20121212151856.38dea5a2@khamul.example.com>
On Wed, Dec 12, 2012, at 14:18, Alan McKinnon wrote:
> You are wrong, the docs and the man pages are correct.
>
> The problem is that the word "set" is used in two different ways, one
> loosely and the other with reference to an exact construct.
>
> portage-2.2 introduced the concept of "a defined set" under user
> control. It's a list of packages that portage treats as a whole chunk
> of things together and the user can define what he wants in a set and
> give it a name. When used with emerge, sets like this must have an "@"
> prefix so portage can tell them apart from regular packages. Portage
> also dynamically creates sets internally that work the same way, things
> like @world and @system and @preserved-rebuild. You can use these too,
> you just can't define them or modify them directly.
>
> The portage man page has unfortunately also used the word "set" for a
> different reason. Portage has always had a concept of "world" (not
> @world) and "system" (not @system) which were really "just a bunch of
> stuff that happens to pop out of portage because it's hard-coded that
> way". And the docs say things like
>
> emerge world
>
> and call the "world" part "the world set".
>
> "Set" here is a homonym - two completely different words with different
> meanings that just happen to be spelled and sound the same.
I'm still not convinced. emerge(1) man page for portage-2.1.11.37
already contains the following command example:
> emerge --update --newuse --deep @world
And:
> emerge --update @world
But not a single example without the at sign.
I also found this (old) blog post from Portage developer Zac Medico:
http://blogs.gentoo.org/zmedico/2010/09/07/portage_2-1-9_release/. It
says:
> Package set names in emerge arguments have to be prefixed with @ (exceptions: ‘world’ and ‘system’ can be used without the prefix).
So it seems that since version 2.1.9 @world and world (and @system and
system) are just treated in the same way, but prefixing them with the at
symbol is more future-proof.
next prev parent reply other threads:[~2012-12-12 18:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-12 11:53 [gentoo-user] emerge sets syntax (@world vs. world) Francesco Turco
2012-12-12 13:18 ` Alan McKinnon
2012-12-12 14:53 ` Randy Barlow
2012-12-12 18:22 ` Francesco Turco [this message]
2012-12-14 10:29 ` Francesco Turco
2012-12-12 14:10 ` Michael Orlitzky
2012-12-12 15:03 ` Bruce Hill
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=1355336574.9959.140661165206885.4F4490E5@webmail.messagingengine.com \
--to=fturco@fastmail.fm \
--cc=gentoo-user@lists.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