Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Feb 2012 10:13:58 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        questions@freebsd.org
Subject:   Re: Querying a cvsup server
Message-ID:  <alpine.BSF.2.00.1202070928080.88011@wonkity.com>
In-Reply-To: <444nv24rgs.fsf@lowell-desk.lan>
References:  <alpine.BSF.2.00.1202052110260.72251@wonkity.com> <4462fjeosv.fsf@lowell-desk.lan> <alpine.BSF.2.00.1202061403320.79818@wonkity.com> <444nv24rgs.fsf@lowell-desk.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 7 Feb 2012, Lowell Gilbert wrote:

> Warren Block <wblock@wonkity.com> writes:
>
>> On Mon, 6 Feb 2012, Lowell Gilbert wrote:
>>
>>> Warren Block <wblock@wonkity.com> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1202070928080.88011>