Subject: Re: Changelog -> mailinglist?
To: Johan Danielsson <joda@pdc.kth.se>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: current-users
Date: 07/20/1997 19:35:13
On 19 Jul 1997 10:12:52 +0200
joda@pdc.kth.se (Johan Danielsson) wrote:
> The easy way to do this is just to take the longest prefix common to
> all messages in a mail. Anything more elegant would require more work,
> disk-space, or bandwidth.
Well.. err... The prefix might not correspond to the majority of the
changes in that mail, for example... Hmm, I could just be misunderstanding
what you're suggesting...
> If someone can tell me how this mail-batching stuff is done today, I
> can write something to show what I mean.
Quite literally:
#!/bin/sh -e
# $Id: rotate,v 1.6 1996/01/03 19:22:26 mycroft Exp $
[ -e commits.old ] || (
[ -s commits ] || exit
mv commits commits.old
sleep 1
)
mail -s 'NetBSD master CVS tree commits' source-changes < commits.old
rm -f commits.old
...by default, all commits are logged like:
umask 002; (echo ""; echo $USER; date; cat) >> $CVSROOT/CVSROOT/commits
Jason R. Thorpe thorpej@nas.nasa.gov
NASA Ames Research Center Home: 408.866.1912
NAS: M/S 258-6 Work: 415.604.0935
Moffett Field, CA 94035 Pager: 415.428.6939