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 1JMtRM-0004yk-4y for garchives@archives.gentoo.org; Wed, 06 Feb 2008 23:12:28 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 96CCEE0403; Wed, 6 Feb 2008 23:12:26 +0000 (UTC) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by pigeon.gentoo.org (Postfix) with ESMTP id 4BC4BE0403 for ; Wed, 6 Feb 2008 23:12:26 +0000 (UTC) Received: by ug-out-1314.google.com with SMTP id j3so551456ugf.49 for ; Wed, 06 Feb 2008 15:12:25 -0800 (PST) Received: by 10.78.161.4 with SMTP id j4mr11824018hue.10.1202339544512; Wed, 06 Feb 2008 15:12:24 -0800 (PST) Received: by 10.78.46.19 with HTTP; Wed, 6 Feb 2008 15:12:24 -0800 (PST) Message-ID: Date: Wed, 6 Feb 2008 15:12:24 -0800 From: "Alec Warner" Sender: antarus@scriptkitty.com To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] new portage categories In-Reply-To: <92e3e00f0802041223j582f93bbq7cbb64bd42deb9f2@mail.gmail.com> 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 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <92e3e00f0802040935j5414a163y3455c1e0c3cd7422@mail.gmail.com> <20080204184137.GA3887@comet.science.oregonstate.edu> <92e3e00f0802041111m3d838158gd9b6fbd7f7818d83@mail.gmail.com> <20080204200616.GB3887@comet.science.oregonstate.edu> <92e3e00f0802041223j582f93bbq7cbb64bd42deb9f2@mail.gmail.com> X-Google-Sender-Auth: 9c5fc87e0b1a6075 X-Archives-Salt: 04ecc2bb-4fba-488e-96bd-206d8ea5d390 X-Archives-Hash: aad8b7799beac40ce3c38a3235dfd3c5 On 2/4/08, Jonas Bernoulli wrote: > On 2/4/08, Donnie Berkholz wrote: > > On 20:11 Mon 04 Feb , Jonas Bernoulli wrote: > > > Thinking about it again I would say tags and categories just fulfill > > > different purposes. Tags can not replace categories but might be a > > > useful extension to categories for the tasks I described, not more not > > > less. They are not better or worse, just different:) > > > > Why don't you think they can replace categories? > > Quick answer: Because there are packages with the same name in > different categories. How would tags deal with that? Techincally you could enforce UNIQUE(pkg,[tags]), I agree thats a poor constraint though ;) > > Long answer: Well maybe there is a way. But I think that it would > probably take a long time to make such a change. Technically tags > could probably replace categories but then their would be no definite > "full" name for that package anymore. > > Someone calls it foo/app and someone bar/app, and since there is also > fuu/app which is a different application but with the same name, > nobody would no for sure about package is being taked about without > checking if his beloved foo/app is the same as bar/app the other guy > is talking about. Also how do you sort the packages in the tree? all > in one directory?! every package in the directories of each tag it > belongs to using hardlinks? Filtering packages on tags would be very difficult without a metadata cache for metadata XML as you would need to pull down each package's metadata.xml to determine if it meets your filtering requirements. Excluding individual packages wouldn't be that hard although I imagine there may be problems with the length of the rsync command line if your filtering is too aggressive ;) > > -- Jonas > -- > gentoo-dev@lists.gentoo.org mailing list > > -- gentoo-dev@lists.gentoo.org mailing list