git: 041b28524a3c - main - release: Add workaround to use SVN for ports

Yasuhiro Kimura yasu at utahime.org
Wed Jan 20 10:47:19 UTC 2021


From: Yasuhiro Kimura <yasu at 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 at 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 at FreeBSD.org>
>> AuthorDate: 2021-01-19 18:38:33 +0000
>> Commit:     Glen Barber <gjb at 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


More information about the dev-commits-src-all mailing list