Skip site navigation (1)Skip section navigation (2)
Date:      19 Mar 2002 03:08:12 +0100
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        obrien@freebsd.org, bugbusters@freebsd.org
Subject:   Re: Gnats category updates
Message-ID:  <xzpvgbtfgxf.fsf@flood.ping.uio.no>
In-Reply-To: <20020319014212.GA530@hades.hell.gr>
References:  <xzpu1rdjult.fsf@flood.ping.uio.no> <20020318162743.B15965@dragon.nuxi.com> <xzppu21ie8i.fsf@flood.ping.uio.no> <20020319014212.GA530@hades.hell.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
Giorgos Keramidas <keramida@ceid.upatras.gr> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpvgbtfgxf.fsf>