From owner-freebsd-hackers@FreeBSD.ORG Sun May 13 20:27:38 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B7DDC16A402 for ; Sun, 13 May 2007 20:27:38 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id A55BF13C459 for ; Sun, 13 May 2007 20:27:38 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id C0F0D1A3C19; Sun, 13 May 2007 13:28:26 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id C787A51406; Sun, 13 May 2007 16:27:37 -0400 (EDT) Date: Sun, 13 May 2007 16:27:37 -0400 From: Kris Kennaway To: Thomas Sparrevohn Message-ID: <20070513202737.GA63102@xor.obsecurity.org> References: <20070512004209.GA12218@lpthe.jussieu.fr> <20070513103757.GA33322@turion.vk2pj.dyndns.org> <200705131258.50309.Thomas.Sparrevohn@btinternet.com> <200705132042.26167.mail@maxlor.com> <001701c7959c$5ab84110$1028c330$@Sparrevohn@btinternet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001701c7959c$5ab84110$1028c330$@Sparrevohn@btinternet.com> User-Agent: Mutt/1.4.2.2i Cc: 'Benjamin Lutz' , freebsd-hackers@freebsd.org, 'Michel Talon' Subject: Re: DPS Initial Ideas X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 May 2007 20:27:38 -0000 On Sun, May 13, 2007 at 09:21:56PM +0100, Thomas Sparrevohn wrote: > Well - Naturally if the only index format was based upon XML it would not be > very practical - > However XML currently seems to take the lead when the talk is on portability > as a data format > and it is very easy to convert to "Pure Text" - There seems to be a bias > towards SNMP MIB format > generally in FreeBSD e.g. sysctl etc. which has even worse drawbacks > > But as I said - I very much doubt that the format of the INDEX file and the > on disk package db > structure is the most burning issue for ports - I am sure that there are > optimisations that could improve > the current performance without having to change the structure into SQL - If > however that is the target > then XML would be a significantly better candidate because a proper XML > schema can be used as a > middle layer for all the tools - regardless the storage structure of the > package db etc. - > If we introduced a proper abstraction - then people can use SQL/ flat files > / existing structures > But the tools we still only need one common interface to XML FYI, "Using XML" and other buzzword-compliance is not currently on the table either. Let's all try to maintain some focus, OK? Kris