diff options
author | Glen Barber <gjb@FreeBSD.org> | 2020-07-31 19:31:52 +0000 |
---|---|---|
committer | Glen Barber <gjb@FreeBSD.org> | 2020-07-31 19:31:52 +0000 |
commit | 66fe2bef957566358732720d66971e0813439243 (patch) | |
tree | 77cde31a1ae0b71656cb57266d22c7ec3eb29573 /release/release.conf.sample | |
parent | 40056899f641d741d8c0c71161ffa665f4502af3 (diff) | |
download | src-66fe2bef957566358732720d66971e0813439243.tar.gz src-66fe2bef957566358732720d66971e0813439243.zip |
release: update to use git instead of svn:
release.sh:
- Bump the version number.
- Default VCSCMD to '/usr/local/bin/git clone'.
- Rename SVN* variables to GIT* equivalents.
- Remove dead code to inject a trailing '/' between two variables.
- Remove SRC_FORCE_CHECKOUT.
- Exit if the build host does not have devel/git installed.
- Install devel/git in the build chroot(8) for newvers.sh.
release.conf.sample:
- Update sample configuration variables to the git equivalent.
relnotes-search.sh:
- Remove script. It is specifically for use with svn.
Sponsored by: Rubicon Communications, LLC (netgate.com)
Notes
Notes:
svn path=/projects/release-git/; revision=363740
Diffstat (limited to 'release/release.conf.sample')
-rw-r--r-- | release/release.conf.sample | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/release/release.conf.sample b/release/release.conf.sample index d4843a90cc00..23de28670a82 100644 --- a/release/release.conf.sample +++ b/release/release.conf.sample @@ -12,23 +12,19 @@ ## Set the directory within which the release will be built. CHROOTDIR="/scratch" -## Set the svn host. -SVNROOT="svn://svn.FreeBSD.org/" +## Set the version control system host. +GITROOT="https://cgit-beta.freebsd.org/" +GITSRC="src.git" +GITPORTS="ports.git" +GITDOC="doc.git" ## Set the src/, ports/, and doc/ branches or tags. -SRCBRANCH="base/head@rHEAD" -DOCBRANCH="doc/head@rHEAD" -PORTBRANCH="ports/head@rHEAD" - -## Run svn co --force for src checkout. -#SRC_FORCE_CHECKOUT=yes - -## Sample configuration for using git instead of svn. -#VCSCMD="/usr/local/bin/git clone --branch master" -#SVNROOT="" -#SRCBRANCH="https://github.com/freebsd/freebsd" -#DOCBRANCH="https://github.com/freebsd/freebsd-doc" -#PORTBRANCH="https://github.com/freebsd/freebsd-ports" +SRCBRANCH="main" +DOCBRANCH="main" +PORTBRANCH="main" + +## Sample configuration for using git from ports. +#GITCMD="/usr/local/bin/git clone --branch main" ## Set to override the default target architecture. #TARGET="amd64" |