public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user]  Re: package.keywords
Date: Tue, 23 Jun 2009 17:05:05 +0200	[thread overview]
Message-ID: <200906231705.05344.alan.mckinnon@gmail.com> (raw)
In-Reply-To: <loom.20090623T141909-461@post.gmane.org>

On Tuesday 23 June 2009 16:40:51 James wrote:
> Alan McKinnon <alan.mckinnon <at> gmail.com> writes:
> > > This is my (mis)conception, although, as you have suggest,
> > > there are (gentoo) cultural norms that do suggest
> > > certain boolean operations should not be used,
> > > in say for example, package.keywords?
> >
> > That's more just a safeguard against forgetting you put it there than
> > anything else
>
> Good to know.
>
> > The vast majority of cases will use only the "=" operator or nothing.
> > That's so you unmask the one version you are interested in, not
> > everything from here on out, including every buggy, pre-release and just
> > plain broken version that happens to have an ebuild.
>
> So entries in package.keywords should just have the ~ in front of them?
> No point in using other boolean operations in the package.keywords file?

I personally have never used other operators. But Murphy says that as soon as 
I say there's no need for them, someone will come along and prove me wrong :-)

It's not a bad thing to have all operators be valid syntax, then you (the 
admin) can choose what you actually need

> > The use-case for no operator is mostly for the case where you run say a
> > stable box, and want the latest of a specific well-known package. You
> > might want the latest Qt for example. Another example is -svn ebuilds -
> > enlightenment is a case in point. The snapshots are always out of date,
> > latest svn is pretty stable, so one must unmask everything to get the
> > -9999 versions
>
> Ok, now you just tossed my little (pee brain) around quite significantly...
> Your saying that not operator will get me the -9999 (SVN) version
> of a package?And that this is most likely the most stable because
> the devs/hacks work on it often?

I cheat and just do this:

x11-wm/enlightenment * ~* **

But enlightenment is a special case. e17 has never had a release (snapshots 
that are known to build are not considered releases) and the majority of users 
simply check out and build the latest commits in svn. The way the ebuilds are 
versioned, enlightenment-9999 gets you the latest in svn.

That's a pretty normal gentoo convention

>
> If so then lets put it to the test.
> Maybee app-arch/xz-utils ?
> so my entry in /etc/portage/package.keywords should look like this:
>
> app-arch/xz-utils
> Nothing I tried in either package.keywords or package.unmask
> make the app-arch/xz-utils-9999 (SVN) version available.
>
>
> So what did I miss?

You need to put a mask after the package name - *, ~* or **. The default is to 
use your current ACCEPT_KEYWORDS.

* removes masking keywords if the package is stable on your arch
~* removes masking keywords if the package is stable on any arch
** removes masking keywords for the package unconditionally

-- 
alan dot mckinnon at gmail dot com



  parent reply	other threads:[~2009-06-23 15:06 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-22 13:58 [gentoo-user] package.keywords James
2009-06-22 14:08 ` Albert Hopkins
2009-06-22 14:18 ` [gentoo-user] package.keywords James
2009-06-22 15:14   ` Arttu V.
2009-06-22 15:51     ` James
2009-06-22 20:28       ` Alan McKinnon
2009-06-23 14:40         ` James
2009-06-23 14:54           ` Nikos Chantziaras
2009-06-23 15:28             ` James
2009-06-23 15:40               ` Nikos Chantziaras
2009-06-23 16:09                 ` [gentoo-user] ReSOLVED: package.keywords James
2009-06-23 18:42                   ` Alan McKinnon
2009-06-23 14:55           ` [gentoo-user] package.keywords Neil Bothwick
2009-06-23 15:36             ` James
2009-06-23 15:05           ` Alan McKinnon [this message]
2009-06-23 15:49             ` James
2009-06-23 18:39               ` Alan McKinnon
2009-06-22 22:17       ` Neil Bothwick
2009-06-22 23:17         ` Dale
2009-06-22 23:45           ` Neil Bothwick
2009-06-23  6:42           ` Alan McKinnon
2009-06-23  6:51             ` Dale
2009-06-23  7:33               ` Neil Bothwick
2009-06-23  7:38                 ` Dale
2009-06-23  8:27                   ` Alan McKinnon
2009-06-23  9:16                     ` Weitao Sun
2009-06-23  9:18                     ` Dale
2009-06-23 10:16                     ` Neil Bothwick
2009-06-23 10:51       ` Arttu V.

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=200906231705.05344.alan.mckinnon@gmail.com \
    --to=alan.mckinnon@gmail.com \
    --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