Date: Tue, 19 Mar 2002 03:42:12 +0200 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Dag-Erling Smorgrav <des@ofug.org> Cc: obrien@freebsd.org, bugbusters@freebsd.org Subject: Re: Gnats category updates Message-ID: <20020319014212.GA530@hades.hell.gr> In-Reply-To: <xzppu21ie8i.fsf@flood.ping.uio.no> References: <xzpu1rdjult.fsf@flood.ping.uio.no> <20020318162743.B15965@dragon.nuxi.com> <xzppu21ie8i.fsf@flood.ping.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2002-03-19 01:38, Dag-Erling Smorgrav wrote:
> "David O'Brien" <obrien@freebsd.org> writes:
> > Also is there a way to make edit-pr not accept "freebsd-port" as an
> > assignee?
>
> You mean "freebsd-port" as a misspelling of "freebsd-ports"? Yes,
> though it would require some work.
If a check can be added to the code that detects a "Responsible" change,
you could perhaps make use of something like:
% ypcat passwd | grep -v '^[A-Z]' | awk '{print $1}' | grep '^freebsd-port$' ; echo $?
1
% query-pr --list-resp | awk '{print $1}' | grep '^freebsd-port$' ; echo $?
1
If both these commands fail, then the new responsible is neither a
committer listed in YP/NIS nor a standard gnats responsible. Then perhaps,
the change should be aborted with a message like:
Invalid responsible "foo".
Giorgos Keramidas FreeBSD Documentation Project
keramida@{freebsd.org,ceid.upatras.gr} http://www.FreeBSD.org/docproj/
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugbusters" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020319014212.GA530>
