From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MF6PM-0001Fu-HZ for garchives@archives.gentoo.org; Fri, 12 Jun 2009 13:03:00 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 27077E02A8; Fri, 12 Jun 2009 13:02:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id E7C97E02A8 for ; Fri, 12 Jun 2009 13:02:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 122706633A for ; Fri, 12 Jun 2009 13:02:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -1.483 X-Spam-Level: X-Spam-Status: No, score=-1.483 required=5.5 tests=[AWL=0.049, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1, RCVD_NUMERIC_HELO=2.067] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fYMHjJq2Wrei for ; Fri, 12 Jun 2009 13:02:49 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 94E6965CD6 for ; Fri, 12 Jun 2009 13:02:27 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MF6Ob-00058x-3j for gentoo-dev@gentoo.org; Fri, 12 Jun 2009 13:02:13 +0000 Received: from 91.85.175.191 ([91.85.175.191]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Jun 2009 13:02:13 +0000 Received: from slong by 91.85.175.191 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Jun 2009 13:02:13 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-dev@lists.gentoo.org From: Steven J Long Subject: [gentoo-dev] Re: Inviting you to project "PackageMap" Date: Fri, 12 Jun 2009 14:00:23 +0100 Organization: Friendly-Coders Message-ID: <1722869.hSdHM5OqYb@news.friendly-coders.info> References: <4A3206DA.3090907@hartwork.org> <15e53e180906120130md68cd94nba61fa5560c73eb4@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=utf-8 X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 91.85.175.191 Sender: news Cc: packagekit@lists.freedesktop.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: e3597c17-4f7b-4766-9b27-4c9da784d8d7 X-Archives-Hash: 7a5599c89955696f179adf6f7b50c6d6 Richard Hughes wrote: > Sebastian Pipping wrote: >> To do such mapping we need code (or a "service") that does the mapping >> for us and base of collected data that the service can operate on. =C2= =A0Both >> of these is project "PackageMap" > You might as well use Gentoo's version specification for your internal format, as it's the most comprehensive. The most you need to add is debian epochs. > I'm also worried that a package manager has to read in and parse > thousands of small files. Why did you decide to write each project as > a single xml file? > > I agree with the concept, but not the implementation. All you're > trying to provide is a packagename <-> ID database. XML might be > useful for storing the data, but not for querying. > XML was never meant for data-storage for such record-sets: it was designe= d for data *interchange* between incompatible database engines, and as a friendlier SGML for user-defined data (which some poor DBA/coder would otherwise end up having to pull in from Excel, in most cases. The cleanup in such cases can take days, depending on how long the executive in-quest= ion has kept it as a pet-project;) igli. -- #friendly-coders -- We're friendly but we're not /that/ friendly ;-)