From owner-freebsd-ports@FreeBSD.ORG Tue Apr 13 12:31:53 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8748916A4CE; Tue, 13 Apr 2004 12:31:53 -0700 (PDT) Received: from mail.ciam.ru (mail.ciam.ru [213.147.57.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2DD8343D31; Tue, 13 Apr 2004 12:31:53 -0700 (PDT) (envelope-from sem@ciam.ru) Received: from ppp9-15.pppoe.mtu-net.ru ([81.195.9.15] helo=ciam.ru) by mail.ciam.ru with asmtp (Exim 4.x) id 1BDTdP-0002Yr-Nk; Tue, 13 Apr 2004 23:31:51 +0400 Message-ID: <407C4035.8020609@ciam.ru> Date: Tue, 13 Apr 2004 23:32:05 +0400 From: Sergey Matveychuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Garance A Drosihn References: <20040413121925.GB29867@voodoo.oberon.net> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Kirill Ponomarew cc: freebsd-ports@FreeBSD.org Subject: Re: Second "RFC" on pkg-data idea for ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Apr 2004 19:31:53 -0000 Garance A Drosihn wrote: > But as I thought about adding future features, I ended up with > something that looks more and more like XML... I really don't understand why you want to use XML-like format? I think it may be XML (because of we have a standard) or complete non-XML. From your WEB-page: ------------------- The "" tag is expected to identify the version of the format used for this individual pkg-data file. As time goes on, we will probably want to expand this format in some manner, and this allows us to have multiple formats of pkg-data files in the same ports tree. If someone has a better name than "data-format", I will be happy to use it. I also wonder if it might be better to collapse the data-format value into the initial "freebsd-ports" tag. Ie, the pkg-data information would start with a tag-line of == but still end with a "" tag. ------------------- In XML we can get something like: . For parsing we have ready parsers. Or, if we wish to avoid complexity, we can use non-XML. E.g. === freebsd-ports ... === !freebsd-ports Why to mix them? -- Sem.