Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jan 2021 19:46:46 +0900 (JST)
From:      Yasuhiro Kimura <yasu@utahime.org>
To:        gjb@FreeBSD.org
Cc:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   Re: git: 041b28524a3c - main - release: Add workaround to use SVN for ports
Message-ID:  <20210120.194646.2281393142538351130.yasu@utahime.org>
In-Reply-To: <20210120.172933.1039050893851306070.yasu@utahime.org>
References:  <202101191838.10JIcorS044601@gitrepo.freebsd.org> <20210120.172933.1039050893851306070.yasu@utahime.org>

next in thread | previous in thread | raw e-mail | index | archive | help
From: Yasuhiro Kimura <yasu@utahime.org>
Subject: Re: git: 041b28524a3c - main - release: Add workaround to use SVN for ports
Date: Wed, 20 Jan 2021 17:29:33 +0900 (JST)

> From: Glen Barber <gjb@FreeBSD.org>
> Subject: git: 041b28524a3c - main - release: Add workaround to use SVN for ports
> Date: Tue, 19 Jan 2021 18:38:50 GMT
> 
>> The branch main has been updated by gjb:
>> 
>> URL: https://cgit.FreeBSD.org/src/commit/?id=041b28524a3c69ff6e893067df156c3faabcac9a
>> 
>> commit 041b28524a3c69ff6e893067df156c3faabcac9a
>> Author:     Glen Barber <gjb@FreeBSD.org>
>> AuthorDate: 2021-01-19 18:38:33 +0000
>> Commit:     Glen Barber <gjb@FreeBSD.org>
>> CommitDate: 2021-01-19 18:38:33 +0000
>> 
>>     release: Add workaround to use SVN for ports
>>     
>>     The ports tree is scheduled to be converted from Subversion to Git
>>     after the currently-scheduled 13.0-RELEASE, so the source of truth
>>     will be Subversion for the ports tree.
>>     
>>     Implement a hack specifically for this case.
> 
> This change results in accessing 'svn://svn.freebsd.org/ports/head/head'
> and failing to check out ports tree.

Following patch fixes the problem.

diff --git a/release/release.sh b/release/release.sh
index 60034f12349..fbd64bb8234 100755
--- a/release/release.sh
+++ b/release/release.sh
@@ -147,7 +147,7 @@ env_check() {
 	SRC="${GITROOT}${GITSRC}"
 	DOC="${GITROOT}${GITDOC}"
 	#PORT="${GITROOT}${GITPORTS}"
-	PORT="svn://svn.freebsd.org/ports/${PORTBRANCH}"
+	PORT="svn://svn.freebsd.org/ports/"
 
 	if [ -n "${EMBEDDEDBUILD}" ]; then
 		WITH_DVD=

---
Yasuhiro Kimura



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