Re: Querying a cvsup server

2012-02-07 Thread Warren Block

On Tue, 7 Feb 2012, Lowell Gilbert wrote:


Warren Block wbl...@wonkity.com writes:


On Mon, 6 Feb 2012, Lowell Gilbert wrote:


Warren Block wbl...@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.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Querying a cvsup server

2012-02-07 Thread Rob Farmer
On Tue, Feb 7, 2012 at 9:13 AM, Warren Block wbl...@wonkity.com wrote:
 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.

http://www.mavetju.org/unix/freebsd-mirrors/cvsup-stats-global.php

-- 
Rob Farmer
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Querying a cvsup server

2012-02-06 Thread Lowell Gilbert
Warren Block wbl...@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.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Querying a cvsup server

2012-02-06 Thread Warren Block

On Mon, 6 Feb 2012, Lowell Gilbert wrote:


Warren Block wbl...@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.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Querying a cvsup server

2012-02-06 Thread Conrad J. Sabatier
On Mon, 6 Feb 2012 14:53:58 -0700 (MST)
Warren Block wbl...@wonkity.com wrote:

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

This is one of the reasons I maintain a local copy of the CVS repo
which I keep up-to-date via csup.  Comes in quite handy at times.

In fact, the CVS repo is the *only* thing I update directly via csup.
I then do all my /usr/{doc,ports,src} updates from the local repo.
Great for creating patches for submission, too.

HTH

-- 
Conrad J. Sabatier
conr...@cox.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Querying a cvsup server

2012-02-05 Thread Warren Block
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.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org