From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13031 invoked by alias); 6 Aug 2002 19:41:39 -0000 Mailing-List: contact ecos-maintainers-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: ecos-maintainers-owner@sources.redhat.com Received: (qmail 13018 invoked from network); 6 Aug 2002 19:41:39 -0000 Subject: Re: Welcome to sources.redhat.com From: Gary Thomas To: Jonathan Larmour Cc: eCos Maintainers , eCos patches In-Reply-To: <3D502478.3060807@ecoscentric.com> References: <20020806155646.18120.qmail@sources.redhat.com> <3D501063.6020204@ecoscentri c.com> <20020806185528.GE4434@biferten.ma.tech.ascom.ch> <3D5020BA.7020804@ecoscentric.com> <1028661879.17057.133.camel@hermes.chez-thomas.org> <3D502478.3060807@ecoscentric.com> Content-Type: multipart/mixed; boundary="=-QvwvKNCk92/q4S/FMTzg" X-Mailer: Ximian Evolution 1.0.3 (1.0.3-4) Date: Tue, 06 Aug 2002 12:41:00 -0000 Message-Id: <1028662896.17057.146.camel@hermes.chez-thomas.org> Mime-Version: 1.0 X-SW-Source: 2002-08/txt/msg00008.txt.bz2 --=-QvwvKNCk92/q4S/FMTzg Content-Type: text/plain Content-Transfer-Encoding: 7bit Content-length: 1317 On Tue, 2002-08-06 at 13:33, Jonathan Larmour wrote: > Gary Thomas wrote: > > On Tue, 2002-08-06 at 13:17, Jonathan Larmour wrote: > > > > > >>Gary takes the former approach I believe, although perhaps he has emacs > >>macros or something to help him which might be why. > >> > >>Commit log messages are also important as they are what people see in the > >>ecos-cvs list, which I certainly read, and I'm pretty sure Gary does too. > >>Yeah, what fun lives we lead ;). > > > > > > I *do* have emacs macros which help with this. > > Okay, can you indulge me with a peek? :-). > Here's what I have in my .emacs file: (require 'add-log) (global-set-key "\C-x4a" 'add-change-log-entry) ;; (defun user-mail-address () "gthomas@redhat.com") (defun user-mail-address () "gary@chez-thomas.org") (defun user-full-name () "Gary Thomas") Then, to make a ChangeLog entry, I just go to the file/function where the change was made, type ^X-4-a and it finds the appropriate ChangeLog file, makes the basic entry and I just fill in the details. What I normally do is to run a script to see what I've changed (cvs-patch), then run another script which runs emacs on all of the changed files so I can update the ChangeLog (do_ChangeLogs). Then run the (cvs-patch) script one more time and commit. --=-QvwvKNCk92/q4S/FMTzg Content-Disposition: attachment; filename=cvs-patch Content-Transfer-Encoding: quoted-printable Content-Type: text/x-sh; name=cvs-patch; charset=ISO-8859-1 Content-length: 145 #! /bin/sh #cvs -q diff $* | FixPatch | tee /work/diffs #cvs -q diff $* | FixPatch | no_srec >/work/diffs cvs -q diff $* | no_srec >/work/diffs --=-QvwvKNCk92/q4S/FMTzg Content-Disposition: attachment; filename=do_ChangeLogs Content-Transfer-Encoding: quoted-printable Content-Type: text/x-sh; name=do_ChangeLogs; charset=ISO-8859-1 Content-length: 219 #! /bin/sh #grep Index $1 | sed -e "s/Index: //" | xargs -n1 xemacs $1 grep Index: /work/diffs | grep -v "%redact" | grep -v ChangeLog | grep -v .= Sanitize | sed -e "s/Index: //" | xargs -n1 ${CVSEDITOR} /work/diffs --=-QvwvKNCk92/q4S/FMTzg--