svn commit: r450616 - svnadmin/hooks/scripts
Kubilay Kocak
koobs at FreeBSD.org
Mon Sep 25 15:53:24 UTC 2017
On 9/26/17 1:37 AM, Mathieu Arnold wrote:
> 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
>
I just saw this on commit:
svn: E165001: Commit failed (details follow):
svn: E165001: Commit blocked by pre-commit hook (exit code 1) with output:
/s/svn/ports/hooks/scripts/stage-only.sh: 38: Syntax error: redirection
unexpected (expecting word)
More information about the svn-ports-svnadmin
mailing list