Skip to content

Commit 3edb62e

Browse files
authored
Rename default branch (#544)
* feat: s/master/main/ for this repo Also update the PR checklist a little bit * chore: update changelog
1 parent 66a0492 commit 3edb62e

File tree

7 files changed

+21
-18
lines changed

7 files changed

+21
-18
lines changed

.github/pull_request_template.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
**Related Issue(s):**
1+
**Related Issue(s):**
22

33
- #
44

55
**Description:**
66

7-
87
**PR Checklist:**
98

10-
- [ ] Code is formatted and linted (run `pre-commit run --all-files`)
9+
- [ ] `pre-commit` hooks pass locally
1110
- [ ] Tests pass (run `make test`)
1211
- [ ] Documentation has been updated to reflect changes, if applicable, and docs build successfully (run `make docs`)
13-
- [ ] Changes are added to the [CHANGELOG](https://github.com/stac-utils/stac-fastapi/blob/master/CHANGES.md).
12+
- [ ] Changes are added to the [CHANGELOG](https://github.com/stac-utils/stac-fastapi/blob/main/CHANGES.md).

.github/workflows/cicd.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: stac-fastapi
22
on:
33
push:
4-
branches: [master]
4+
branches: [main]
55
pull_request:
6-
branches: [master]
6+
branches: [main]
77

88
jobs:
99
test:

.github/workflows/deploy_mkdocs.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,21 @@ name: Publish docs via GitHub Pages
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
paths:
88
# Rebuild website when docs have changed or code has changed
9-
- 'README.md'
10-
- 'docs/**'
11-
- 'mkdocs.yml'
12-
- '**.py'
9+
- "README.md"
10+
- "docs/**"
11+
- "mkdocs.yml"
12+
- "**.py"
1313

1414
jobs:
1515
build:
1616
name: Deploy docs
1717
runs-on: ubuntu-latest
1818

1919
steps:
20-
- name: Checkout master
20+
- name: Checkout main
2121
uses: actions/checkout@v3
2222

2323
- name: Set up Python 3.8

.github/workflows/packages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: packages
22
on:
33
push:
44
branches:
5-
- master
5+
- main
66
tags:
77
- "*"
88

CHANGES.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## [Unreleased]
44

5+
### Changed
6+
7+
* Default branch to **main** ([#544](https://github.com/stac-utils/stac-fastapi/pull/544))
8+
59
## [2.4.4] - 2023-03-09
610

711
### Added
@@ -241,7 +245,7 @@
241245

242246
* First PyPi release!
243247

244-
[Unreleased]: <https://github.com/stac-utils/stac-fastapi/compare/2.4.4..master>
248+
[Unreleased]: <https://github.com/stac-utils/stac-fastapi/compare/2.4.4..main>
245249
[2.4.4]: <https://github.com/stac-utils/stac-fastapi/compare/2.4.3..2.4.4>
246250
[2.4.3]: <https://github.com/stac-utils/stac-fastapi/compare/2.4.2..2.4.3>
247251
[2.4.2]: <https://github.com/stac-utils/stac-fastapi/compare/2.4.1..2.4.2>

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<a href="https://pypi.org/project/stac-fastapi" target="_blank">
1212
<img src="https://img.shields.io/pypi/v/stac-fastapi.api?color=%2334D058&label=pypi%20package" alt="Package version">
1313
</a>
14-
<a href="https://github.com/stac-utils/stac-fastapi/blob/master/LICENSE" target="_blank">
14+
<a href="https://github.com/stac-utils/stac-fastapi/blob/main/LICENSE" target="_blank">
1515
<img src="https://img.shields.io/github/license/stac-utils/stac-fastapi.svg" alt="License">
1616
</a>
1717
</p>
@@ -67,11 +67,11 @@ pip install -e stac_fastapi/pgstac
6767
### Pre-built Docker images
6868

6969
Pre-built images are available from the [Github Container Registry](https://github.com/stac-utils/stac-fastapi/pkgs/container/stac-fastapi).
70-
The latest images are tagged with `master-pgstac` and `master-sqlalchemy`.
70+
The latest images are tagged with `main-pgstac` and `main-sqlalchemy`.
7171
To pull the image to your local system:
7272

7373
```shell
74-
docker pull ghcr.io/stac-utils/stac-fastapi:master-pgstac # or latest-sqlalchemy
74+
docker pull ghcr.io/stac-utils/stac-fastapi:main-pgstac # or main-sqlalchemy
7575
```
7676

7777
This repository provides two example [Docker compose](https://docs.docker.com/compose/) files that demonstrate how you might link the pre-built images with a postgres/pgstac database:

stac_fastapi/pgstac/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<a href="https://pypi.org/project/stac-fastapi" target="_blank">
1010
<img src="https://img.shields.io/pypi/v/stac-fastapi?color=%2334D058&label=pypi%20package" alt="Package version">
1111
</a>
12-
<a href="https://github.com/stac-utils/stac-fastapi/blob/master/LICENSE" target="_blank">
12+
<a href="https://github.com/stac-utils/stac-fastapi/blob/main/LICENSE" target="_blank">
1313
<img src="https://img.shields.io/github/license/stac-utils/stac-fastapi.svg" alt="Downloads">
1414
</a>
1515
</p>

0 commit comments

Comments
 (0)