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

View File

@ -34,8 +34,6 @@
# totally clean, fresh trees.
# Based on release/generate-release.sh written by Nathan Whitehorn
#
# $FreeBSD$
#
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/,
# and ports/.
GITROOT="https://cgit-beta.FreeBSD.org/"
GITROOT="https://git.FreeBSD.org/"
SRCBRANCH="main"
DOCBRANCH="main"
PORTBRANCH="main"
@ -137,7 +135,8 @@ env_check() {
# Prefix the branches with the GITROOT for the full checkout URL.
SRC="${GITROOT}${GITSRC}"
DOC="${GITROOT}${GITDOC}"
PORT="${GITROOT}${GITPORTS}"
#PORT="${GITROOT}${GITPORTS}"
PORT="https://cgit-beta.freebsd.org/ports.git"
if [ -n "${EMBEDDEDBUILD}" ]; then
WITH_DVD=