From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j4GKi3JA007408 for ; Mon, 16 May 2005 20:44:03 GMT Received: from adsl-67-39-48-193.dsl.milwwi.ameritech.net ([67.39.48.193] helo=exodus) by smtp.gentoo.org with esmtpa (Exim 4.43) id 1DXmRf-0007tf-Tn for gentoo-dev@lists.gentoo.org; Mon, 16 May 2005 20:44:12 +0000 Date: Mon, 16 May 2005 15:45:09 -0500 From: Brian Harring To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] multiple categories for a package (was: [gentoo-dev] Re: New category proposal) Message-ID: <20050516204509.GD3292@exodus.wit.org> References: <427E116E.9080105@gentoo.org> <1115591359.19595.124.camel@bunyip> <20050508235004.GL6541@celeborn.wh-og.hs-niederrhein.de> <20050509001920.GC12085@ols-dell.gg3.net> <42890280.9010008@klaftenegger.de> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42890280.9010008@klaftenegger.de> User-Agent: Mutt/1.5.8i X-Archives-Salt: f44040f5-e938-4224-8685-f71e4f3846f0 X-Archives-Hash: 7bbb1a5ef25d081e37ab29b0a55b72e9 On Mon, May 16, 2005 at 10:28:48PM +0200, David Klaftenegger wrote: > Georgi Georgiev wrote: > > Would it be inappropriate to start bitching (again) about a flat tree > > where each package can go in multiple categories? > > So now, that I've read all messages in this thread, I needed a point to > start at.. > I guess my approach isn't a way to go, but I can't find the reason for > it being bad, so: > Why not just create a symlink to the package in the category it *also* > should be in? > > For example, net-mail/mutt could be a symlink to ../mail-client/mutt, > allowing to find it in both categories. > > Ok, portage would have to do extra work, as it would have to check > wether a package is a symlink or not, ignore "symlink-packages" when it > comes to ambiguous naming, count them as already installed if the > package it points to is already installed and so on... > quite some work, but from my point of view less than some other solutions. > > So I hope you understand what I mean, you may now hang me for this > proposal, but if you do please tell me why it is not a good way to allow > multiple categories per package ;-) It's a better approach then tagging it into the metadata imo, since it forces unique cat/package still. Won't play nice if the tree's fs doesn't like symlinks though (fat)... Also doesn't seem incredibly useful to me, although keep in mind I'm the lazy bugger who thinks what's there currently suffices :) ~brian -- gentoo-dev@gentoo.org mailing list