Date: Sun, 27 Dec 1998 13:15:17 +1030 From: Greg Lehey <grog@lemis.com> To: Bill Hamilton <bhamil@cmpu.net> Cc: FreeBSD Questions <questions@FreeBSD.ORG> Subject: Logging cvsup (was: stable vs. release?) Message-ID: <19981227131517.L12346@freebie.lemis.com> In-Reply-To: <36859732.515CD5AC@cmpu.net>; from Bill Hamilton on Sat, Dec 26, 1998 at 08:10:59PM -0600 References: <36849333.49F2EA1D@netshell.vicosa.com.br> <19981227123652.G12346@freebie.lemis.com> <36859732.515CD5AC@cmpu.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday, 26 December 1998 at 20:10:59 -0600, Bill Hamilton wrote:
> off thread here, but what did Greg mean with
> "You should check your log files (you did log the updates, didn't you?)
> "
> What would one need to do to ensure this?
Run cvsup as shown on page 280 of "The Complete FreeBSD":
cvsup -g -L2 <supfilename>
The -L2 tells cvsup to list what it does in moderate detail.
Specifically, it looks like:
Parsing supfile "/src/cvsup/cvs-cvsupfile"
Looking up address of cvsup.freebsd.org
Connecting to cvsup.freebsd.org
Connected to cvsup.freebsd.org
Rejected by server: Access limit exceeded; try again later
Will retry at 14:46:17
Retrying
Looking up address of cvsup.freebsd.org
Connecting to cvsup.freebsd.org
Connected to cvsup.freebsd.org
Server software version: REL_15_4_2
Negotiating file attribute support
Exchanging collection information
Establishing active-mode data connection
Running
Updating collection src-all/cvs
Replace CVSROOT/avail
Edit CVSROOT/avail,v
Add tag RELENG_2_2 -> 1.57
Add delta 1.59 98.12.22.05.52.06 asami
Touch CVSROOT/checkoutlist
Edit CVSROOT/checkoutlist,v
Add tag RELENG_2_2 -> 1.3
...
Add tag RELENG_2_2 -> 1.2
Append to CVSROOT/commitlogs/CVSROOT
Append to CVSROOT/commitlogs/doc
...
Edit CVSROOT/modules,v
Add tag RELENG_2_2 -> 1.2565
Add delta 1.2598 98.12.22.00.57.51 jseger
Add delta 1.2599 98.12.22.02.17.19 jseger
Add delta 1.2600 98.12.22.22.53.14 billf
Add delta 1.2601 98.12.23.01.20.16 steve
Add delta 1.2602 98.12.23.02.45.11 flathill
...
Edit src/etc/mtree/BSD.usr.dist,v
Add delta 1.141 98.12.22.12.33.32 jkh
Edit src/lib/libfetch/common.c,v
Add delta 1.5 98.12.21.19.41.50 des
This gives you information about what has happened to the repository
(in this example).
> What log file would it be?
Your choice. It's stdout of the cvsup process. I personally put
these commands in a shell script called update-cvs and write:
$ mailme update-cvs
mailme is a little script which sends stdout and stderr as a mail
message. It also uses tee(1) to show the results on the screen:
#!/bin/sh
#
# Perform an operation and mail the results to me
$* 2>&1 | tee /dev/tty | mail `who am i | awk '{print $1}'`
Greg
--
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981227131517.L12346>
