amsdal_cli 0.4.11__py3-none-any.whl → 0.4.12__py3-none-any.whl

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.
amsdal_cli/__about__.py CHANGED
@@ -1,4 +1,4 @@
1
1
  # SPDX-FileCopyrightText: 2023-present
2
2
  #
3
3
  # SPDX-License-Identifier: AMSDAL End User License Agreement
4
- __version__ = '0.4.11'
4
+ __version__ = '0.4.12'
@@ -62,7 +62,10 @@ def init_app_context(
62
62
  templates_path = Path(__file__).parent / _cmd / 'templates'
63
63
 
64
64
  if ctx.invoked_subcommand in COMMANDS_DO_NOT_REQUIRE_APP_PATH:
65
- ctx.meta['config'] = CliConfig(templates_path=templates_path)
65
+ ctx.meta['config'] = CliConfig(
66
+ templates_path=templates_path,
67
+ application_uuid=settings.AMSDAL_APPLICATION_UUID,
68
+ )
66
69
 
67
70
  return
68
71
 
@@ -87,6 +90,9 @@ def init_app_context(
87
90
 
88
91
  config = ctx.meta['config']
89
92
 
93
+ if not config.application_uuid:
94
+ config.application_uuid = settings.AMSDAL_APPLICATION_UUID
95
+
90
96
  vcs_service = get_vcs_service(config)
91
97
  ctx.meta['vcs_service'] = vcs_service
92
98
 
amsdal_cli/config/main.py CHANGED
@@ -38,6 +38,8 @@ class Settings(BaseSettings):
38
38
 
39
39
  CHECK_AMSDAL_VERSIONS: bool = True
40
40
  """If True, the latest version of the amsdal modules will be checked and displayed."""
41
+ AMSDAL_APPLICATION_UUID: str | None = None
42
+ """The UUID of the application."""
41
43
 
42
44
  @field_validator('COMMANDS')
43
45
  @classmethod
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amsdal_cli
3
- Version: 0.4.11
3
+ Version: 0.4.12
4
4
  Summary: CLI for AMSDAL framework
5
5
  Project-URL: Documentation, https://pypi.org/project/amsdal_cli/#readme
6
6
  Project-URL: Issues, https://pypi.org/project/amsdal_cli/
@@ -1,11 +1,11 @@
1
1
  amsdal_cli/Third-Party Materials - AMSDAL Dependencies - License Notices.md,sha256=eHOIhsC6pZv3Wf8aKfaBNJhVi20gM6Rm2PakZTrdIOQ,66641
2
- amsdal_cli/__about__.py,sha256=NVVv09QbMmNc35I5OiEHYmNYCXaYj3yqbjPIXmci5nA,125
2
+ amsdal_cli/__about__.py,sha256=gYTrUkWirZpWE2ZgeVQtuizy8s0aSITCM0NkS3m3Xdw,125
3
3
  amsdal_cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  amsdal_cli/app.py,sha256=_ucuLT5ospf1ifFKEG0IMfVnxKjnvPUQ4iMhkvOfCrc,466
5
5
  amsdal_cli/main.py,sha256=LtH-BD1eJrAUecjKzC8Gx7kYFUstOMH1erdeJUVqFB8,144
6
6
  amsdal_cli/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  amsdal_cli/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
- amsdal_cli/commands/callbacks.py,sha256=vUH5eAFv_wtubqbcVxH1TU9A_tQqAtePBvQ6shuQf0k,3496
8
+ amsdal_cli/commands/callbacks.py,sha256=QzTxqkMa6c4mNhE41J5YnUn8RpD-QqWigv7nzHmtjq8,3686
9
9
  amsdal_cli/commands/build/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
10
  amsdal_cli/commands/build/command.py,sha256=1-Thx2Iz-xr9UDulTiBRZYValCdWhg-SgUAnF370N1o,742
11
11
  amsdal_cli/commands/build/constants.py,sha256=an5hbofZrKzyFfxTCu4VSmNQGtAMRSrDj1_TnncyZOw,42
@@ -184,7 +184,7 @@ amsdal_cli/commands/worker/command.py,sha256=e3uL38VYCp71-XsVYvE1xlt2FqhP54ujlhV
184
184
  amsdal_cli/commands/worker/sub_commands/__init__.py,sha256=5AVFexW1UpfPpfNfYoioA6Pix1uiRSEjVEa-_wP89j4,100
185
185
  amsdal_cli/commands/worker/sub_commands/run.py,sha256=Bnl__gGl058IR_7JuJ915fOWbctRNH_Vqv3a-PFx8Do,4375
186
186
  amsdal_cli/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
187
- amsdal_cli/config/main.py,sha256=6ulgeN8t61wF8yLf5ylk0rqmUpoIhh4fomieW_lJ88Y,2701
187
+ amsdal_cli/config/main.py,sha256=A1XPNQmf7usUu2h80DlRiOPpyT8KkGVTjxUeCYHjpaU,2787
188
188
  amsdal_cli/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
189
189
  amsdal_cli/utils/alias_group.py,sha256=v0ninrhZGtZFuJtUH6ZZZ97Irs96nkmIBFm2gY1NdmU,991
190
190
  amsdal_cli/utils/check_versions.py,sha256=4Q3GwY_0xgP_RV_ITuFSDigXds-f1QhqCqkUkn-CSMI,1475
@@ -199,8 +199,8 @@ amsdal_cli/utils/vcs/base.py,sha256=jC05ExJZDnyHAsW7_4IDf8gQcYgK4dXq3zNlFIX66T4,
199
199
  amsdal_cli/utils/vcs/dummy.py,sha256=Lk8MT-b0YlHHUsiXsq5cvmPwcl4jTYdo8piN5_C8ORA,434
200
200
  amsdal_cli/utils/vcs/enums.py,sha256=tYR9LN1IOr8BZFbSeX_vDlhn8fPl4IU-Yakii8lRDYs,69
201
201
  amsdal_cli/utils/vcs/git.py,sha256=xHynbZcV6p2D3RFCwu1MGGpV9D7eK-pGUtO8kVexTQM,1269
202
- amsdal_cli-0.4.11.dist-info/METADATA,sha256=xN6rdKnwzatwvy5tGAi5yKlHIGXC64uE5q8_cZZgP5I,57050
203
- amsdal_cli-0.4.11.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
204
- amsdal_cli-0.4.11.dist-info/entry_points.txt,sha256=GC-8LZsD3W--Pd9_gD4W3tw3ZZyPbSvkZ-qWc9Fx0NI,47
205
- amsdal_cli-0.4.11.dist-info/licenses/LICENSE.txt,sha256=hG-541PFYfNJi9WRZi_hno91UyqNg7YLK8LR3vLblZA,27355
206
- amsdal_cli-0.4.11.dist-info/RECORD,,
202
+ amsdal_cli-0.4.12.dist-info/METADATA,sha256=j3DkWjUlxhxVdYw4NNKcrFJDnzbTIBdz4191gSlf3eo,57050
203
+ amsdal_cli-0.4.12.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
204
+ amsdal_cli-0.4.12.dist-info/entry_points.txt,sha256=GC-8LZsD3W--Pd9_gD4W3tw3ZZyPbSvkZ-qWc9Fx0NI,47
205
+ amsdal_cli-0.4.12.dist-info/licenses/LICENSE.txt,sha256=hG-541PFYfNJi9WRZi_hno91UyqNg7YLK8LR3vLblZA,27355
206
+ amsdal_cli-0.4.12.dist-info/RECORD,,