From owner-freebsd-questions Wed Mar 27 4:14:26 2002 Delivered-To: freebsd-questions@freebsd.org Received: from bast.unixathome.org (bast.unixathome.org [216.187.105.150]) by hub.freebsd.org (Postfix) with ESMTP id D0B7937B41A for ; Wed, 27 Mar 2002 04:14:22 -0800 (PST) Received: from wocker (wocker.unixathome.org [192.168.0.99]) by bast.unixathome.org (Postfix) with ESMTP id 265B53F2D; Wed, 27 Mar 2002 07:14:22 -0500 (EST) From: "Dan Langille" Organization: DVL Software Limited To: Roman Neuhauser Date: Wed, 27 Mar 2002 07:14:20 -0500 MIME-Version: 1.0 Subject: Re: XML interface to CVS Reply-To: dan@langille.org Cc: freebsd-questions@freebsd.org In-reply-to: <20020327121411.GW389@roman.mobil.cz> References: <20020326185409.12B953F28@bast.unixathome.org> X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Message-Id: <20020327121422.265B53F2D@bast.unixathome.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 27 Mar 2002 at 13:14, Roman Neuhauser wrote: > > Ahh, I see. No, not for feeding in older commits. But for feeding in > > the latest commits to HEAD. That will server as the start point. > > Without that, you don't have any ports in FP, users can't browse, they > > can't add things to their watch list, etc. > > This raises a few more questions that could've been answered if I > could see the source. Is FP/FS open source? If so, where can I get > it? But your questions won't be answered by reading the source. I think the block you are experiencing is the point of view you are taking. Don't think of FP/FS as being a news site. Think of it as being a database. In the database are all the ports. You go in, select the ports you want, and add them to your watch list. Let's start with an empty database. That's not much fun for the user. They have nothing to add to their watch list because the database is empty. If a port were only added to the database when a commit occurs, it would take years to get all the ports included. So rather than start with an empty database, we populate the database with all of the ports. One way to do this is: - cvsup port-supfile - use 'find' to create a list of the ports - process this information and add entries to the database Alternatively, I could obtain this data in an XML format using some command line function which grabs the infomration I need. -- Dan Langille The FreeBSD Diary - http://freebsddiary.org/ - practical examples To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message