Gentoo Archives: gentoo-user

From: Francesco Turco <fturco@××××××××.fm>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] emerge sets syntax (@world vs. world)
Date: Fri, 14 Dec 2012 10:30:44
Message-Id: 1355480960.21813.140661165952309.5DE324DA@webmail.messagingengine.com
In Reply to: Re: [gentoo-user] emerge sets syntax (@world vs. world) by Francesco Turco
1 On Wed, Dec 12, 2012, at 19:22, Francesco Turco wrote:
2 > I'm still not convinced. emerge(1) man page for portage-2.1.11.37
3 > already contains the following command example:
4 > > emerge --update --newuse --deep @world
5 >
6 > And:
7 > > emerge --update @world
8 >
9 > But not a single example without the at sign.
10 >
11 > I also found this (old) blog post from Portage developer Zac Medico:
12 > http://blogs.gentoo.org/zmedico/2010/09/07/portage_2-1-9_release/. It
13 > says:
14 > > Package set names in emerge arguments have to be prefixed with @ (exceptions: ‘world’ and ‘system’ can be used without the prefix).
15 >
16 > So it seems that since version 2.1.9 @world and world (and @system and
17 > system) are just treated in the same way, but prefixing them with the at
18 > symbol is more future-proof.
19
20 I contacted Zac Medico and he said me:
21
22 > Yes, @world is more future proof. I don't plan to deprecate the old way
23 any time soon, but it could happen at some point in the future.
24
25 It seems pretty clear to me. Plain "world" is not wrong, but "@world" is
26 the way to go.