Skip to content

Commit ab31e93

Browse files
Change repo name
1 parent 2757a65 commit ab31e93

File tree

6 files changed

+48
-49
lines changed

6 files changed

+48
-49
lines changed

.github/workflows/ci.yml

+15-14
Original file line numberDiff line numberDiff line change
@@ -5,29 +5,31 @@ on:
55
workflow_dispatch:
66
push:
77
branches:
8-
- main
9-
- develop
8+
- main
9+
- develop
1010
tags:
11-
- '*'
11+
- "*"
1212
paths:
1313
# Only run test and docker publish if some code have changed
14-
- 'pyproject.toml'
15-
- 'titiler/**'
16-
- '.pre-commit-config.yaml'
17-
- '.github/workflows/ci.yml'
14+
- "pyproject.toml"
15+
- "titiler/**"
16+
- ".pre-commit-config.yaml"
17+
- ".github/workflows/ci.yml"
1818

1919
# Run tests on pull requests.
2020
pull_request:
21+
branches:
22+
- main
2123
env:
22-
LATEST_PY_VERSION: '3.12'
23-
24+
LATEST_PY_VERSION: "3.12"
2425

2526
jobs:
2627
tests:
2728
runs-on: ubuntu-latest
29+
if: github.event.pull_request.base.ref == 'main' || github.event_name != 'pull_request'
2830
strategy:
2931
matrix:
30-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
32+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
3133

3234
steps:
3335
- uses: actions/checkout@v4
@@ -59,13 +61,12 @@ jobs:
5961
name: ${{ matrix.python-version }}
6062
fail_ci_if_error: false
6163

62-
6364
publish-docker:
6465
needs: [tests]
6566
# runs on push to main, on tag creation, and on release
6667
if: github.ref == 'refs/heads/main' || startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'
6768
runs-on: ubuntu-latest
68-
69+
6970
steps:
7071
- name: Checkout
7172
uses: actions/checkout@v4
@@ -98,7 +99,7 @@ jobs:
9899
file: dockerfiles/Dockerfile
99100
push: true
100101
tags: |
101-
ghcr.io/developmentseed/titiler-stacapi:latest
102+
ghcr.io/developmentseed/titiler-stacapi-mspc:latest
102103
103104
# Push `{VERSION}` when pushing a new tag
104105
- name: Build and push tag
@@ -110,4 +111,4 @@ jobs:
110111
file: dockerfiles/Dockerfile
111112
push: true
112113
tags: |
113-
ghcr.io/developmentseed/titiler-stacapi:${{ steps.tag.outputs.version }}
114+
ghcr.io/developmentseed/titiler-stacapi-mspc:${{ steps.tag.outputs.version }}

README.md

+18-18
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
# titiler-stacapi-mspc
22

33
<p align="center">
4-
<img width="800" src="https://github.com/developmentseed/titiler-stacapi/assets/10407788/bb54162e-9a47-4a67-99e5-6dc91098e048">
4+
<img width="800" src="https://github.com/developmentseed/titiler-stacapi-mspc/assets/10407788/bb54162e-9a47-4a67-99e5-6dc91098e048">
55
<p align="center">Connect titiler to MS Planetary Computer STAC API</p>
66
</p>
77

88
<p align="center">
9-
<a href="https://github.com/developmentseed/titiler-stacapi/actions?query=workflow%3ACI" target="_blank">
10-
<img src="https://github.com/developmentseed/titiler-stacapi/workflows/CI/badge.svg" alt="Test">
9+
<a href="https://github.com/developmentseed/titiler-stacapi-mspc/actions?query=workflow%3ACI" target="_blank">
10+
<img src="https://github.com/developmentseed/titiler-stacapi-mspc/workflows/CI/badge.svg" alt="Test">
1111
</a>
12-
<a href="https://codecov.io/gh/developmentseed/titiler-stacapi" target="_blank">
13-
<img src="https://codecov.io/gh/developmentseed/titiler-stacapi/branch/main/graph/badge.svg" alt="Coverage">
12+
<a href="https://codecov.io/gh/developmentseed/titiler-stacapi-mspc" target="_blank">
13+
<img src="https://codecov.io/gh/developmentseed/titiler-stacapi-mspc/branch/main/graph/badge.svg" alt="Coverage">
1414
</a>
15-
<a href="https://github.com/developmentseed/titiler-stacapi/blob/main/LICENSE" target="_blank">
16-
<img src="https://img.shields.io/github/license/developmentseed/titiler-stacapi.svg" alt="License">
15+
<a href="https://github.com/developmentseed/titiler-stacapi-mspc/blob/main/LICENSE" target="_blank">
16+
<img src="https://img.shields.io/github/license/developmentseed/titiler-stacapi-mspc.svg" alt="License">
1717
</a>
1818
</p>
1919

2020
---
2121

22-
**Documentation**: <a href="https://developmentseed.org/titiler-stacapi/" target="_blank">https://developmentseed.org/titiler-stacapi/</a>
22+
**Documentation**: <a href="https://developmentseed.org/titiler-stacapi-mspc/" target="_blank">https://developmentseed.org/titiler-stacapi-mspc/</a>
2323

24-
**Source Code**: <a href="https://github.com/developmentseed/titiler-stacapi" target="_blank">https://github.com/developmentseed/titiler-stacapi</a>
24+
**Source Code**: <a href="https://github.com/developmentseed/titiler-stacapi-mspc" target="_blank">https://github.com/developmentseed/titiler-stacapi-mspc</a>
2525

2626
---
2727

@@ -30,8 +30,8 @@
3030
Install from sources and run for development:
3131

3232
```
33-
$ git clone https://github.com/developmentseed/titiler-stacapi.git
34-
$ cd titiler-stacapi
33+
$ git clone https://github.com/developmentseed/titiler-stacapi-mspc.git
34+
$ cd titiler-stacapi-mspc
3535
$ python -m pip install -e .
3636
```
3737

@@ -52,29 +52,29 @@ uvicorn titiler.stacapi.main:app --port 8000
5252
### Using Docker
5353

5454
```
55-
$ git clone https://github.com/developmentseed/titiler-stacapi.git
56-
$ cd titiler-stacapi
55+
$ git clone https://github.com/developmentseed/titiler-stacapi-mspc.git
56+
$ cd titiler-stacapi-mspc
5757
$ docker-compose up --build api
5858
```
5959

6060
It runs `titiler.stacapi` using Gunicorn web server.
6161

6262
### How it works
6363

64-
![](https://github.com/developmentseed/titiler-stacapi/assets/10407788/2e53bfe3-402a-4c57-bf61-c055e32f1362)
64+
![](https://github.com/developmentseed/titiler-stacapi-mspc/assets/10407788/2e53bfe3-402a-4c57-bf61-c055e32f1362)
6565

6666
## Contribution & Development
6767

68-
See [CONTRIBUTING.md](https://github.com//developmentseed/titiler-stacapi/blob/main/CONTRIBUTING.md)
68+
See [CONTRIBUTING.md](https://github.com//developmentseed/titiler-stacapi-mspc/blob/main/CONTRIBUTING.md)
6969

7070
## License
7171

72-
See [LICENSE](https://github.com//developmentseed/titiler-stacapi/blob/main/LICENSE)
72+
See [LICENSE](https://github.com//developmentseed/titiler-stacapi-mspc/blob/main/LICENSE)
7373

7474
## Authors
7575

76-
See [contributors](https://github.com/developmentseed/titiler-stacapi/graphs/contributors) for a listing of individual contributors.
76+
See [contributors](https://github.com/developmentseed/titiler-stacapi-mspc/graphs/contributors) for a listing of individual contributors.
7777

7878
## Changes
7979

80-
See [CHANGES.md](https://github.com/developmentseed/titiler-stacapi/blob/main/CHANGES.md).
80+
See [CHANGES.md](https://github.com/developmentseed/titiler-stacapi-mspc/blob/main/CHANGES.md).

docs/mkdocs.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ site_description: Connect titiler to STAC APIs.
44
docs_dir: "src"
55
site_dir: "build"
66

7-
repo_name: developmentseed/titiler-stacapi
8-
repo_url: https://github.com/developmentseed/titiler-stacapi
7+
repo_name: developmentseed/titiler-stacapi-mspc
8+
repo_url: https://github.com/developmentseed/titiler-stacapi-mspc
99
edit_uri: blob/main/docs/
10-
site_url: https://developmentseed.org/titiler-stacapi/
10+
site_url: https://developmentseed.org/titiler-stacapi-mspc/
1111

1212
extra:
1313
social:

docs/src/endpoints/index.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
---
2-
32
title: Endpoints
4-
53
---
64

75
<p align="center">
8-
<img alt="titiler-pgstac OpenAPI documentation" src="https://github.com/developmentseed/titiler-stacapi/assets/10407788/a4a7619f-8929-41d8-9a0e-26419013b5a8"/>
6+
<img alt="titiler-stacapi OpenAPI documentation" src="https://github.com/developmentseed/titiler-stacapi/assets/10407788/a4a7619f-8929-41d8-9a0e-26419013b5a8"/>
97
</p>
108

119
By default the main application (`titiler.pgstac.main.app`) provides three sets of endpoints:

pyproject.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ test = [
4545
]
4646

4747
[project.urls]
48-
Homepage = 'https://developmentseed.org/titiler-stacapi/'
49-
Documentation = "https://developmentseed.org/titiler-stacapi/"
50-
Issues = "https://github.com/developmentseed/titiler-stacapi/issues"
51-
Source = "https://github.com/developmentseed/titiler-stacapi"
52-
Changelog = "https://developmentseed.org/titiler-stacapi/release-notes/"
48+
Homepage = 'https://developmentseed.org/titiler-stacapi-mspc/'
49+
Documentation = "https://developmentseed.org/titiler-stacapi-mspc/"
50+
Issues = "https://github.com/developmentseed/titiler-stacapi-mspc/issues"
51+
Source = "https://github.com/developmentseed/titiler-stacapi-mspc"
52+
Changelog = "https://developmentseed.org/titiler-stacapi-mspc/release-notes/"
5353

5454
[build-system]
5555
requires = ["pdm-pep517"]

titiler/stacapi/main.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@
5050
5151
---
5252
53-
**Documentation**: <a href="https://developmentseed.org/titiler-stacapi/" target="_blank">https://developmentseed.org/titiler-stacapi/</a>
53+
**Documentation**: <a href="https://developmentseed.org/titiler-stacapi-mspc/" target="_blank">https://developmentseed.org/titiler-stacapi-mspc/</a>
5454
55-
**Source Code**: <a href="https://github.com/developmentseed/titiler-stacapi" target="_blank">https://github.com/developmentseed/titiler-stacapi</a>
55+
**Source Code**: <a href="https://github.com/developmentseed/titiler-stacapi-mspc" target="_blank">https://github.com/developmentseed/titiler-stacapi-mspc</a>
5656
5757
---
5858
""",
@@ -189,14 +189,14 @@ def landing(
189189
rel="data",
190190
),
191191
models.Link(
192-
title="TiTiler-STACAPI Documentation (external link)",
193-
href="https://developmentseed.org/titiler-stacapi/",
192+
title="titiler-stacapi-mspc Documentation (external link)",
193+
href="https://developmentseed.org/titiler-stacapi-mspc/",
194194
type=MediaType.html,
195195
rel="doc",
196196
),
197197
models.Link(
198-
title="TiTiler-STACAPI source code (external link)",
199-
href="https://github.com/developmentseed/titiler-stacapi",
198+
title="titiler-stacapi-mspc source code (external link)",
199+
href="https://github.com/developmentseed/titiler-stacapi-mspc",
200200
type=MediaType.html,
201201
rel="doc",
202202
),

0 commit comments

Comments
 (0)