Skip to content

Commit f8cfa7b

Browse files
committed
OMerge remote-tracking branch 'origin/develop' into feat-rspy544/invalid-catalog-download-links
2 parents fc60573 + f77e5dc commit f8cfa7b

33 files changed

+2177
-2061
lines changed

.github/workflows/check-code-quality.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ name: Check code quality
1616

1717
on:
1818
push:
19+
branches:
20+
- develop # pushes on the 'develop' branch
21+
tags:
22+
- '**' # new git tags (including hierarchical tags like v1.0/beta)
1923
pull_request:
2024
types: [opened, synchronize, reopened]
2125
# run this worflow only for code/test related changes (avoid it for documentation)

docs/poetry.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

poetry.lock

Lines changed: 329 additions & 323 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,23 +63,23 @@ optional = true
6363
# All the dev dependencies are set here so they can be used by the CI.
6464
[tool.poetry.group.dev.dependencies]
6565
pytest = "^8.3.3"
66-
pytest-asyncio = "^0.25.1"
66+
pytest-asyncio = "^0.25.3"
6767
pytest-cov = "^6.0.0"
6868
pytest-docker = "^3.1.0"
6969
pytest-error-for-skips = "^2.0.2"
7070
pytest-httpx = "^0.34.0"
7171
pytest-mock = "^3.14.0"
72-
black = "^24.10.0"
72+
black = "^25.1.0"
7373
mypy = "^1.14.1"
74-
pre-commit = "^4.0.1"
74+
pre-commit = "^4.1.0"
7575
types-requests = "^2.32.0.20241016"
7676
flake8 = "^7.1.1"
7777
bandit = "^1.8.2"
7878
safety = "^3.2.14"
7979
pylint = "^3.3.0"
8080
flake8-pyproject = "^1.2.3"
8181
httpx = "^0.27.2"
82-
moto = "==5.0.26"
82+
moto = "==5.0.27"
8383
flask = "^3.0.3"
8484
flask-cors = "^5.0.0"
8585
sphinx = "^8.1.3"

resources/deploy_stac_browser.sh

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -38,28 +38,6 @@ else
3838
cd "stac-browser"
3939
fi
4040

41-
# The docker entrypoint will run the script 'docker/docker-entrypoint.sh'
42-
# and create the config.js file that will contain: window.STAC_BROWSER_CONFIG = {...}
43-
# We add a sed command to the .sh script that will modify the .js file to add
44-
# the oauth2 configuration based on environment variables: OIDC_ENDPOINT, OIDC_REALM, PUBLIC_CLIENT_ID
45-
#
46-
# Note: we substitute env vars in ThisIsUsedBySed, not in "ThisGoesToEntrypointSh"
47-
cat <<- "ThisGoesToEntrypointSh" >> docker/docker-entrypoint.sh
48-
49-
# This was added by https://github.com/RS-PYTHON/rs-server/tree/develop/resources/deploy_stac_browser.sh
50-
authConfig=$(cat <<- ThisIsUsedBySed
51-
authConfig: { \n\
52-
"type": "openIdConnect", \n\
53-
"openIdConnectUrl": "${OIDC_ENDPOINT}/realms/${OIDC_REALM}/.well-known/openid-configuration", \n\
54-
"oidcConfig": { \n\
55-
"client_id": "${PUBLIC_CLIENT_ID}" \n\
56-
} \n\
57-
},
58-
ThisIsUsedBySed
59-
)
60-
sed -i "s@\(window.STAC_BROWSER_CONFIG = {\)@\1\n$authConfig@g" /usr/share/nginx/html/config.js
61-
ThisGoesToEntrypointSh
62-
6341
# Docker image tag = 'last commit hash'.'last commit date'
6442
tag="$(git rev-parse --short HEAD).$(git log -1 --format="%at" | xargs -I{} date -d @{} +%Y-%m-%d)"
6543

services/adgs/poetry.lock

Lines changed: 307 additions & 292 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

services/adgs/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ pytest-docker = "^3.1.0"
5050
pytest-error-for-skips = "^2.0.2"
5151
pytest-httpx = ">=0.32,<0.35"
5252
pytest-mock = "^3.12.0"
53-
black = "^24.8.0"
53+
black = ">=24.8,<26.0"
5454
mypy = "^1.11.2"
5555
orjson = [ # we need the same markers and versions as in eodag: https://github.com/CS-SI/eodag/blob/develop/setup.cfg
5656
{version = "<3.10.0", markers = "python_version>='3.12' and platform_system=='Windows'"},

services/adgs/rs_server_adgs/api/adgs_search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def process_search(
100100
limit: int,
101101
page: int,
102102
) -> stac_pydantic.ItemCollection:
103-
"""Do the search for the given collection and OData parameters."""
103+
"""Search adgs products for the given collection and OData parameters."""
104104

105105
return process_product_search(
106106
collection.get("station", "adgs"),

0 commit comments

Comments
 (0)