Re: tracking changes
- From: Dafydd Harries <daf muse 19inch net>
- To: gnome-i18n gnome org
- Subject: Re: tracking changes
- Date: Fri, 18 Jun 2004 20:20:27 +0100
Ar 18/06/2004 am 20:16, ysgrifennodd Telsa Gwynne:
> I use procmail and mutt (and I am not on a dialup link).
> I do this. I am subscribed to cvs-commits-list. Then I use
> procmail to sort all the list email to a single folder:
>
> :0:
> * X-BeenThere: cvs-commits-list gnome org
> IN.cvs-commits
>
> Then I use a mailer to sort all the mail in that folder. I use mutt.
> I know the names of the people who commit to the cy.po (Welsh) files.
> Unfortunately I can't tell mutt to sort emails by message body contents,
> as far as I know. So I can't tell it to sort through looking for emails
> which mention cy.po. But I can tell it to sort by the subject contents.
> And luckily for me, the committer names are always in the subject. So
> in my .muttrc I have this
>
> folder-hook . set sort=threads # The '.' is the default. You need it.
> # If you do not set a default, strange
> # things happen later.
> folder-hook IN.cvs-commits set sort=score
>
> folder-hook IN.cvs-commits "unscore .*"
> folder-hook IN.cvs-commits "score '~s daf' 1"
> folder-hook IN.cvs-commits "score '~s rhysj' 1"
> folder-hook IN.cvs-commits "score '~s telsa' 1"
>
> So this puts all the commits from people likely to mess with the
> Welsh po files to the top of my mailbox in mutt. I expect there are
> similar ways to do this in Evolution too.
>
> Of course, anything else Rhys and Daf do will also end up at
> the top of my mailbox as well. I wonder if they knew I was
> stalking them?
>
> If I knew how to do it in procmail, it would probably be better
> to tell procmail to sort all the cvs-commits-list emails and then
> to sort all the cvs-commits-list emails which have "cy.po" mentioned
> in them into a different folder, or to assign them a score, or to
> rewrite the subject lines to include "cy updates" or something.
>
> But I don't know how to do that in procmail, so I don't do that :)
Personally, I'm only interested in commits by myself, Telsa and Rhys,
and have Procmail throw away other commit traffic:
:0:
* X-BeenThere: cvs-commits-list gnome org
* Subject:.*(telsa|rhysj|daf)$
gnome-cvs-commits/
:0:
* X-BeenThere: cvs-commits-list gnome org
/dev/null
This depends on the fact that the CVS username of the committer is at
the end of the subject line. You could have similar patters to match on
the CVS module.
You could replace "/dev/null" with "gnome-cvs-commits-low-priority" or
something.
--
Dafydd
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]