svn commit: r450616 - svnadmin/hooks/scripts

Mathieu Arnold mat at FreeBSD.org
Mon Sep 25 15:37:18 UTC 2017


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


More information about the svn-ports-all mailing list