* [gentoo-dev] Commits filtering procmail recipes
@ 2007-09-30 8:26 Donnie Berkholz
2007-09-30 20:29 ` Tom Wesley
0 siblings, 1 reply; 2+ messages in thread
From: Donnie Berkholz @ 2007-09-30 8:26 UTC (permalink / raw
To: Gentoo Developers
[-- Attachment #1: Type: text/plain, Size: 276 bytes --]
Hey all,
Here's my .procmailrc chunks relevant to filtering -commits. I've got
some for filtering specific to developers and some for
categories/packages. It also has a nice bit that cuts out everything
that isn't an ebuild bump (aka keywording and such).
Thanks,
Donnie
[-- Attachment #2: .procmailrc --]
[-- Type: text/plain, Size: 1774 bytes --]
# this is my .procmailrc, taken from robbat2's found at:
# http://www.orbis-terrarum.net/~robbat2/sample.procmailrc
# Preliminaries
SHELL=/bin/sh
MAILDIR=$HOME/.maildir
DEFAULT=${MAILDIR}/
LOGFILE=${MAILDIR}/procmail.log
LINEBUF=4096
FORMAIL=/usr/bin/formail
SPAMC=/usr/bin/spamc
SPAMC_FLAGS=" -s 2048000 -f "
VERBOSE=no
COMSAT=no
n="
"
LOG="--- Logging ${LOGFILE} for ${LOGNAME}${n}"
# custom shortcuts
HDR_ML="^((X-)?(BeenThere|List-Id|Mailing-List):)(.*\<)?"
HDR_FROM="^(From[ ]|(Old-|X-)?(Resent-)?(From|Reply-To|Sender):)(.*\<)?"
HDR_CMTR="^(X-VCS-Committer:)(.*)?"
HDR_DIRS="^(X-VCS-Directories):(.*)?"
HDR_SUBJECT="^(Subject):(.*)?"
:0
* $ $HDR_ML.*gentoo-commits\.gentoo\.org
{
:0:
* $ $HDR_CMTR.*dberkholz
.linux.gentoo.commits.me/
:0:
* $ $HDR_CMTR.*je_fro
.linux.gentoo.commits.je_fro/
:0:
* $ $HDR_CMTR.*battousai
.linux.gentoo.commits.batt/
:0
* $ $HDR_DIRS.*x11-(base|proto|drivers|apps|libs/lib)
{
:0B:
* $ Added.*ebuild
.linux.gentoo.commits.x11/
}
:0
* $ $HDR_DIRS.*(media-libs/(mesa|freeglut|glut)|app-doc/xorg)
{
:0B:
* $ Added.*ebuild
.linux.gentoo.commits.x11/
}
:0
* $ $HDR_DIRS.*system-config
{
:0B:
* $ Added.*ebuild
.linux.gentoo.commits.s-c/
}
:0:
* $ $HDR_DIRS.*eclass
.linux.gentoo.commits.eclass/
:0
* $ $HDR_DIRS.*sci-chemistry
{
:0B:
* $ Added.*ebuild
.linux.gentoo.commits.chem/
}
:0
* $ $HDR_DIRS.*sci-biology
{
:0B:
* $ Added.*ebuild
.linux.gentoo.commits.bio/
}
:0
* $ $HDR_DIRS.*sys-cluster
{
:0B:
* $ Added.*ebuild
.linux.gentoo.commits.cluster/
}
:0
* $ $HDR_SUBJECT.*gentoo-x86
{
:0B:
* $ Added.*ebuild
.linux.gentoo.commits/
}
# Dump the rest of the commits
:0
/dev/null
}
# Accept all the rest to your default mailbox
:0:
${DEFAULT}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-dev] Commits filtering procmail recipes
2007-09-30 8:26 [gentoo-dev] Commits filtering procmail recipes Donnie Berkholz
@ 2007-09-30 20:29 ` Tom Wesley
0 siblings, 0 replies; 2+ messages in thread
From: Tom Wesley @ 2007-09-30 20:29 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 501 bytes --]
On Sun, Sep 30, 2007 at 01:26:57AM -0700, Donnie Berkholz <dberkholz@gentoo.org> wrote:
> Hey all,
>
> Here's my .procmailrc chunks relevant to filtering -commits. I've got
> some for filtering specific to developers and some for
> categories/packages. It also has a nice bit that cuts out everything
> that isn't an ebuild bump (aka keywording and such).
>
> Thanks,
> Donnie
Perfect! I was planning on writing similar rules myself, you saved me
most of the work.
--
tomaw
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-09-30 20:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-30 8:26 [gentoo-dev] Commits filtering procmail recipes Donnie Berkholz
2007-09-30 20:29 ` Tom Wesley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox