From owner-freebsd-questions Wed Mar 27 4: 0: 2 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mobil.cz (diana.mobil.cz [194.228.200.160]) by hub.freebsd.org (Postfix) with ESMTP id 3E4E037B417 for ; Wed, 27 Mar 2002 03:59:56 -0800 (PST) Received: from ester.mobil.cz (ester.mobil.cz [194.213.62.23]) by mobil.cz (8.11.6/8.11.0) with ESMTP id g2RBxl816208; Wed, 27 Mar 2002 12:59:48 +0100 Received: from roman.mobil.cz ([10.2.0.89]) by ester.mobil.cz (Lotus Domino Release 5.0.9a) with ESMTP id 2002032712593323:6457 ; Wed, 27 Mar 2002 12:59:33 +0100 Received: (from roman@localhost) by roman.mobil.cz (8.11.6/8.11.6) id g2RCEB322247; Wed, 27 Mar 2002 13:14:11 +0100 (CET) (envelope-from neuhauser@mobil.cz) X-Authentication-Warning: roman.mobil.cz: roman set sender to neuhauser@mobil.cz using -f Date: Wed, 27 Mar 2002 13:14:11 +0100 From: Roman Neuhauser To: Dan Langille Cc: freebsd-questions@freebsd.org Subject: Re: XML interface to CVS Message-ID: <20020327121411.GW389@roman.mobil.cz> Mail-Followup-To: Dan Langille , freebsd-questions@freebsd.org References: <20020326181435.D3BA23F28@bast.unixathome.org> <20020326185409.12B953F28@bast.unixathome.org> Mime-Version: 1.0 In-Reply-To: <20020326185409.12B953F28@bast.unixathome.org> User-Agent: Mutt/1.3.26i X-MIMETrack: Itemize by SMTP Server on ester/Mobil(Release 5.0.9a |January 7, 2002) at 03/27/2002 12:59:33 PM, Serialize by Router on ester/Mobil(Release 5.0.9a |January 7, 2002) at 03/27/2002 12:59:41 PM, Serialize complete at 03/27/2002 12:59:41 PM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 > From: "Dan Langille" > To: Roman Neuhauser > Date: Tue, 26 Mar 2002 13:54:08 -0500 > Subject: Re: XML interface to CVS > Cc: freebsd-questions@freebsd.org > > On 26 Mar 2002 at 19:52, Roman Neuhauser wrote: > > > > Example: > > > > OpenBSD ports collection FP-site is started. Does it make > > > > any sense to load the complete history of the tree when FP > > > > is a "remind me" service? > > > > Looks to me like it's not that useful... > > > > I mean, it's quite nice to keep older revisions for some > > > > time, but I don't really grok the need to load the complete > > > > history of a CVS tree upon its registration. > > > > > > > > Explanation? > > > > > > The FP2 database is initially populated from HEAD (there is only > > > one ports tree, HEAD). > > > > That isn't what I asked about. FreshPorts' purpose is to send out > > mails to registered users when ports they 'watch' change. Plus, > > one can browse a listing of recent changes on a web. Loading the > > whole history of the tree looks like feeding old news into a > > newsticker service. What good is it? > > 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? > > > > > [4] - http://www.FreshSource.org/ > > > > > > > > What's the $CVSROOT? :) > > > > > > I fear my brain is fried from a 5am start today... > > > > I'd like to look at the source. Is there a cvs repository with > > anon access? > > No. :) see above. > > > > XML is indeed useful in this situation, because it allows > > > > for for quite a variety of revision-control systems: one > > > > could write an app to get the info out of a Perforce repo, > > > > or a SVN one... > > > > > > I hadn't thought of that. I was just looking for an easy way for > > > CVS. > > > > > > BTW: I've been directed to this perl interface to CVS, which does > > > provide a working base for an API: > > > > > > http://people.freebsd.org/~eivind/CVSFile-0.2.tar.gz > > > > Unfortunately I don't speak perl. > > FP/FS uses PHP for any web based content and perl for everything else > (basically, this "anything else" is for getting data into the database, > sending out notifications, etc). If you use XML there's no need for a homogenous environment. Various parts of the app can be written in various languages, passing XML chunks in interprocess communication. -- FreeBSD 4.4-STABLE 1:09PM up 2 days, 20:55, 14 users, load averages: 0.02, 0.03, 0.00 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message