xmas-app 0.11.1__tar.gz → 0.11.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {xmas_app-0.11.1 → xmas_app-0.11.3}/PKG-INFO +2 -2
- {xmas_app-0.11.1 → xmas_app-0.11.3}/README.md +1 -1
- {xmas_app-0.11.1 → xmas_app-0.11.3}/pyproject.toml +3 -3
- {xmas_app-0.11.1 → xmas_app-0.11.3}/xmas_app/main.py +8 -8
- {xmas_app-0.11.1 → xmas_app-0.11.3}/xmas_app/models/crud.py +1 -1
- {xmas_app-0.11.1 → xmas_app-0.11.3}/LICENSE +0 -0
- {xmas_app-0.11.1 → xmas_app-0.11.3}/xmas_app/db.py +0 -0
- {xmas_app-0.11.1 → xmas_app-0.11.3}/xmas_app/db_uow.py +0 -0
- {xmas_app-0.11.1 → xmas_app-0.11.3}/xmas_app/deps/version_guard.py +0 -0
- {xmas_app-0.11.1 → xmas_app-0.11.3}/xmas_app/form.py +0 -0
- {xmas_app-0.11.1 → xmas_app-0.11.3}/xmas_app/pygeoapi/config.yaml +0 -0
- {xmas_app-0.11.1 → xmas_app-0.11.3}/xmas_app/pygeoapi/openapi.yaml +0 -0
- {xmas_app-0.11.1 → xmas_app-0.11.3}/xmas_app/pygeoapi/provider.py +0 -0
- {xmas_app-0.11.1 → xmas_app-0.11.3}/xmas_app/schema.py +0 -0
- {xmas_app-0.11.1 → xmas_app-0.11.3}/xmas_app/services/crud.py +0 -0
- {xmas_app-0.11.1 → xmas_app-0.11.3}/xmas_app/settings.py +0 -0
- {xmas_app-0.11.1 → xmas_app-0.11.3}/xmas_app/split_service.py +0 -0
- {xmas_app-0.11.1 → xmas_app-0.11.3}/xmas_app/util/__init__.py +0 -0
- {xmas_app-0.11.1 → xmas_app-0.11.3}/xmas_app/util/codelist.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: xmas-app
|
|
3
|
-
Version: 0.11.
|
|
3
|
+
Version: 0.11.3
|
|
4
4
|
Summary: The XLeitstelle model-driven application schema app.
|
|
5
5
|
License: EUPL-1.2-or-later
|
|
6
6
|
License-File: LICENSE
|
|
@@ -119,7 +119,7 @@ To import all .gml files at once, extract the archive and use:
|
|
|
119
119
|
(on Linux/Mac/Wsl Bash):
|
|
120
120
|
```bash
|
|
121
121
|
for f in <pfad>/bp/*.gml; do
|
|
122
|
-
xplan-tools convert "$f" postgresql://postgres:postgres@localhost:
|
|
122
|
+
xplan-tools convert "$f" postgresql://postgres:postgres@localhost:55432/postgres
|
|
123
123
|
done
|
|
124
124
|
```
|
|
125
125
|
|
|
@@ -97,7 +97,7 @@ To import all .gml files at once, extract the archive and use:
|
|
|
97
97
|
(on Linux/Mac/Wsl Bash):
|
|
98
98
|
```bash
|
|
99
99
|
for f in <pfad>/bp/*.gml; do
|
|
100
|
-
xplan-tools convert "$f" postgresql://postgres:postgres@localhost:
|
|
100
|
+
xplan-tools convert "$f" postgresql://postgres:postgres@localhost:55432/postgres
|
|
101
101
|
done
|
|
102
102
|
```
|
|
103
103
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "xmas-app"
|
|
3
|
-
version = "0.11.
|
|
3
|
+
version = "0.11.3"
|
|
4
4
|
description = "The XLeitstelle model-driven application schema app."
|
|
5
5
|
authors = [{ name = "Tobias Kraft", email = "tobias.kraft@gv.hamburg.de" }]
|
|
6
6
|
classifiers = [
|
|
@@ -61,8 +61,8 @@ pixi workspace version {{version}}
|
|
|
61
61
|
&& git pull
|
|
62
62
|
&& pixi lock
|
|
63
63
|
&& git add pyproject.toml pixi.lock
|
|
64
|
-
&& git commit -m "bump to $(pixi workspace version get)"
|
|
65
|
-
&& git tag $(pixi workspace version get)
|
|
64
|
+
&& git commit -S -m "bump to $(pixi workspace version get)"
|
|
65
|
+
&& git tag -s $(pixi workspace version get) -m "v$(pixi workspace version get)"
|
|
66
66
|
&& git push
|
|
67
67
|
&& git push --tags
|
|
68
68
|
&& pixi workspace version get
|
|
@@ -44,7 +44,7 @@ def _resolve_log_dir() -> Path:
|
|
|
44
44
|
return Path(gettempdir()) / "xmas_log"
|
|
45
45
|
else:
|
|
46
46
|
# dev: local repo logs
|
|
47
|
-
return Path(__file__).parent
|
|
47
|
+
return Path(__file__).parent.parent
|
|
48
48
|
|
|
49
49
|
|
|
50
50
|
log_dir = _resolve_log_dir()
|
|
@@ -52,6 +52,7 @@ log_dir.mkdir(exist_ok=True)
|
|
|
52
52
|
log_file = log_dir / "xmas_app.log"
|
|
53
53
|
|
|
54
54
|
logger = logging.getLogger("xmas_app")
|
|
55
|
+
logger.propagate = False
|
|
55
56
|
|
|
56
57
|
logger.handlers.clear()
|
|
57
58
|
logger.setLevel(logging.DEBUG if settings.debug else logging.INFO)
|
|
@@ -1231,15 +1232,14 @@ async def receive_split_plans(payload: SplitPayload) -> SplitSuccess:
|
|
|
1231
1232
|
|
|
1232
1233
|
@asynccontextmanager
|
|
1233
1234
|
async def lifespan(starlette_app):
|
|
1234
|
-
|
|
1235
|
-
f"
|
|
1236
|
-
)
|
|
1237
|
-
print(
|
|
1238
|
-
f"NiceGUI server is running on port {settings.app_port} in {settings.app_mode} mode."
|
|
1235
|
+
msg = (
|
|
1236
|
+
f"XMAS-App is running on port {settings.app_port} in {settings.app_mode} mode."
|
|
1239
1237
|
)
|
|
1238
|
+
logger.info(msg)
|
|
1239
|
+
print(msg)
|
|
1240
1240
|
yield
|
|
1241
|
-
logger.info("
|
|
1242
|
-
print("
|
|
1241
|
+
logger.info("XMAS-App is shutting down.")
|
|
1242
|
+
print("XMAS-App is shutting down.")
|
|
1243
1243
|
|
|
1244
1244
|
|
|
1245
1245
|
starlette_app = Starlette(
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|