Skip to content

Commit fe0bfcf

Browse files
committed
Migrate master->main
Change references in CI and docs from 'master' to 'main' as the primary branch has been renamed. Signed-off-by: David Brown <david.brown@linaro.org>
1 parent 137d797 commit fe0bfcf

11 files changed

+24
-24
lines changed

.github/workflows/imgtool.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
on:
22
push:
33
branches:
4-
- master
4+
- main
55
- v*-branch
66

77
name: imgtool

.github/workflows/mynewt.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
on:
33
push:
44
branches:
5-
- master
5+
- main
66
pull_request:
77

88
name: Mynewt

.github/workflows/sim.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
on:
33
push:
44
branches:
5-
- master
5+
- main
66
pull_request:
77

88
name: Sim

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![Build Status (Sim)](https://github.com/mcu-tools/mcuboot/workflows/Sim/badge.svg)][sim]
66
[![Build Status (Mynewt)](https://github.com/mcu-tools/mcuboot/workflows/Mynewt/badge.svg)][mynewt]
77
[![Publishing Status (imgtool)](https://github.com/mcu-tools/mcuboot/workflows/imgtool/badge.svg)][imgtool]
8-
[![Build Status (Travis CI)](https://img.shields.io/travis/mcu-tools/mcuboot/master.svg?label=travis-ci)][travis]
8+
[![Build Status (Travis CI)](https://img.shields.io/travis/mcu-tools/mcuboot/main.svg?label=travis-ci)][travis]
99
[![Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)][license]
1010

1111
[pypi]: https://pypi.org/project/imgtool/
@@ -14,7 +14,7 @@
1414
[mynewt]: https://github.com/mcu-tools/mcuboot/actions?query=workflow:Mynewt
1515
[imgtool]: https://github.com/mcu-tools/mcuboot/actions?query=workflow:imgtool
1616
[travis]: https://travis-ci.org/mcu-tools/mcuboot
17-
[license]: https://github.com/mcu-tools/mcuboot/blob/master/LICENSE
17+
[license]: https://github.com/mcu-tools/mcuboot/blob/main/LICENSE
1818

1919
This is mcuboot version 1.8.0-dev
2020

ci/imgtool_install.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
# limitations under the License.
1414

1515
if [[ $TRAVIS == "true" ]]; then
16-
if [[ $TRAVIS_PULL_REQUEST != "false" || $TRAVIS_BRANCH != "master" ]]; then
17-
echo "Either a PR or not \"master\" branch, exiting"
16+
if [[ $TRAVIS_PULL_REQUEST != "false" || $TRAVIS_BRANCH != "main" ]]; then
17+
echo "Either a PR or not \"main\" branch, exiting"
1818
exit 0
1919
fi
2020
fi

ci/imgtool_run.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
# limitations under the License.
1414

1515
if [[ $TRAVIS == "true" ]]; then
16-
if [[ $TRAVIS_PULL_REQUEST != "false" || $TRAVIS_BRANCH != "master" ]]; then
17-
echo "Either a PR or not \"master\" branch, exiting"
16+
if [[ $TRAVIS_PULL_REQUEST != "false" || $TRAVIS_BRANCH != "main" ]]; then
17+
echo "Either a PR or not \"main\" branch, exiting"
1818
exit 0
1919
fi
2020
fi

docs/index.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@ Information and documentation on the bootloader is stored within the source.
6161

6262
For more information in the source, here are some pointers:
6363

64-
- [boot/bootutil](https://github.com/mcu-tools/mcuboot/tree/master/boot/bootutil): The core of the bootloader itself.
65-
- [boot/boot\_serial](https://github.com/mcu-tools/mcuboot/tree/master/boot/boot_serial): Support for serial upgrade within the bootloader itself.
66-
- [boot/zephyr](https://github.com/mcu-tools/mcuboot/tree/master/boot/zephyr): Port of the bootloader to Zephyr
67-
- [boot/mynewt](https://github.com/mcu-tools/mcuboot/tree/master/boot/mynewt): Mynewt bootloader app
68-
- [boot/mbed](https://github.com/mcu-tools/mcuboot/tree/master/boot/mbed): Port of the bootloader to Mbed-OS
69-
- [imgtool](https://github.com/mcu-tools/mcuboot/tree/master/scripts/imgtool.py): A tool to securely sign firmware images for booting by MCUboot.
70-
- [sim](https://github.com/mcu-tools/mcuboot/tree/master/sim): A bootloader simulator for testing and regression
64+
- [boot/bootutil](https://github.com/mcu-tools/mcuboot/tree/main/boot/bootutil): The core of the bootloader itself.
65+
- [boot/boot\_serial](https://github.com/mcu-tools/mcuboot/tree/main/boot/boot_serial): Support for serial upgrade within the bootloader itself.
66+
- [boot/zephyr](https://github.com/mcu-tools/mcuboot/tree/main/boot/zephyr): Port of the bootloader to Zephyr
67+
- [boot/mynewt](https://github.com/mcu-tools/mcuboot/tree/main/boot/mynewt): Mynewt bootloader app
68+
- [boot/mbed](https://github.com/mcu-tools/mcuboot/tree/main/boot/mbed): Port of the bootloader to Mbed-OS
69+
- [imgtool](https://github.com/mcu-tools/mcuboot/tree/main/scripts/imgtool.py): A tool to securely sign firmware images for booting by MCUboot.
70+
- [sim](https://github.com/mcu-tools/mcuboot/tree/main/sim): A bootloader simulator for testing and regression
7171

7272
## Joining
7373

docs/readme-mbed.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ To use MCUboot, you need to create an Mbed OS project with the following configu
1616
* `"mcuboot.max-img-sectors"`: maximum number of sectors, should be at least the number of sectors in each slot
1717
* `"target.restrict_size"`: the maximum size of the bootloader, such that it does not overlap with the primary slot
1818

19-
More configurations such as signing algorithm, slot swapping, etc. can be found in [mbed_lib.json](https://github.com/mcu-tools/mcuboot/tree/master/boot/mbed/mbed_lib.json). Please note that certain features are not currently supported.
19+
More configurations such as signing algorithm, slot swapping, etc. can be found in [mbed_lib.json](https://github.com/mcu-tools/mcuboot/tree/main/boot/mbed/mbed_lib.json). Please note that certain features are not currently supported.
2020

2121
### Providing a secondary slot
2222

docs/release-notes.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ There are bug fixes, and associated imgtool updates as well.
3939

4040
### Zephyr-RTOS Compatibility
4141

42-
This release of MCUboot works with the Zephyr "master" at the time of the
42+
This release of MCUboot works with the Zephyr "main" at the time of the
4343
release. It was tested as of has 7a3b253ce. This version of MCUboot also
4444
works with the Zephyr v2.4.0, however it is recommended to enable
4545
`CONFIG_MCUBOOT_CLEANUP_ARM_CORE` while using that version.
@@ -75,7 +75,7 @@ updates as well.
7575

7676
### Zephyr-RTOS Compatibility
7777

78-
This release of MCUboot works the Zephyr "master" at the time of the
78+
This release of MCUboot works the Zephyr "main" at the time of the
7979
release. It was tested as of has 1a89ca1238. When Zephyr v2.3.0 is
8080
released, there will be a possible 1.6.1 or similar release of Zephyr
8181
if needed to address any issues. There also may be branch releases of
@@ -145,7 +145,7 @@ compatible with previous releases of MCUboot.
145145

146146
The 1.3.1 release of MCUboot consists mostly of small bug fixes and updates.
147147
There are no breaking changes in functionality. This release should work with
148-
Mynewt 1.6.0 and up, and any Zephyr `master` after sha
148+
Mynewt 1.6.0 and up, and any Zephyr `main` after sha
149149
f51e3c296040f73bca0e8fe1051d5ee63ce18e0d.
150150

151151
### About this release

docs/release.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ the official a.b.c release). The intent is to freeze the code for a
3232
time, and allow testing to happen.
3333

3434
During the time between rc1 and the final release, the only changes
35-
that should be merged into master are those to fix bugs found in the
35+
that should be merged into main are those to fix bugs found in the
3636
rc and Mynewt metadata as described in the next section.
3737

3838
## imgtool release
@@ -81,7 +81,7 @@ public key is signed by enough parties to be trusted.
8181
At this point, the tag can be pushed to github to make the actual
8282
release happen:
8383
``` bash
84-
git push origin HEAD:refs/heads/master
84+
git push origin HEAD:refs/heads/main
8585
git push origin va.b.c-rcn
8686
```
8787

repository.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
repo.name: mcuboot
2121
repo.submodules: ""
2222
repo.versions:
23-
"0.0.0": "master"
23+
"0.0.0": "main"
2424
"0.9.0": "v0.9.0"
2525
"1.0.0": "v1.0.0"
2626
"1.1.0": "v1.1.0"
@@ -34,7 +34,7 @@ repo.versions:
3434
"1.7.1": "v1.7.1"
3535
"1.7.2": "v1.7.2"
3636

37-
"0-dev": "0.0.0" # master
37+
"0-dev": "0.0.0" # main
3838
"0-latest": "1.7.2" # latest stable release
3939
"1-latest": "1.7.2" # latest stable release
4040

0 commit comments

Comments
 (0)