Update branch and URL references in the documentation
v2 cover Update branch and URL references in the documentation
Replace master with main as name of the primary branch. Replace previous U-Boot git repo URL at DENX with current one.
---
Changes in v2:
- patch-1: highlight main and next branch names (Quentin)
- patch-1: remove spurious added word "one" (Quentin)
- patch-2: collect Quentin Reviewed-by tag
- Link to v1: https://patch.msgid.link/[email protected]
To: [email protected]
To: Heinrich Schuchardt <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Quentin Schulz <[email protected]>
Cc: Massimo Pegorer <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Quentin Schulz <[email protected]>
---
Massimo Pegorer (2):
doc: Replace master with main as primary branch name
global: Update references to U-Boot git repo URL
board/rockchip/evb_rk3229/README | 2 +- doc/CONTRIBUTE.rst | 10 +++++----- doc/develop/sending_patches.rst | 10 +++++----- tools/buildman/buildman.rst | 10 +++++----- 4 files changed, 16 insertions(+), 16 deletions(-)
---
base-commit: 03e45557e1f38a39a0c80fe30483130ff376cf92
change-id: 20261018-master-main-b0aaca076372
Best regards,
Signature · 1 line
Massimo Pegorer <[email protected]>
PATCH v2 1/2 doc: Replace master with main as primary branch name
The primary branch name is main, not master anymore. Update references still naming it master in the documentation, replacing master with main.
--- doc/CONTRIBUTE.rst | 10 +++++----- doc/develop/sending_patches.rst | 10 +++++----- tools/buildman/buildman.rst | 8 ++++---- 3 files changed, 14 insertions(+), 14 deletions(-)
doc/CONTRIBUTE.rst +5 -5
@@ -73,11 +73,11 @@ considered as reasonable amount of time. Development Branches -------------------- -The U-Boot developers use two main branches for developing the code. The master -branch is used for the current development cycle, while there is also a next -branch intended to land changes for the next release early to enable wider -testing of larger code changes. The next branch is merged to master shortly -after the tagging of a new major release. +The U-Boot developers use two primary branches for developing the code. The +``main`` branch is used for the current development cycle, while there is also a +``next`` branch intended to land changes for the next release early to enable +wider testing of larger code changes. The ``next`` branch is merged to ``main`` +shortly after the tagging of a new major release. Similar to Linux there is a three week merge window post release after which a release candidate is tagged. There's typically a new release candidate every
doc/develop/sending_patches.rst +5 -5
@@ -36,7 +36,7 @@ configuration file and ``scripts/get_maintainer.pl``. .. code-block:: bash b4 prep -n mmc-fixes - git rebase -i origin/master + git rebase -i origin/main b4 prep --edit-cover b4 prep --auto-to-cc
@@ -65,7 +65,7 @@ fold them into your commits before resending the updated series. .. code-block:: bash b4 trailers -u - git rebase -i origin/master + git rebase -i origin/main b4 send Using patman
@@ -132,11 +132,11 @@ General Patch Submission Rules * Send your patches as plain text messages: no HTML, no MIME, no links, no compression, no attachments. Just plain text. The best way to generate patches is by using the ``git format-patch`` command. For a patch that is - fixing a bug or regression of some sort, please use the ``master`` branch of + fixing a bug or regression of some sort, please use the ``main`` branch of the mainline U-Boot git repository located at https://git.u-boot-project.org/u-boot/u-boot.git as reference. For new features, if the ``next`` branch has been opened (which happens with the release of - ``-rc2``) that branch should be used, otherwise ``master`` is acceptable. + ``-rc2``) that branch should be used, otherwise ``main`` is acceptable. * Make sure that your mailer does not mangle the patch by automatic changes like wrapping of longer lines etc.
@@ -452,7 +452,7 @@ today. Not all states are used by all custodians. it will be accepted for mainline. * Awaiting Upstream: A custodian may have applied this to the ``next`` branch - and has not merged yet to master, or has queued the patch up to be submitted + and has not merged yet to ``main``, or has queued the patch up to be submitted to be merged, but has not yet. * Superseded: Patches are marked as 'superseded' when the poster submits a
tools/buildman/buildman.rst +4 -4
@@ -180,7 +180,7 @@ Setting up cd /path/to/u-boot git clone git://git.denx.de/u-boot.git . - git checkout -b my-branch origin/master + git checkout -b my-branch origin/main # Add some commits to the branch, reading for testing #. Create ~/.buildman to tell Buildman where to find tool chains (see
@@ -505,7 +505,7 @@ branch with a valid upstream): ./tools/buildman/buildman -b <branch> -n If it can't detect the upstream branch, try checking out the branch, and -doing something like ``git branch --set-upstream-to upstream/master`` +doing something like ``git branch --set-upstream-to upstream/main`` or something similar. Buildman will try to guess a suitable upstream branch if it can't find one (you will see a message like "Guessing upstream as ..."). You can also use the -c option to manually specify the number of commits to
@@ -1008,9 +1008,9 @@ Building Ranges You can build a range of commits by specifying a range instead of a branch when using the -b flag. For example:: - buildman -b upstream/master..us-buildman + buildman -b upstream/main..us-buildman -will build commits in us-buildman that are not in upstream/master. +will build commits in us-buildman that are not in upstream/main. Building Faster
Signature · 1 line
2.34.1
Re: [PATCH v2 1/2] doc: Replace master with main as primary branch name
Hi Massimo,
Quoted 4 lines · Massimo Pegorer
The primary branch name is main, not master anymore. Update references still naming it master in the documentation, replacing master with main.
Signed-off-by Massimo Pegorer <[email protected]>
Thanks!
Quentin
PATCH v2 2/2 global: Update references to U-Boot git repo URL
In reply to Massimo PegorerU-Boot git repository URL is git.u-boot-project.org. Update some references in the documentation still pointing to the previous URL at DENX.
--- board/rockchip/evb_rk3229/README | 2 +- tools/buildman/buildman.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
board/rockchip/evb_rk3229/README +1 -1
@@ -3,7 +3,7 @@ Get the Source and prebuild binary > mkdir ~/evb_rk3229 > cd ~/evb_rk3229 - > git clone git://git.denx.de/u-boot.git + > git clone https://git.u-boot-project.org/u-boot/u-boot.git > git clone https://github.com/OP-TEE/optee_os.git > git clone https://github.com/rockchip-linux/rkbin.git > git clone https://github.com/rockchip-linux/rkdeveloptool.git
tools/buildman/buildman.rst +1 -1
@@ -179,7 +179,7 @@ Setting up .. code-block:: bash cd /path/to/u-boot - git clone git://git.denx.de/u-boot.git . + git clone https://git.u-boot-project.org/u-boot/u-boot.git . git checkout -b my-branch origin/main # Add some commits to the branch, reading for testing
Signature · 1 line
2.34.1