From owner-freebsd-questions@FreeBSD.ORG Tue Feb 7 17:13:59 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32396106564A for ; Tue, 7 Feb 2012 17:13:59 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id E49D38FC17 for ; Tue, 7 Feb 2012 17:13:58 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q17HDwsU088511 for ; Tue, 7 Feb 2012 10:13:58 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q17HDwx3088508 for ; Tue, 7 Feb 2012 10:13:58 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Tue, 7 Feb 2012 10:13:58 -0700 (MST) From: Warren Block To: questions@freebsd.org In-Reply-To: <444nv24rgs.fsf@lowell-desk.lan> Message-ID: References: <4462fjeosv.fsf@lowell-desk.lan> <444nv24rgs.fsf@lowell-desk.lan> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Tue, 07 Feb 2012 10:13:58 -0700 (MST) Cc: Subject: Re: Querying a cvsup server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Feb 2012 17:13:59 -0000 On Tue, 7 Feb 2012, Lowell Gilbert wrote: > Warren Block writes: > >> On Mon, 6 Feb 2012, Lowell Gilbert wrote: >> >>> Warren Block writes: >>> >>>> Is there a way to query one of the FreeBSD cvsup mirrors, something >>>> like 'svn list -v svn:...' (only with cvs or csup)? I'm looking to >>>> find the revision or date of a file. >>> >>> Anonymous CVS is probably the best approach for you. >>> It's covered in the Handbook. >> >> The goal is to check arbitrary files on FreeBSD cvsup servers to see >> if they are up to date. AFAIK, there are only a couple of anoncvs >> servers and the normal cvsupN.freebsd.org servers don't do that. > > It's not clear why you're insisting on using the cvsup servers as > opposed to anonymous CVS, I'm not looking for a specific version of a file, but trying to find out whether any arbitrary cvsup mirror is current with the main repository. Not version control, but network monitoring. Rephrasing: "cvsupN.freebsd.org, do you have the latest version of the doc and src trees?" > but if you have to use those, then you need to download the whole > repository in "CVS mode" and use cvs with that. The cvsup protocol > does not support version control operations. It's desirable to keep bandwidth usage low. csup can be forced with -i to only download one file, and that file has the creation date. The trick to taking that as a freshness indicator for the whole would be picking a file that changes on every commit. Or maybe "sup/*/checkouts.cvs:.", which is updated even when -i specifies a nonexistent file.