diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 0a245be77..25ab1b0b8 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,13 +1,12 @@ -**Related Issue(s):** +**Related Issue(s):** - # **Description:** - **PR Checklist:** -- [ ] Code is formatted and linted (run `pre-commit run --all-files`) +- [ ] `pre-commit` hooks pass locally - [ ] Tests pass (run `make test`) - [ ] Documentation has been updated to reflect changes, if applicable, and docs build successfully (run `make docs`) -- [ ] Changes are added to the [CHANGELOG](https://github.com/stac-utils/stac-fastapi/blob/master/CHANGES.md). +- [ ] Changes are added to the [CHANGELOG](https://github.com/stac-utils/stac-fastapi/blob/main/CHANGES.md). diff --git a/.github/workflows/cicd.yaml b/.github/workflows/cicd.yaml index 9bad92ba9..6f4eaddc9 100644 --- a/.github/workflows/cicd.yaml +++ b/.github/workflows/cicd.yaml @@ -1,9 +1,9 @@ name: stac-fastapi on: push: - branches: [master] + branches: [main] pull_request: - branches: [master] + branches: [main] jobs: test: diff --git a/.github/workflows/deploy_mkdocs.yml b/.github/workflows/deploy_mkdocs.yml index 00aa6ddd7..546718aab 100644 --- a/.github/workflows/deploy_mkdocs.yml +++ b/.github/workflows/deploy_mkdocs.yml @@ -3,13 +3,13 @@ name: Publish docs via GitHub Pages on: push: branches: - - master + - main paths: # Rebuild website when docs have changed or code has changed - - 'README.md' - - 'docs/**' - - 'mkdocs.yml' - - '**.py' + - "README.md" + - "docs/**" + - "mkdocs.yml" + - "**.py" jobs: build: @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - - name: Checkout master + - name: Checkout main uses: actions/checkout@v3 - name: Set up Python 3.8 diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index 0724580f9..2267b3077 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -2,7 +2,7 @@ name: packages on: push: branches: - - master + - main tags: - "*" diff --git a/CHANGES.md b/CHANGES.md index da1f1f230..fd190a4eb 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,6 +2,10 @@ ## [Unreleased] +### Changed + +* Default branch to **main** ([#544](https://github.com/stac-utils/stac-fastapi/pull/544)) + ## [2.4.4] - 2023-03-09 ### Added @@ -241,7 +245,7 @@ * First PyPi release! -[Unreleased]: +[Unreleased]: [2.4.4]: [2.4.3]: [2.4.2]: diff --git a/README.md b/README.md index 1fc149ee7..a05b50b1d 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Package version - + License

@@ -67,11 +67,11 @@ pip install -e stac_fastapi/pgstac ### Pre-built Docker images Pre-built images are available from the [Github Container Registry](https://github.com/stac-utils/stac-fastapi/pkgs/container/stac-fastapi). -The latest images are tagged with `master-pgstac` and `master-sqlalchemy`. +The latest images are tagged with `main-pgstac` and `main-sqlalchemy`. To pull the image to your local system: ```shell -docker pull ghcr.io/stac-utils/stac-fastapi:master-pgstac # or latest-sqlalchemy +docker pull ghcr.io/stac-utils/stac-fastapi:main-pgstac # or main-sqlalchemy ``` 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: diff --git a/stac_fastapi/pgstac/README.md b/stac_fastapi/pgstac/README.md index 7961ad260..80d7fc89a 100644 --- a/stac_fastapi/pgstac/README.md +++ b/stac_fastapi/pgstac/README.md @@ -9,7 +9,7 @@ Package version - + Downloads