Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 May 2020 19:16:50 -0400
From:      Theron <theron.tarigo@gmail.com>
To:        Christoph Moench-Tegeder <cmt@burggraben.net>, Lev Serebryakov <lev@freebsd.org>
Cc:        freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Re: Can not add port with name "py3c" (which is name of project!)
Message-ID:  <5bc27bc8-10fa-3978-245a-5953fa6efcd9@gmail.com>
In-Reply-To: <20200531231315.GA2461@elch.exwg.net>
References:  <1549834604.20200601003004@serebryakov.spb.ru> <20200531231315.GA2461@elch.exwg.net>

next in thread | previous in thread | raw e-mail | index | archive | help


On 2020-05-31 19:13, Christoph Moench-Tegeder wrote:
> ## Lev Serebryakov (lev@FreeBSD.org):
>
>> svn: E165001: Commit failed (details follow):
>> svn: E165001: Commit blocked by pre-commit hook (exit code 1) with output:
>> Adding new py3- ports is forbidden.
>> The Python ports have flavors and do not need the py3- ports.
> https://svnweb.freebsd.org/ports/svnadmin/hooks/scripts/detect-filename.sh?revision=455211&view=markup#l20
>
> There it is. That grep seems overly broad, it needs a -.
> Ping mat and/or portmgr.
>
I just saw the same thing, probably this

if $SVNLOOK changed -t "$TXN" "$REPO" | grep -q -E '^A.*/py3'; then

should be

if $SVNLOOK changed -t "$TXN" "$REPO" | grep -q -E '^A .*/py3[0-9]?-'; then

And for the case in question, if py3c is a C library, not a python 
package, py- prefix does not seem to be appropriate.

Theron



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5bc27bc8-10fa-3978-245a-5953fa6efcd9>