From owner-svn-ports-all@freebsd.org Thu Nov 30 10:54:05 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E12DEDFF77E; Thu, 30 Nov 2017 10:54:05 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AB98F7FE15; Thu, 30 Nov 2017 10:54:05 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vAUAs4FP049302; Thu, 30 Nov 2017 10:54:04 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vAUAs4w2049301; Thu, 30 Nov 2017 10:54:04 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201711301054.vAUAs4w2049301@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Thu, 30 Nov 2017 10:54:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-svnadmin@freebsd.org Subject: svn commit: r455193 - svnadmin/hooks/scripts X-SVN-Group: ports-svnadmin X-SVN-Commit-Author: mat X-SVN-Commit-Paths: svnadmin/hooks/scripts X-SVN-Commit-Revision: 455193 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Nov 2017 10:54:06 -0000 Author: mat Date: Thu Nov 30 10:54:04 2017 New Revision: 455193 URL: https://svnweb.freebsd.org/changeset/ports/455193 Log: Temorarly ban python changes. With hat: portmgr Sponsored by: Absolight Modified: svnadmin/hooks/scripts/detect-filename.sh Modified: svnadmin/hooks/scripts/detect-filename.sh ============================================================================== --- svnadmin/hooks/scripts/detect-filename.sh Thu Nov 30 10:51:34 2017 (r455192) +++ svnadmin/hooks/scripts/detect-filename.sh Thu Nov 30 10:54:04 2017 (r455193) @@ -16,14 +16,17 @@ fi # Approved by portmgr gets a free pass $SVNLOOK log -t "$TXN" "$REPO" | grep -q 'portmgr' && exit 0 +# Look for python ports. +if $SVNLOOK changed -t "$TXN" "$REPO" | grep -q -E '^.*/py-'; then + echo "Temorary ban on committing to py- ports while the final touch to" >&2 + echo "the Python FLAVORS is being worked on and tested." >&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 + echo "Adding new py3- ports is forbidden." >&2 + echo "The Python ports have flavors and do not need the py3- ports." >&2 exit 1 fi