Skip to content

Commit c4cd3c5

Browse files
authored
Merge pull request InsightSoftwareConsortium#5426 from thewtex/master-to-main
master to main
2 parents 02c8b35 + b79a141 commit c4cd3c5

39 files changed

+169
-214
lines changed

.circleci/config.yml

Lines changed: 0 additions & 96 deletions
This file was deleted.

.github/pull_request_template.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ close a related issues using keywords (https://help.github.com/articles/closing-
2828
of the person or team responsible for reviewing proposed changes. -->
2929

3030
## PR Checklist
31-
- [ ] No [API changes](https://github.com/InsightSoftwareConsortium/ITK/blob/master/CONTRIBUTING.md#breaking-changes) were made (or the changes have been approved)
32-
- [ ] No [major design changes](https://github.com/InsightSoftwareConsortium/ITK/blob/master/CONTRIBUTING.md#design-changes) were made (or the changes have been approved)
31+
- [ ] No [API changes](https://github.com/InsightSoftwareConsortium/ITK/blob/main/CONTRIBUTING.md#breaking-changes) were made (or the changes have been approved)
32+
- [ ] No [major design changes](https://github.com/InsightSoftwareConsortium/ITK/blob/main/CONTRIBUTING.md#design-changes) were made (or the changes have been approved)
3333
- [ ] Added test (or behavior not changed)
3434
- [ ] Updated API documentation (or API not changed)
35-
- [ ] Added [license](https://github.com/InsightSoftwareConsortium/ITK/blob/master/Utilities/KWStyle/ITKHeader.h) to new files (if any)
35+
- [ ] Added [license](https://github.com/InsightSoftwareConsortium/ITK/blob/main/Utilities/KWStyle/ITKHeader.h) to new files (if any)
3636
- [ ] Added Python wrapping to new files (if any) as described in [ITK Software Guide](https://itk.org/ItkSoftwareGuide.pdf) Section 9.5
3737
- [ ] Added [ITK examples](https://github.com/InsightSoftwareConsortium/ITKSphinxExamples) for all new major features (if any)
3838

.github/workflows/first-interaction.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
2121
**Welcome to the ITK community!** 🤗👋☀️
2222
23-
We are glad you are here and appreciate your contribution. Please keep in mind our [community participation guidelines](https://github.com/InsightSoftwareConsortium/ITK/blob/master/CODE_OF_CONDUCT.md). 📜
23+
We are glad you are here and appreciate your contribution. Please keep in mind our [community participation guidelines](https://github.com/InsightSoftwareConsortium/ITK/blob/main/CODE_OF_CONDUCT.md). 📜
2424
Also, please check [existing open issues](https://github.com/InsightSoftwareConsortium/ITK/issues) and consider discussion on the [ITK Discourse](https://discourse.itk.org). 📖
2525
2626
This is an automatic message. Allow for time for the ITK community to be able to read the issue and comment on it.
@@ -30,8 +30,8 @@ jobs:
3030
3131
**Welcome to the ITK community!** 🤗👋☀️
3232
33-
We are glad you are here and appreciate your contribution. Please keep in mind our [community participation guidelines](https://github.com/InsightSoftwareConsortium/ITK/blob/master/CODE_OF_CONDUCT.md). 📜
34-
More support and guidance on the contribution process can be found in our [contributing guide](https://github.com/InsightSoftwareConsortium/ITK/blob/master/CONTRIBUTING.md). 📖
33+
We are glad you are here and appreciate your contribution. Please keep in mind our [community participation guidelines](https://github.com/InsightSoftwareConsortium/ITK/blob/main/CODE_OF_CONDUCT.md). 📜
34+
More support and guidance on the contribution process can be found in our [contributing guide](https://github.com/InsightSoftwareConsortium/ITK/blob/main/CONTRIBUTING.md). 📖
3535
3636
This is an automatic message. Allow for time for the ITK community to be able to read the pull request and comment
3737
on it.

.github/workflows/macos-arm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: ITK.macOS.Arm64
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
- 'release*'
88
paths-ignore:
99
- '*.md'

.github/workflows/pixi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: ITK.Pixi
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
- 'release*'
88
paths-ignore:
99
- '*.md'

.github/workflows/scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
schedule:
99
- cron: '42 23 * * 6'
1010
push:
11-
branches: [ "master" ]
11+
branches: [ "main" ]
1212

1313
# Declare default permissions as read only.
1414
permissions: read-all

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ repos:
5353
exclude: "\\/ThirdParty\\/"
5454
args: ['--pytest-test-first']
5555
- id: no-commit-to-branch
56-
args: ['--branch','dashboard','--branch','python-builds','--branch','release','--branch','hooks','--branch', 'main','--branch','master','--pattern','release-*']
56+
args: ['--branch','dashboard','--branch','python-builds','--branch','release','--branch','hooks','--branch', 'main','--branch','main','--pattern','release-*']
5757
- id: trailing-whitespace
5858
exclude: "\\.(sha|sha512|svg|vtk|vtp)$|\\/ThirdParty\\/|\\/Data\\/"
5959
- repo: https://github.com/BlankSpruce/gersemi

Documentation/Maintenance/Release.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Release Life Cycle
1818
------------------
1919

2020
The first release candidate (RC) is the initial branch point, so it does not have
21-
special steps to create. However, as `master` moves fairly quickly, branches
21+
special steps to create. However, as `main` moves fairly quickly, branches
2222
need to be corralled into the `release` branch afterwards.
2323

2424
When releasing a new ITK version, the following steps are be taken:
@@ -118,12 +118,12 @@ This ITK [blog post] describes the Linux distributions that package ITK.
118118
Integrate bug fixes in the release branch
119119
-----------------------------------------
120120

121-
Update `master` and `release` branches:
121+
Update `main` and `release` branches:
122122

123123
```bash
124124
git fetch upstream
125-
git checkout master
126-
git reset --hard upstream/master
125+
git checkout main
126+
git reset --hard upstream/main
127127
git checkout release
128128
git reset --hard upstream/release
129129
```
@@ -146,10 +146,10 @@ Merge bug fix commits in release. The topic branch should be named
146146
`<bug-name>-for-release`:
147147
* If topic branch was created from the `release` branch, `checkout` topic
148148
in new branch.
149-
* If topic branch was created on `master`, `cherry-pick` commit (see
149+
* If topic branch was created on `main`, `cherry-pick` commit (see
150150
command line on [GitHub]) on a topic branch created off `release`. The
151151
commit will be visible twice in the history once release in merged into
152-
`master`.
152+
`main`.
153153
* Merge new branch on `release`:
154154

155155
```bash
@@ -171,12 +171,12 @@ The following must be ensured before tagging the ITK repository:
171171
### Increment the version number
172172

173173
If the version number in `ITK/CMake/itkVersion.cmake` is not already set accordingly,
174-
submit a pull request to update ITK's version number in the `master` branch to
175-
what the new release is called. Any point beyond that in the `master` branch
174+
submit a pull request to update ITK's version number in the `main` branch to
175+
what the new release is called. Any point beyond that in the `main` branch
176176
could serve as the start of the new release branch.
177177

178178
After creating the release branch, submit another merge request to update the
179-
master branch's minor version number.
179+
main branch's minor version number.
180180

181181
Update Zenodo Citation Configuration
182182
------------------------------------
@@ -339,7 +339,7 @@ maintainers after an ITK Confab.
339339
Use the command:
340340

341341
```bash
342-
git checkout master
342+
git checkout main
343343
git pull
344344
```
345345

@@ -350,7 +350,7 @@ tree that has been fully tested in the [Dashboard].
350350
bump the `ITK_VERSION_PATCH` variable in the `CMake/itkVersion.cmake`
351351
file before tagging.
352352
* When tagging a **feature release**, make sure to bump the
353-
`ITK_VERSION_MINOR` version on the `master` branch after tagging.
353+
`ITK_VERSION_MINOR` version on the `main` branch after tagging.
354354

355355
### Tag with a branch point reference
356356

@@ -377,22 +377,22 @@ Note that only trusted GPG key holders may do this step.
377377
### Update the release branch
378378

379379
Update the `release` branch only during feature releases after the tag for the
380-
release. Perform a `fast-forward` merge of `master` into release:
380+
release. Perform a `fast-forward` merge of `main` into release:
381381

382382
```bash
383383
git checkout release
384384
git reset --hard upstream/release
385385
git merge --ff-only v$version
386386
git push upstream release
387-
git checkout master
387+
git checkout main
388388
```
389389

390390
This will not create a new commit, only move the release branch to the tag,
391391
i.e. it will be fast forwarded.
392392

393-
For minor releases, merge the release branch into `master` branch as for a
393+
For minor releases, merge the release branch into `main` branch as for a
394394
normal commit, and resolve conflicts (arising from mismatch in version number)
395-
by keeping `master` branch versions.
395+
by keeping `main` branch versions.
396396

397397
Merge the `release` branch into the current named `$major_minor` version branch, e.g. `5.4`.
398398

@@ -424,14 +424,14 @@ the latest ITK tag, the following steps should be performed:
424424

425425
1. Update the ITK tag used in the `azure-pipelines.yml` CI configuration and
426426
the `setup.py` Python setup files, and update the remote module Python package
427-
version to a new major version using the [UpdateRequiredITKVersionInRemoteModules.sh](https://github.com/InsightSoftwareConsortium/ITK/tree/master/Utilities/Maintenance/UpdateRequiredITKVersionInRemoteModules.sh)
427+
version to a new major version using the [UpdateRequiredITKVersionInRemoteModules.sh](https://github.com/InsightSoftwareConsortium/ITK/tree/main/Utilities/Maintenance/UpdateRequiredITKVersionInRemoteModules.sh)
428428
script. This will involve merging a new pull request to each remote module
429429
repository.
430430

431431
2. Upload the new remote module Python wheel to [PyPI].
432432

433433
3. Update the remote modules to their latest commits using the
434-
[UpdateRemoteModules.sh](https://github.com/InsightSoftwareConsortium/ITK/tree/master/Utilities/Maintenance/UpdateRemoteModules.sh)
434+
[UpdateRemoteModules.sh](https://github.com/InsightSoftwareConsortium/ITK/tree/main/Utilities/Maintenance/UpdateRemoteModules.sh)
435435
script.
436436

437437

@@ -525,7 +525,7 @@ documentation for further information.
525525

526526
First, merge the
527527
[ITKPythonPackage](https://github.com/InsightSoftwareConsortium/ITKPythonPackage)
528-
`master` branch into the `release` branch.
528+
`main` branch into the `release` branch.
529529

530530
Next, update the `VERSION` variable in *ITKPythonPackage/itkVersion.py* and
531531
`ITK_GIT_TAG` in *ITKPythonPackage/CMakeLists.txt*. Commit the update locally
@@ -792,7 +792,7 @@ version in `Superbuild/External-ITK.cmake`.
792792
Update the CMake minimum version in the example files if necessary.
793793

794794
Rendered versions can be downloaded from the recent `build-test-publish`
795-
[Documentation GitHub Artifact](https://github.com/InsightSoftwareConsortium/ITKSphinxExamples/actions/workflows/build-test-publish.yml?query=branch%3Amaster).
795+
[Documentation GitHub Artifact](https://github.com/InsightSoftwareConsortium/ITKSphinxExamples/actions/workflows/build-test-publish.yml?query=branch%3Amain).
796796
These should be added to a new GitHub Release on the ITKSphinxExamples
797797
repository with the tag `v$version`.
798798

@@ -818,7 +818,7 @@ Release Notes Posts
818818
-------------------
819819

820820
To get started with the release notes, first use the download link
821-
cookiecutter to generate [download page](https://github.com/InsightSoftwareConsortium/ITK/blob/master/Documentation/docs/download.md) markdown:
821+
cookiecutter to generate [download page](https://github.com/InsightSoftwareConsortium/ITK/blob/main/Documentation/docs/download.md) markdown:
822822

823823
```bash
824824
pip install cookiecutter
@@ -956,7 +956,7 @@ For the final release, the release notes produced should be used to
956956
* Provide the release notes in the [ITK GitHub Releases]
957957
* Post a message in the [ITK discussion]
958958
* Create a post in the [Kitware blog]
959-
* Add a release note doc in [ITK/Documentation/ReleaseNotes](https://github.com/InsightSoftwareConsortium/ITK/tree/master/Documentation/ReleaseNotes)
959+
* Add a release note doc in [ITK/Documentation/ReleaseNotes](https://github.com/InsightSoftwareConsortium/ITK/tree/main/Documentation/ReleaseNotes)
960960
* Update [ITK's Wikipedia page](https://en.wikipedia.org/wiki/Insight_Segmentation_and_Registration_Toolkit).
961961
* Send out a summary to Arliss <help@numfocus.org> at NumFOCUS to announce
962962
the release in the NumFOCUS project update monthly newsletter.

Documentation/docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ These are the sources for the [ITK docs](https://docs.itk.org)
99
The contribution process generally follows our [contributing
1010
guidelines](./contributing/index.md).
1111

12-
Once merged into `master`, the documentation will be available in the `latest`
12+
Once merged into `main`, the documentation will be available in the `latest`
1313
version of the ReadTheDocs documentation as https://docs.itk.org/. Note that
1414
`latest` is not the default version (`release` is). To change versions, use the links in the lower
1515
left of the page.

Documentation/docs/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Configuration file for the Sphinx documentation builder.
22
#
33
# For the full list of built-in configuration values, see the documentation:
4-
# https://www.sphinx-doc.org/en/master/usage/configuration.html
4+
# https://www.sphinx-doc.org/en/main/usage/configuration.html
55

66
# -- Project information -----------------------------------------------------
7-
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
7+
# https://www.sphinx-doc.org/en/main/usage/configuration.html#project-information
88

99
import os
1010
from datetime import date
@@ -58,6 +58,6 @@
5858
html_theme_options = {
5959
"top_of_page_button": "edit",
6060
"source_repository": "https://github.com/InsightSoftwareConsortium/ITK/",
61-
"source_branch": "master",
61+
"source_branch": "main",
6262
"source_directory": "Documentation/docs",
6363
}

0 commit comments

Comments
 (0)