Date: Tue, 04 Jul 2000 00:11:15 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: Kris Kennaway <kris@FreeBSD.org> Cc: John Baldwin <jhb@bsdi.com>, Will Andrews <andrews@technologist.com>, chat@FreeBSD.org Subject: Re: addport kicks easy-import out Message-ID: <200007040711.AAA40323@john.baldwin.cx> In-Reply-To: <Pine.BSF.4.21.0007032345120.32519-100000@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 04-Jul-00 Kris Kennaway wrote:
> On Mon, 3 Jul 2000, John Baldwin wrote:
>
>> It just lists the branch and is present for every commit. Ports
>> are always on -HEAD though. :)
>
> Right, but the concept could be easily extended to which TLD of the repo
> the commit falls into (src, ports, distrib, doc, www, sup, CVSROOT)
That is already easy:
elsif header :contains "Sender" "committers" {
# commit messages
if header :matches "Subject" "cvs commit:*" {
# ports
if header :contains "Subject" "ports" {
# check for a new port
if header :contains "Subject" "Imported sources" {
fileinto "FreeBSD.Committers.ports.new";
}
else {
fileinto "FreeBSD.Committers.ports";
}
}
# src
elsif header :contains "Subject" "src" {
# split based on branch
if header :is "X-FreeBSD-CVS-Branch" "RELENG_4" {
fileinto "FreeBSD.Committers.src-4";
}
elsif header :is "X-FreeBSD-CVS-Branch" "RELENG_3" {
fileinto "FreeBSD.Committers.src-3";
}
else {
fileinto "FreeBSD.Committers.src-current";
}
}
# doc and www
elsif header :contains "Subject" ["doc", "www"] {
fileinto "FreeBSD.Committers.doc-www";
}
# misc. commits
else {
fileinto "FreeBSD.Committers.misc";
}
}
}
> Kris
--
John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc
"Power Users Use the Power to Serve!" - http://www.FreeBSD.org/
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-chat" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007040711.AAA40323>
