Date: Sat, 17 Jun 2017 22:14:23 +0000 (UTC) From: Bryan Drewery <bdrewery@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-svnadmin@freebsd.org Subject: svn commit: r443788 - svnadmin/hooks/scripts Message-ID: <201706172214.v5HMEN4P086866@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bdrewery Date: Sat Jun 17 22:14:22 2017 New Revision: 443788 URL: https://svnweb.freebsd.org/changeset/ports/443788 Log: Don't allow portmgr overrides for py3 slaves Modified: svnadmin/hooks/scripts/detect-filename.sh Modified: svnadmin/hooks/scripts/detect-filename.sh ============================================================================== --- svnadmin/hooks/scripts/detect-filename.sh Sat Jun 17 21:49:22 2017 (r443787) +++ svnadmin/hooks/scripts/detect-filename.sh Sat Jun 17 22:14:22 2017 (r443788) @@ -13,6 +13,17 @@ if [ -z "$REPO" -o -z "$TXN" ]; then exit 1 fi +# Look for new py3 ports +if $SVNLOOK changed -t "$TXN" "$REPO" | grep -q -E '^A.*/py3'; then + echo "Please do not add new py3 slave ports at this time. FLAVORS" >&2 + echo "support is coming soon which will remove the need for these kind of" >&2 + echo "slave ports. Having new ones come in slows down development for" >&2 + echo "FLAVORS support." >&2 + echo "It also confuses users if a new slave is added and then is" >&2 + echo "suddenly gone in a few weeks due to FLAVORS replacing it." >&2 + exit 1 +fi + # Approved by portmgr gets a free pass $SVNLOOK log -t "$TXN" "$REPO" | grep -q 'portmgr' && exit 0 @@ -24,17 +35,6 @@ if $SVNLOOK changed -t "$TXN" "$REPO" | grep -q -E '^A echo "For further information please read:" >&2 echo "http://www.freebsd.org/doc/en/books/porters-handbook/slow-patch.html" >&2 echo "Please fix this and try committing again." >&2 - exit 1 -fi - -# Look for new py3 ports -if $SVNLOOK changed -t "$TXN" "$REPO" | grep -q -E '^A.*/py3'; then - echo "Please do not add new py3 slave ports at this time. FLAVORS" >&2 - echo "support is coming soon which will remove the need for these kind of" >&2 - echo "slave ports. Having new ones come in slows down development for" >&2 - echo "FLAVORS support." >&2 - echo "It also confuses users if a new slave is added and then is" >&2 - echo "suddenly gone in a few weeks due to FLAVORS replacing it." >&2 exit 1 fi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706172214.v5HMEN4P086866>