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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xmas-app
3
- Version: 0.11.1
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:5432/postgres
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:5432/postgres
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.1"
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
- logger.info(
1235
- f"NiceGUI server is running on port {settings.app_port} in {settings.app_mode} mode."
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("Server is shutting down.")
1242
- print("Server is shutting down.")
1241
+ logger.info("XMAS-App is shutting down.")
1242
+ print("XMAS-App is shutting down.")
1243
1243
 
1244
1244
 
1245
1245
  starlette_app = Starlette(
@@ -17,7 +17,7 @@ class InsertPayload(RootModel):
17
17
 
18
18
  class UpdateItem(BaseModel):
19
19
  properties: dict = {}
20
- geometry: dict | None
20
+ geometry: dict | None = None
21
21
 
22
22
 
23
23
  class UpdatePayload(RootModel):
File without changes
File without changes
File without changes
File without changes
File without changes