cvs commit: CVSROOT modules

Jeremy Chadwick koitsu at FreeBSD.org
Thu Jul 10 04:16:17 UTC 2008


On Wed, Jul 09, 2008 at 11:58:04PM -0400, Philip M. Gollucci wrote:
> Peter Jeremy wrote:
>> On 2008-Jul-09 22:15:54 -0400, "Philip M. Gollucci" <pgollucci at p6m7g8.com> wrote:
>>> For example a recent cvs-ports mail process with my ~/.procmailrc 
>>> which invokes cvsmail.  Your commits to CVSROOT/modules contain no 
>>> such diff in the e-mail.
>>
>> The original mail sent from FreeBSD.org does not contain any patches.
>> The actual commit message looks normal so the problem would appear
>> to be that your local configuration is not correctly parsing the
>> commit message.  One way in which it is different to the update you
>> reported is that it relates to a CVSROOT file - possibly you are not
>> correctly handling CVSROOT commits.
>>
> Anything wrong with this ?
>
> :0
> * ^Sender:.owner-cvs-\/[^@]+ at FreeBSD.ORG
> {
>     LISTNAME=${MATCH}
>     :0
>     * LISTNAME??^\/[^@]+
>     | /usr/local/bin/cvsmail -d -c -g -f freebsd.org/cvs-${MATCH}
> }
>
> :0
> * ^Sender:.owner-freebsd-\/[^@]+ at FreeBSD.ORG
> {
>     LISTNAME=${MATCH}
>     :0
>     * LISTNAME??^\/[^@]+
>     freebsd.org/${MATCH}
> }

The lack of file locking on your delivery rules is a bit disheartening
for starters (unless you use Maildir, which I don't believe you do,
since there's no trailing "/" on your delivery boxes).

The rule I've used for quite some time, at least for lists:

:0
* ^List-Id:.*<\/[^.]+\.freebsd.org>
{
  LISTNAME=${MATCH}

  :0:
  * LISTNAME ?? ^\/[^.]+
  freebsd/${MATCH}
}

-- 
| Jeremy Chadwick                                jdc at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |



More information about the cvs-ports mailing list