Stefan Reinauer submitted this change.

View Change

Approvals: Stefan Reinauer: Verified Anastasia Klimchuk: Looks good to me, approved
tree: Rename master branch to main

Change-Id: I8f4a377735f3f6ab4a22006949ff294a218bdf22
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Signed-off-by: Anastasia Klimchuk <aklm@flashrom.org>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/75706
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
---
M doc/dev_guide/development_guide.rst
M util/manibuilder/Makefile
M util/manibuilder/README.md
3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/doc/dev_guide/development_guide.rst b/doc/dev_guide/development_guide.rst
index 40837a9..bdbee37 100644
--- a/doc/dev_guide/development_guide.rst
+++ b/doc/dev_guide/development_guide.rst
@@ -32,7 +32,7 @@
* If using https: :code:`git remote add -f upstream https://review.coreboot.org/flashrom`
* If using ssh: :code:`git remote add -f upstream ssh://<gerrit_username>@review.coreboot.org:29418/flashrom`

-#. Check out a new local branch that tracks :code:`upstream/master`: :code:`git checkout -b <branch_name> upstream/master`
+#. Check out a new local branch that tracks :code:`upstream/main`: :code:`git checkout -b <branch_name> upstream/main`

#. Every patch is required to be signed-off (see also :ref:`sign-off`).
Set up your ``user.name`` and ``user.email`` in git config, and don't forget
@@ -191,7 +191,7 @@
Pushing a patch
---------------

-To push patch to Gerrit, use the follow command: :code:`git push upstream HEAD:refs/for/master`.
+To push patch to Gerrit, use the follow command: :code:`git push upstream HEAD:refs/for/main`.

* If using HTTPS you will be prompted for the username and password you
set in the Gerrit UI.
@@ -205,7 +205,7 @@
Adding a topic makes it easy to search "all the patches by the topic", even if the patches
have been authored by multiple people.

-To add a topic, push with the command: :code:`git push upstream HEAD:refs/for/master%topic=example_topic`.
+To add a topic, push with the command: :code:`git push upstream HEAD:refs/for/main%topic=example_topic`.
Alternatively, you can add a topic from a Gerrit UI after the patch in pushed
(on the top-left section) of patch UI.

diff --git a/util/manibuilder/Makefile b/util/manibuilder/Makefile
index 98ed30c..b1b982c 100644
--- a/util/manibuilder/Makefile
+++ b/util/manibuilder/Makefile
@@ -56,7 +56,7 @@
--env IDENT=$(call ident,$*) \
--volume manicache:/home/mani/.ccache \
--name mani_$(call ident,$*) mani/$* \
- "git fetch origin $${TEST_REVISION:-master} && \
+ "git fetch origin $${TEST_REVISION:-main} && \
git checkout FETCH_HEAD && \
$(MAKECMD) clean && $(MAKECMD) -j$${CPUS:-1} CC='$(CC)' \
$(if $(STRIP),STRIP='$(STRIP)') \
diff --git a/util/manibuilder/README.md b/util/manibuilder/README.md
index b00d618..e2ccd81 100644
--- a/util/manibuilder/README.md
+++ b/util/manibuilder/README.md
@@ -38,7 +38,7 @@
-------------

The most common use case may be testing the current upstream
-*master* branch which is the default for `$(TEST_REVISION)`.
+*main* branch which is the default for `$(TEST_REVISION)`.
You'll need roughly 20GiB for the *Docker* images. Might look
like this:


To view, visit change 75706. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: main
Gerrit-Change-Id: I8f4a377735f3f6ab4a22006949ff294a218bdf22
Gerrit-Change-Number: 75706
Gerrit-PatchSet: 3
Gerrit-Owner: Stefan Reinauer <stefan.reinauer@coreboot.org>
Gerrit-Reviewer: Anastasia Klimchuk <aklm@chromium.org>
Gerrit-Reviewer: Patrick Georgi <patrick@coreboot.org>
Gerrit-Reviewer: Stefan Reinauer <stefan.reinauer@coreboot.org>
Gerrit-Reviewer: Thomas Heijligen <src@posteo.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-MessageType: merged