diff --git a/documentation/content/en/articles/freebsd-releng/_index.adoc b/documentation/content/en/articles/freebsd-releng/_index.adoc --- a/documentation/content/en/articles/freebsd-releng/_index.adoc +++ b/documentation/content/en/articles/freebsd-releng/_index.adoc @@ -29,11 +29,14 @@ :teamSecteam: FreeBSD Security Team :branchHead: main :branchStable: stable/ -:branchStablex: stable/13 +:branchStablex: stable/15 :branchReleng: releng/ -:branchRelengx: releng/13.0 -:tagReleasex: release/13.0.0 -:branchRevision: 13.0 +:branchRelengx: releng/15.0 +:tagReleasex: release/15.0.0 +:branchRevision: 15.0 +:branchRevisionShort: 15 +:branchRevisionNext: 16.0 +:branchRevisionNextShort: 16 :images-path: articles/freebsd-releng/ @@ -119,70 +122,95 @@ For example: [.informaltable] -[cols="1,1", frame="none", options="header"] +[cols="1,1,", frame="none", options="header"] |=== -| Milestone -| Anticipated Date +|Action +|Expected +|Description + +|Initial release schedule announcement +|7 April 2025 +|Release Engineers send announcement email to developers with a rough schedule. -|{branchHead} slush: -|May 27, 2016 +|Release schedule reminder +|11 July 2025 +|Release Engineers send reminder announcement e-mail to developers with updated schedule. -|{branchHead} freeze: -|June 10, 2016 +|HEAD slush begins +|8 August 2025 +|Release Engineers announce that further commits to the {localBranchHead} branch will not require explicit approval, however new features should be avoided. -|{branchHead} KBI freeze: -|June 24, 2016 +|{branchStablex} branch +|5 September 2025 +|{branchStablex} branch created; future release engineering proceeds on this branch. -|`doc/` tree slush [1]: -|June 24, 2016 +|ALPHA1 builds begin +|5 September 2025 +|First alpha test snapshot. -|Ports quarterly branch [2]: -|July 1, 2016 +|ALPHA2 builds begin +|12 September 2025 +|Second alpha test snapshot. -|{branchStablex} branch: -|July 8, 2016 +|ALPHA3 builds begin +|19 September 2025 +|Third alpha test snapshot. -|`doc/` tree tag [3]: -|July 8, 2016 +|ALPHA4 builds begin +|26 September 2025 +|Fourth alpha test snapshot. -|BETA1 build starts: -|July 8, 2016 +|{branchRelengx} branch +|3 October 2025 +|{branchRelengx} branch created; future release engineering proceeds on this branch. -|{branchHead} thaw: -|July 9, 2016 +|BETA1 builds begin +|3 October 2025 +|First beta test snapshot. -|BETA2 build starts: -|July 15, 2016 +|BETA2 builds begin +|10 October 2025 +|Second beta test snapshot. -|BETA3 build starts [*]: -|July 22, 2016 +|BETA3 builds begin +|17 October 2025 +|Third beta test snapshot. -|{branchRelengx} branch: -|July 29, 2016 +|BETA4 builds begin +|24 October 2025 +|Fourth beta test snapshot. -|RC1 build starts: -|July 29, 2016 +|RC1 builds begin +|31 October 2025 +|First release candidate. -|{branchStablex} thaw: -|July 30, 2016 +|RC2 builds begin* +|7 November 2025 +|Second release candidate. -|RC2 build starts: -|August 5, 2016 +|RC3 builds begin* +|14 November 2025 +|Third release candidate. -|Final Ports package builds [4]: -|August 6, 2016 +|RC4 builds begin* +|21 November 2025 +|Fourth release candidate. -|Ports release tag: -|August 12, 2016 +|RELEASE builds begin +|28 November 2025 +|{branchRevision}-RELEASE builds begin. -|RC3 build starts [*]: -|August 12, 2016 +|RELEASE announcement +|2 December 2025 +|{branchRevision}-RELEASE press release. -|RELEASE build starts: -|August 19, 2016 +|{branchRevision} EoL +|30 September 2026 +|{branchRevision}-RELEASE no longer supported. -|RELEASE announcement: -|September 2, 2016 +|{branchStablex} EoL +|31 December 2029 +|{branchStablex} no longer supported. |=== [NOTE] @@ -347,17 +375,22 @@ This section describes the general procedures of the FreeBSD release cycle from the {branchHead} branch. +[[before-releng-head-branching]] +=== Before Creating the {branchStablex} Branch + +When the code slush is announced on the {branchHead} branch, the `BRANCH` value in [.filename]#sys/conf/newvers.sh# is temporarily changed from CURRENT to PRERELEASE. This indicates that the branch is in the pre-release preparation phase before the {branchStable} branch is created. + [[releng-head-builds-alpha]] === FreeBSD "`ALPHA`" Builds Starting with the FreeBSD 10.0-RELEASE cycle, the notion of "`ALPHA`" builds was introduced. -Unlike the `BETA` and `RC` builds, `ALPHA` builds are not included in the FreeBSD Release schedule. +Starting with the FreeBSD 15.0-RELEASE cycle, `ALPHA` builds are included in the FreeBSD Release schedule, like the `BETA` and `RC` builds. -The idea behind `ALPHA` builds is to provide regular FreeBSD-provided builds before the creation of the {branchStable} branch. +The idea behind `ALPHA` builds is to provide regular FreeBSD-provided builds from the newly created {branchStable} branch, allowing broader testing before the code freeze (marked by the creation of the `releng/` branch) and the BETA phase begin. FreeBSD `ALPHA` snapshots should be built approximately once a week. -For the first `ALPHA` build, the `BRANCH` value in [.filename]#sys/conf/newvers.sh# needs to be changed from `CURRENT` to `ALPHA1`. +For the first `ALPHA` build, the `BRANCH` value in [.filename]#sys/conf/newvers.sh# needs to be changed from `PRERELEASE` to `ALPHA1`. For subsequent `ALPHA` builds, increment each `ALPHA__N__` value by one. See crossref:freebsd-releng[releng-building, Building FreeBSD Installation Media] for information on building the `ALPHA` images. @@ -388,9 +421,9 @@ | What to Change |[.filename]#UPDATING# -|Update the FreeBSD version, and remove the notice about `WITNESS` +|Update the FreeBSD version, and remove the notice `NOTE TO PEOPLE...`, add an entry about branching {branchStablex} version -|[.filename]#contrib/jemalloc/include/jemalloc/jemalloc_FreeBSD.h# +| -[.filename]#contrib/jemalloc/include/jemalloc/jemalloc_FreeBSD.h# a| [source,shell,subs="attributes"] @@ -400,35 +433,50 @@ #endif .... -|[.filename]#lib/clang/llvm.build.mk# +| -[.filename]#lib/clang/llvm.build.mk# |Uncomment `-DNDEBUG` |[.filename]#sys/\*/conf/GENERIC*# -|Remove debugging support +|Remove debugging support (remove a line `include "std.debug"`) |[.filename]#sys/*/conf/MINIMAL# -|Remove debugging support +|Remove debugging support (remove a line `include "std.debug"`) |[.filename]#release/release.conf.sample# -|Update `SRCBRANCH` +|Update `SRCBRANCH` from `main` to `{branchStablex}` + +|[.filename]#sys/*/conf/GENERIC*-NODEBUG# +|Remove these kernel configurations (remove files) -|[.filename]#sys/*/conf/GENERIC-NODEBUG# -|Remove these kernel configurations +|[.filename]#sys/*/conf/MINIMAL-NODEBUG# +|Remove these kernel configurations (remove files) |[.filename]#sys/arm/conf/std.arm*# |Remove debugging options +|[.filename]#sys/\*/conf/GENERIC*-(DEBUG\|KASAN\|KMSAN)# +|Add debugging support + |[.filename]#sys/conf/newvers.sh# -|Update the `BRANCH` value to reflect `BETA1` +|Update the `BRANCH` value to reflect `ALPHA1` |[.filename]#share/mk/src.opts.mk# |Move `REPRODUCIBLE_BUILD` from `\__DEFAULT_NO_OPTIONS` to `__DEFAULT_YES_OPTIONS` +|[.filename]#share/mk/src.opts.mk# +|Move `MALLOC_PRODUCTION` from `\__DEFAULT_NO_OPTIONS` to `__DEFAULT_YES_OPTIONS` + |[.filename]#share/mk/src.opts.mk# |Move `LLVM_ASSERTIONS` from `\__DEFAULT_YES_OPTIONS` to `__DEFAULT_NO_OPTIONS` +|[.filename]#share/mk/src.opts.mk# +|Move `PTHREADS_ASSERTIONS` from `\__DEFAULT_YES_OPTIONS` to `__DEFAULT_NO_OPTIONS` + +|[.filename]#share/man/man5/src.conf.5# +|Change the description of the above opions in man. + |[.filename]#libexec/rc/rc.conf# -|Set `dumpdev` from `AUTO` to `NO` (it is configurable via for those that want it enabled by default) +|Set `dumpdev` from `AUTO` to `NO` (it is configurable via man:bsdinstall[8] for those that want it enabled by default) |[.filename]#release/Makefile# |Remove the `debug.witness.trace` entries @@ -443,34 +491,19 @@ | What to Change |[.filename]#UPDATING# -|Update the FreeBSD version +|Update the FreeBSD version from {branchRevisionShort} to {branchRevisionNextShort}, add an entry with {branchRevisionNext}-CURRENT version |[.filename]#sys/conf/newvers.sh# -|Update the `BRANCH` value to reflect `CURRENT`, and increment `REVISION` - -|[.filename]#Makefile.inc1# -|Update `TARGET_TRIPLE` and `MACHINE_TRIPLE` +|Update the `BRANCH` value to reflect `CURRENT`, and increment `REVISION` to `{branchRevisionNext}` |[.filename]#sys/sys/param.h# -|Update `__FreeBSD_version` - -|[.filename]#gnu/usr.bin/cc/cc_tools/freebsd-native.h# -|Update `FBSD_MAJOR` and `FBSD_CC_VER` - -|[.filename]#contrib/gcc/config.gcc# -|Append the `freebsdversion.h` section - -|[.filename]#lib/clang/llvm.build.mk# -|Update the value of `OS_VERSION` +|Update `__FreeBSD_version` to `{branchRevisionNextShort}0000` |[.filename]#lib/clang/freebsd_cc_version.h# -|Update `FREEBSD_CC_VERSION` +|Update `FREEBSD_CC_VERSION` to `{branchRevisionNextShort}0000` |[.filename]#lib/clang/include/lld/Common/Version.inc# -|Update `LLD_REVISION_STRING` - -|[.filename]#Makefile.libcompat# -|Update `LIB32CPUFLAGS` +|Update `LLD_REVISION_STRING` to `{branchRevisionNextShort}0000` |=== [[releng-stable]] @@ -493,14 +526,8 @@ |[.filename]#sys/conf/newvers.sh# |Update the `BRANCH` value to reflect `PRERELEASE` -|[.filename]#Makefile.inc1# -|Update `TARGET_TRIPLE` - -|[.filename]#lib/clang/llvm.build.mk# -|Update `OS_VERSION` - -|[.filename]#Makefile.libcompat# -|Update `LIB32CPUFLAGS` +|[.filename]#usr.bin/yacc/config.h# +|Update SYSTEM_NAME to freebsd{branchRevision} |=== [[releng-stable-builds-beta]] @@ -791,3 +818,10 @@ |[.filename]#~/website/static/security/errata-template.txt# |Remove references to the release and releng branch. |=== + +[[further-reading]] +== Further Reading + +You may however find the following additional references useful: + +* link:https://freebsdfoundation.org/our-work/journal/browser-based-edition/downstreams/freebsd-release-engineering-a-new-sheriff-is-in-town/[2023] "FreeBSD Release Engineering: A New Sheriff is in Town" by Colin Percival.