From: Brian Harring <ferringb@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Re: New category proposal
Date: Wed, 11 May 2005 00:09:20 -0500 [thread overview]
Message-ID: <20050511050920.GC17034@exodus.wit.org> (raw)
In-Reply-To: <20050511042745.GA22277@ols-dell.gg3.net>
On Wed, May 11, 2005 at 01:27:46PM +0900, Georgi Georgiev wrote:
> As to whether the categories are good or not... think about it. If they
> were good, would we still be seeing packages moving around the tree?
> That's why I think that multiple categories are a necessity. Unless of
> course, packages stop getting moved around and Gentoo can gurantee that
> all packages will stay at their current location.
Keep in mind the tree is in constant flux, new packages added,
packages removed, etc. Of course there will be a bit of
reorganization, unless we add every possible category under the sun
(even then, $10 on some weird esoteric category being requested
shortly after such a change) ;)
Point I'm getting at is that the need for a better groupping occurs
depending on the packages being added.
One thing that just clicked in the skull on why flat-tree has issues;
currently it's possible to have a package with the same name, yet a
differing category (app-vim/sudo vs app-admin/sudo).
Since our tree layout is based upon category, if you tried shifting
the focus of it to packages_in anyway_, you would explicitly disallow
same name packages, different category. Doesn't matter how you
structure the tree, if you do lookup into the tree based on package,
not category, you disallow same named packages.
> What about the Mozilla suite. What in the world is it doing in
> www-client? After all, the Mozilla suite is
> - a www browser (www-client)
> - a mail client (mail-client)
> - a calendar
> - an html composer
> - an irc client (net-irc)
>
> Might as well go to net-misc :-/
This is why I commented that there are exceptions, question is if the
exceptions are annoying enough the level of change required, is
implemented (I posit no, but that's cause I see issues w/ the
resulting namespace, and am lazy).
> - I hate the moves of packages between categories which causes enough
> problems as it is. I also find the arguments of where to put what
> pointless. Who cares if it is mail-client/mutt or net-mail/mutt as
> long as it stays in one place and is accessible by its name "mutt". If
> you think that mail-client is more descriptive than net-mail,
The category labelling of it matters for those who go groking for an
app to use, but don't know the possibilities. Example: "well, lets
see what mail clients exist, and pick one of 'em for use based upon
the description, since I've had it with my current mail client"...
> then add
> "keywords" (for those who hate the idea of multiple categories) to the
> metadata of each package and let emerge -s search by keyword. Does
> "mutt" not belong to net-mail? It does, but mail-client is better.
> Still, that is no reason to remove its relation to "net-mail". Cache
> the keyword information to make the search as fast as possible and
> you're done with the searchability part. You can now safely forget
> about this thing called "categories" as they become irrelevant, and
> hopefully never move another package.
> - I also hate being unable to find exactly the package that I need right
> away. I want to check mutt's ebuild... cd /usr/portage/... what next?
> Is it at the same place that I remember it was the last time I
> checked? Do I *have* to know what category it belongs to? Of course I
> can do "cd /usr/portage/*/mutt", but shell completion on the mutt part
> won't work on this one. Mutt's not quite the example for the necessity
> of completions, but it gets worse with longer names like
> mozilla-firefox-bin.
Re: yeah, it's fricking annoying, agreed. I'd state a faster tool is preferable,
rather then a reorganization (imo).
See above about why flattening the tree so it's package-centric rather
then category-centric has issues. The consequence is that you
have to start moving category specific metadata into the package
name when valid conflicts occur- the sudo/vim example above, would
require vim-sudo or vim-plugins-sudo.
Debian does this, they (ab|)use a flattened namespace. I strongly
dislike it, even compared to the consequences of our N category
approach. Granted they lack (afaik) category data, but the
consequences of flattening the namespace still stands imo. :)
So... next possibility is doing the additional categories via
extra metadata (xyz is *primarily* cat a, but also is cat b and c).
Complaints over speed would easily triple if this was added; if you
don't find a package within a (on disk dir) categories namespace, you
have to walk the metadata for *all* ebuilds to verify that there isn't
another package that has allegance to that category. Yes, this can be
cached, but it is a pita and is added complexity (in other words,
gains needs to offset this extra cost).
> - Personal overlays. I think this a point that's clear enough. Gentoo
> devs may have scripts that keep the tree in sync after the
> loved-by-all move of a package, but that doesn't apply to us, mere
> mortals.
Got me there. Would need an active translation layer, cpv was this,
is now that, to make overlays a bit friendlier.
Note I'm commenting on -overlays-, not -repositories- (bmg's stuff is
effectively a repository). Translation bit might apply there also,
but that's getting into a terminology discussion... :)
> Disclaimer: I did not intend to be offensive even if at times I seem to.
> I was not being sarcastic either.
Sarcasm goes with the territory, wouldn't worry- you're making your
points, not relying on sarcasm/offense to be your points.
The former just adds to the fun. ;)
~Brian
--
gentoo-dev@gentoo.org mailing list
next prev parent reply other threads:[~2005-05-11 5:09 UTC|newest]
Thread overview: 64+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-08 13:17 [gentoo-dev] New category proposal Alin Nastac
2005-05-08 13:47 ` Lars Weiler
2005-05-08 17:57 ` [gentoo-dev] " R Hill
2005-05-08 20:46 ` [gentoo-dev] Re: New category proposal, [gentoo-dev] Alin Nastac
2005-05-08 23:53 ` Mike Frysinger
2005-05-09 12:16 ` [gentoo-dev] Henrik Brix Andersen
2005-05-09 13:21 ` [gentoo-dev] Alin Nastac
2005-05-09 13:34 ` [gentoo-dev] Henrik Brix Andersen
2005-05-09 14:01 ` [gentoo-dev] New category proposal Alin Nastac
2005-05-09 14:56 ` Henrik Brix Andersen
2005-05-09 15:05 ` Peter Cech
2005-05-09 19:05 ` [gentoo-dev] Sami Samhuri
2005-05-08 22:29 ` [gentoo-dev] Re: New category proposal, [gentoo-dev] W.Kenworthy
2005-05-08 23:01 ` Collins Richey
2005-05-08 23:50 ` Lars Weiler
2005-05-09 0:19 ` Georgi Georgiev
2005-05-09 17:07 ` [gentoo-dev] Re: New category proposal Aron Griffis
2005-05-10 9:02 ` Martin Schlemmer
2005-05-10 14:27 ` [gentoo-dev] " Duncan
2005-05-10 15:05 ` Alec Warner
2005-05-10 15:36 ` Stephen Bennett
2005-05-10 17:25 ` [gentoo-dev] " Duncan
2005-05-10 17:34 ` Stephen P. Becker
2005-05-10 17:44 ` Stephen Bennett
2005-05-10 9:28 ` [gentoo-dev] " Martin Schlemmer
2005-05-10 11:04 ` Georgi Georgiev
2005-05-11 3:30 ` Brian Harring
2005-05-11 4:27 ` Georgi Georgiev
2005-05-11 5:09 ` Brian Harring [this message]
2005-05-11 5:59 ` [gentoo-dev] " Duncan
2005-05-11 6:50 ` Brian Harring
2005-05-11 10:03 ` [gentoo-dev] " Duncan
2005-05-11 10:35 ` Duncan
2005-05-11 7:10 ` [gentoo-dev] " Georgi Georgiev
2005-05-11 7:23 ` Georgi Georgiev
2005-05-11 10:13 ` [gentoo-dev] " Duncan
2005-05-11 15:41 ` [gentoo-dev] " Ciaran McCreesh
2005-05-11 17:21 ` Georgi Georgiev
2005-05-11 18:06 ` Ciaran McCreesh
2005-05-11 19:01 ` Georgi Georgiev
2005-05-11 19:10 ` Ciaran McCreesh
2005-05-11 19:37 ` Brian Harring
2005-05-11 22:58 ` Stroller
2005-05-12 9:11 ` Patrick Lauer
2005-05-12 19:01 ` Stroller
2005-05-12 11:53 ` Alec Warner
2005-05-12 23:15 ` Brian Harring
2005-05-14 12:46 ` Jan Kundrát
2005-05-11 7:46 ` [gentoo-dev] " Kevin F. Quinn
2005-05-11 8:40 ` Brian Harring
2005-05-11 9:01 ` Georgi Georgiev
2005-05-11 10:42 ` Brian Harring
2005-05-11 15:11 ` Alec Warner
2005-05-11 15:33 ` Brian Harring
2005-05-11 17:32 ` Georgi Georgiev
2005-05-12 11:37 ` Kevin F. Quinn
2005-05-10 9:35 ` Martin Schlemmer
2005-05-16 20:28 ` [gentoo-dev] multiple categories for a package (was: [gentoo-dev] Re: New category proposal) David Klaftenegger
2005-05-16 20:45 ` Brian Harring
2005-05-17 8:38 ` [gentoo-dev] multiple categories for a package David Klaftenegger
2005-05-17 9:14 ` Jan Kundrát
2005-05-17 8:26 ` Marius Mauch
2005-05-17 10:38 ` Alin Nastac
2005-05-17 21:10 ` Marius Mauch
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=20050511050920.GC17034@exodus.wit.org \
--to=ferringb@gentoo.org \
--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