On 04/17/2018 09:54 AM, Mátyás Selmeci wrote:
On 04/17/2018 09:20 AM, Michael McLean wrote:
On Mon, Apr 16, 2018 at 11:17 AM, Mátyás Selmeci <matyas@cs.wisc.edu> wrote:
We'd like to prevent people from accidentally building into a target
from the wrong SVN branch (e.g. building into the osg-3.4 target from
the osg-3.3 branch).  We have a wrapper script around "koji build" that
does this check, but it would be nicer if we could do it server side.
Is that something we can do?

Would a tag policy work for you here? It is later in the chain, but often it is tagging that you actually care about.

It would be better if the error were caught before the build started but yes, it's tagging that I care about, so a tag policy would work just fine.

-Mat

Er, I also care about using up an NVR. If the tagging fails, will that keep the NVR from being used?

-Mat