Rename the git branch used for development to 'main'

This follows the convention used by many projects and hosting platforms.

Signed-off-by: Simon McVittie <smcv@collabora.com>
(cherry picked from commit 0670360363)
This commit is contained in:
Simon McVittie 2025-02-18 14:31:28 +00:00
parent 7de27f6ea4
commit 093a9fa360
4 changed files with 7 additions and 7 deletions

View file

@ -57,7 +57,7 @@ variables:
###
WINDOWS_TAG: "2023-05-12.0"
UPSTREAM_BRANCH: 'master'
UPSTREAM_BRANCH: 'main'
UPSTREAM_REPO: 'dbus/dbus'
WINDOWS_AMD64_SUFFIX: 'amd64/windows'
WINDOWS_IMAGE: "$CI_REGISTRY_IMAGE/$WINDOWS_AMD64_SUFFIX:$WINDOWS_TAG-$UPSTREAM_BRANCH"

View file

@ -73,12 +73,12 @@ branch in future.
Stable branches are named after the version number itself (`dbus-1.2`,
`dbus-1.4`), whereas the development branch is simply known as
`master`.
`main`.
New features, enhancements, minor bug fixes, and bug fixes that are
unusually intrusive should always be based on the `master` branch.
unusually intrusive should always be based on the `main` branch.
Fixes for significant bugs should be developed on the `master` branch
Fixes for significant bugs should be developed on the `main` branch
and cherry-picked to the most recent stable branch.
Depending on the release cycles of various Linux distributions, some

2
NEWS
View file

@ -176,7 +176,7 @@ Build-time configuration changes:
It is incomplete and not ready for production use, and has been
compile-time-disabled and impossible to enable without patching
since 1.13.20. To reduce confusion, delete the code completely.
It remains present on the git `master` branch for 1.17.x, and will
It remains present on the git `main` branch for 1.17.x, and will
hopefully be reinstated during the 1.17.x cycle.
(dbus!488, dbus!490; Simon McVittie)

View file

@ -46,7 +46,7 @@ To make a release of D-Bus, do the following:
dbus-specification.xml and set the release date to "(not finalized)".
- push your changes and the tag to the central repository with
`git push origin master dbus-X.Y dbus-X.Y.Z`
`git push --atomic origin main dbus-X.Y dbus-X.Y.Z`
- scp your tarball to freedesktop.org server and copy it to
`dbus.freedesktop.org:/srv/dbus.freedesktop.org/www/releases/dbus/`.
@ -72,7 +72,7 @@ Because we won't make minor changes like keeping up with the latest
deprecations on a stable branch, stable branches should turn off the
gcc warning for deprecated declarations (e.g. see commit 76a68867).
Be extra-careful not to merge master (or any branch based on master) into a
Be extra-careful not to merge main (or any branch based on main) into a
stable branch.
To branch: