Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Sep 2017 15:37:17 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-svnadmin@freebsd.org
Subject:   svn commit: r450616 - svnadmin/hooks/scripts
Message-ID:  <201709251537.v8PFbH7K018382@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Mon Sep 25 15:37:17 2017
New Revision: 450616
URL: https://svnweb.freebsd.org/changeset/ports/450616

Log:
  Flavors are coming soon, but first, forbid anyone from using it.
  
  With hat:	portmgr
  Sponsored by:	Absolight

Modified:
  svnadmin/hooks/scripts/stage-only.sh

Modified: svnadmin/hooks/scripts/stage-only.sh
==============================================================================
--- svnadmin/hooks/scripts/stage-only.sh	Mon Sep 25 15:19:43 2017	(r450615)
+++ svnadmin/hooks/scripts/stage-only.sh	Mon Sep 25 15:37:17 2017	(r450616)
@@ -34,6 +34,11 @@ for line in $(svnlook changed -t $TXN $REPO) ; do
 			echo "NOPORTDATA is nonsense as a variable affecting all ports." 1>&2
 			exit 1
 		fi
+		if svnlook cat -t ${TXN} ${REPO} $fpath | grep -q "^FLAVORS" ; then
+			echo "Do not commit a port with FLAVORS without first" > 1>&2
+			echo "getting approval from portmgr." 1>&2
+			exit 1
+		fi
 	;;
 	head/*/*/pkg-plist*)
 		if svnlook cat -t ${TXN} ${REPO} $fpath | grep -q "%%PORTDATA%%" ; then



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