public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Wyatt Epp <wyatt.epp@gmail.com>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Are tags just sets?
Date: Mon, 27 Jun 2011 17:06:17 -0400	[thread overview]
Message-ID: <BANLkTinhVneTrJ-FZFzbXmrN-dWpCxtEjw@mail.gmail.com> (raw)
In-Reply-To: <BANLkTimcFUrh8PFUqR+CJq_yM9AMtaGswQ@mail.gmail.com>

On Mon, Jun 27, 2011 at 16:23, Rich Freeman <rich0@gentoo.org> wrote:
> I too feel that tags should be distinct from sets, for a bunch of reasons.
>
> Sets should really be something carefully controlled by the
> repository.  While I'm fine with having tags in the repository also,
> there is talk about giving users ways of supplying them as well.
>
Too late; /etc/portage/sets/

> Sets are generally used to tell the package manager to do something
> with a lot of packages at once.  I'm not sure there is much of a need
> to do this with tags, at least not in most of the use cases that have
> been suggested.
>
At the moment, yes, that's very true.  But that's a matter of lacking
tools, more than a necessarily orthogonal concept.  If you look at
sets (or categories), you find they describe attributes of packages.
For example, @world is "everything the user has merged".  The kde
overlay provides things like @kde-live, "kde packages built from
subversion" (it's more specific than ${PN} in this case, but generally
won't need to be).  I don't think anyone here believes this feature
exists without some tool support to glue it together.

> Maybe if we define multiple namespaces for tags we could move to using
> tags as dependencies or whatever, and those tags would be distinct and
> much more carefully defined and controlled.  However, I think this is
> more far-out and not the immediate goal.
>
I'd say that's rather unnecessary.  We should be wary of conflating
all metadata together in our heads: Tags are not a replacement for
structured key-value that we already have.  When we talk of tags,
we're talking about general purpose semantic descriptors that are only
loosely structured and benefit from emergent community standards.  We
already have the things that benefit from rigid definition.

> Sets might work, but they seem a bit like a hack...
>
Oh, absolutely.  But nearly anything is better than the current state
of affairs; if it falls apart, we find a different way.



  reply	other threads:[~2011-06-27 21:08 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-26  7:02 [gentoo-dev] Are tags just sets? Ciaran McCreesh
2011-06-26  8:41 ` Michał Górny
2011-06-26  8:43   ` Ciaran McCreesh
2011-06-26  8:54     ` Michał Górny
2011-06-26  9:00       ` Ciaran McCreesh
2011-06-26 12:48         ` Michał Górny
2011-06-27  5:51           ` Ciaran McCreesh
2011-06-26 11:33 ` Wyatt Epp
2011-06-26 12:17 ` Kent Fredric
2011-06-26 14:40 ` [gentoo-dev] " Duncan
2011-06-26 15:12 ` [gentoo-dev] " Maciej Mrozowski
2011-06-26 18:42   ` Kent Fredric
2011-06-27  5:49   ` Ciaran McCreesh
2011-06-27 18:21     ` Maciej Mrozowski
2011-06-28  6:19       ` Ciaran McCreesh
2011-06-27 20:23     ` Rich Freeman
2011-06-27 21:06       ` Wyatt Epp [this message]
2011-06-27 21:23         ` Rich Freeman
2011-06-27 21:39           ` Wyatt Epp
2011-06-28  6:19       ` Ciaran McCreesh
2011-06-28  3:26 ` Brian Harring
2011-06-28  3:43   ` Kent Fredric
2011-06-28  9:31     ` Brian Harring
2011-06-28 11:53   ` Peter Volkov
2011-06-28 15:33     ` Wyatt Epp
2011-06-28 18:52   ` Maciej Mrozowski

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=BANLkTinhVneTrJ-FZFzbXmrN-dWpCxtEjw@mail.gmail.com \
    --to=wyatt.epp@gmail.com \
    --cc=gentoo-dev@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