Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jun 2017 03:36:36 +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: r443729 - svnadmin/hooks/scripts
Message-ID:  <201706170336.v5H3aaLW023763@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Sat Jun 17 03:36:36 2017
New Revision: 443729
URL: https://svnweb.freebsd.org/changeset/ports/443729

Log:
  Disallow adding ports with '@' in them.
  
  This will be used for FLAVORS.
  
  Approved by:	portmgr (implicit)

Modified:
  svnadmin/hooks/scripts/detect-filename.sh

Modified: svnadmin/hooks/scripts/detect-filename.sh
==============================================================================
--- svnadmin/hooks/scripts/detect-filename.sh	Sat Jun 17 03:01:56 2017	(r443728)
+++ svnadmin/hooks/scripts/detect-filename.sh	Sat Jun 17 03:36:36 2017	(r443729)
@@ -17,9 +17,9 @@ fi
 $SVNLOOK log -t "$TXN" "$REPO" | grep -q 'portmgr' && exit 0
 
 # We scan through the transaction diff, looking for files with colon in the name
-if $SVNLOOK changed -t "$TXN" "$REPO" | grep -q -E '^A.*:'; then
-  echo "Some files in your commit have a colon (:) in the name" >&2
-  echo "which is not allowed. Use _ instead of : for patches." >&2
+if $SVNLOOK changed -t "$TXN" "$REPO" | grep -q -E '^A.*[:@]'; then
+  echo "Some files in your commit have a colon (:) or (@) in the name" >&2
+  echo "which is not allowed. Use _ instead for patches." >&2
   echo "Or even better, generate your patches with make makepatch." >&2
   echo "For further information please read:" >&2
   echo "http://www.freebsd.org/doc/en/books/porters-handbook/slow-patch.html" >&2



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