From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LUBLm-00041O-Bp for garchives@archives.gentoo.org; Tue, 03 Feb 2009 02:49:22 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 04BB0E038C; Tue, 3 Feb 2009 02:49:21 +0000 (UTC) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.189]) by pigeon.gentoo.org (Postfix) with ESMTP id 8DB0AE038C for ; Tue, 3 Feb 2009 02:49:20 +0000 (UTC) Received: by ti-out-0910.google.com with SMTP id u5so757539tia.10 for ; Mon, 02 Feb 2009 18:49:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=hFCTj8ZinRmkZiKZ+btakeFj3LkpqQaVTqOfjQIIqKY=; b=ZRQRspMqASE8YT/Sd8F7c1hJBXDBGTR9IZ3UqlWK10liPGXUbMVbmLM93sjNlv9Git lxd1DJOjVUc3dLOy4z9e2PgCRwtP31RIN9viEjlJ+SF1RFi6Wq5ls3kv1FnDjTEJNo+y mdIzs6NWqPftgBSkAmhrtvoMQvN8ZagqaYl/U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=rjV5WpEcKz6rRjiLCCsiBd5530VWOQRpZH6eSPCSPzSOgGB9CZTNCR/grFUA7xeOYP Lpx4HlOLmr1z6hne4nCdAJe0F5I//uyMa31NOuWpWV3x5Df1H91IYCMmmjGcktd3jOj3 pXhGPciBACj+73C/8SDIXv/I1qa98ET7Plqf4= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Received: by 10.110.109.12 with SMTP id h12mr82706tic.54.1233629359592; Mon, 02 Feb 2009 18:49:19 -0800 (PST) In-Reply-To: <1233623862.31569.20.camel@localhost> References: <84250c9c0902010932m539beba1v19fac18fde4569d9@mail.gmail.com> <49876289.20306@gentoo.org> <200902022310.27612.reavertm@poczta.fm> <1233623862.31569.20.camel@localhost> Date: Tue, 3 Feb 2009 08:19:19 +0530 Message-ID: <8b4c83ad0902021849l2b856146h37c4ac91be3693f6@mail.gmail.com> Subject: Re: [gentoo-dev] Category tags on packages (was: new categories:) From: Nirbheek Chauhan To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 6955e3ba-12e0-4af1-8191-30ceb6fdef77 X-Archives-Hash: 1b7d923c340ff4ca449c44b10cc3afca On Tue, Feb 3, 2009 at 6:47 AM, Mart Raudsepp wrote: > I agree that a tag kind of approach would be nice. Someone should > actually do work on it. > Here's a random similar idea that I think might work well as a GLEP > proposition, that I was about to reply to a different subthread before > noticing this post: The simplest method I can think of is: ${PORTDIR}/tags/games/puzzles/ksudoku -> ../../../kde-base/ksudoku Yes, that's a symlink inside a new root-directory "tags" where "games" is a tag and "puzzles" is a sub-tag. If for some reason we get an explosion in sudoku games in portage (with weird names), we can make a new sub-tag "games/puzzles/sudoku/" ${PORTDIR}/tags/games/puzzles/sudoku/ksudoku -> ../../../../kde-base/ksudoku And this won't cause any problems since "higher" tags are inherited. Another usage of tagging could be marking packages as "deprecated" to ease out removal of old packages. ${PORTDIR}/tags/dying/amarok -> ../media-sound/amarok /me hides from the amarok lovers. Symlinking has the advantage of being a natural extension of our favourite flat-file db[1] to tagging. Having a new folder instead of symlinking inside other categories has the advantage of being backwards-compatible, and will also prevent an explosion in the number of categories in the root dir. FWIW, git (atleast) preserves symlinks in source trees, so once the move to git is complete, there will be no obstacles left in this thing's implementation ;) 1. That's the portage tree, btw :p -- ~Nirbheek Chauhan