From owner-freebsd-bugbusters Mon Mar 18 18: 8:16 2002 Delivered-To: freebsd-bugbusters@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id B332537B402; Mon, 18 Mar 2002 18:08:14 -0800 (PST) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 0DC255346; Tue, 19 Mar 2002 03:08:13 +0100 (CET) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Giorgos Keramidas Cc: obrien@freebsd.org, bugbusters@freebsd.org Subject: Re: Gnats category updates References: <20020318162743.B15965@dragon.nuxi.com> <20020319014212.GA530@hades.hell.gr> From: Dag-Erling Smorgrav Date: 19 Mar 2002 03:08:12 +0100 In-Reply-To: <20020319014212.GA530@hades.hell.gr> Message-ID: Lines: 20 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-bugbusters@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Giorgos Keramidas writes: > 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". Good idea (though you need to use awk -F:) DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugbusters" in the body of the message