From owner-freebsd-questions Sat Dec 26 18:45:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA28763 for freebsd-questions-outgoing; Sat, 26 Dec 1998 18:45:49 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA28758 for ; Sat, 26 Dec 1998 18:45:46 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id NAA22300; Sun, 27 Dec 1998 13:15:16 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.1/8.9.0) id NAA26470; Sun, 27 Dec 1998 13:15:17 +1030 (CST) Message-ID: <19981227131517.L12346@freebie.lemis.com> Date: Sun, 27 Dec 1998 13:15:17 +1030 From: Greg Lehey To: Bill Hamilton Cc: FreeBSD Questions Subject: Logging cvsup (was: stable vs. release?) References: <36849333.49F2EA1D@netshell.vicosa.com.br> <19981227123652.G12346@freebie.lemis.com> <36859732.515CD5AC@cmpu.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <36859732.515CD5AC@cmpu.net>; from Bill Hamilton on Sat, Dec 26, 1998 at 08:10:59PM -0600 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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