release.sh: Update GITROOT URL

Hard-code the GITROOT for the ports tree to use cgit-beta
until the ports repository is converted.

While here, remove $FreeBSD$ RCS IDs.

Sponsored by:	Rubicon Communications, LLC (netgate.com)
This commit is contained in:
Glen Barber 2020-12-29 09:34:05 -05:00
parent 123019739c
commit 70e64ba449
2 changed files with 4 additions and 7 deletions

View File

@ -1,7 +1,5 @@
#!/bin/sh #!/bin/sh
# #
# $FreeBSD$
#
## Redefine environment variables here to override prototypes ## Redefine environment variables here to override prototypes
## defined in release.sh. ## defined in release.sh.
@ -15,7 +13,7 @@ CHROOTDIR="/scratch"
## Do not explicitly require the devel/git port to be installed. ## Do not explicitly require the devel/git port to be installed.
#NOGIT=1 #NOGIT=1
## Set the version control system host. ## Set the version control system host.
GITROOT="https://cgit-beta.freebsd.org/" GITROOT="https://git.freebsd.org/"
GITSRC="src.git" GITSRC="src.git"
GITPORTS="ports.git" GITPORTS="ports.git"
GITDOC="doc.git" GITDOC="doc.git"

View File

@ -34,8 +34,6 @@
# totally clean, fresh trees. # totally clean, fresh trees.
# Based on release/generate-release.sh written by Nathan Whitehorn # Based on release/generate-release.sh written by Nathan Whitehorn
# #
# $FreeBSD$
#
export PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin" export PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin"
@ -75,7 +73,7 @@ env_setup() {
# The default git checkout server, and branches for src/, doc/, # The default git checkout server, and branches for src/, doc/,
# and ports/. # and ports/.
GITROOT="https://cgit-beta.FreeBSD.org/" GITROOT="https://git.FreeBSD.org/"
SRCBRANCH="main" SRCBRANCH="main"
DOCBRANCH="main" DOCBRANCH="main"
PORTBRANCH="main" PORTBRANCH="main"
@ -137,7 +135,8 @@ env_check() {
# Prefix the branches with the GITROOT for the full checkout URL. # Prefix the branches with the GITROOT for the full checkout URL.
SRC="${GITROOT}${GITSRC}" SRC="${GITROOT}${GITSRC}"
DOC="${GITROOT}${GITDOC}" DOC="${GITROOT}${GITDOC}"
PORT="${GITROOT}${GITPORTS}" #PORT="${GITROOT}${GITPORTS}"
PORT="https://cgit-beta.freebsd.org/ports.git"
if [ -n "${EMBEDDEDBUILD}" ]; then if [ -n "${EMBEDDEDBUILD}" ]; then
WITH_DVD= WITH_DVD=