cici-tools 0.17.0__py3-none-any.whl → 0.17.1__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.
- cici/_version.py +3 -3
- cici/config/project/serializers.py +11 -6
- {cici_tools-0.17.0.dist-info → cici_tools-0.17.1.dist-info}/METADATA +1 -1
- {cici_tools-0.17.0.dist-info → cici_tools-0.17.1.dist-info}/RECORD +9 -9
- {cici_tools-0.17.0.dist-info → cici_tools-0.17.1.dist-info}/WHEEL +0 -0
- {cici_tools-0.17.0.dist-info → cici_tools-0.17.1.dist-info}/entry_points.txt +0 -0
- {cici_tools-0.17.0.dist-info → cici_tools-0.17.1.dist-info}/licenses/LICENSE +0 -0
- {cici_tools-0.17.0.dist-info → cici_tools-0.17.1.dist-info}/licenses/NOTICE +0 -0
- {cici_tools-0.17.0.dist-info → cici_tools-0.17.1.dist-info}/top_level.txt +0 -0
cici/_version.py
CHANGED
|
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
|
|
|
28
28
|
commit_id: COMMIT_ID
|
|
29
29
|
__commit_id__: COMMIT_ID
|
|
30
30
|
|
|
31
|
-
__version__ = version = '0.17.
|
|
32
|
-
__version_tuple__ = version_tuple = (0, 17,
|
|
31
|
+
__version__ = version = '0.17.1'
|
|
32
|
+
__version_tuple__ = version_tuple = (0, 17, 1)
|
|
33
33
|
|
|
34
|
-
__commit_id__ = commit_id = '
|
|
34
|
+
__commit_id__ = commit_id = 'ge578edc48'
|
|
@@ -148,14 +148,19 @@ def loads(
|
|
|
148
148
|
# verify targets exists even if empty
|
|
149
149
|
data.setdefault("targets", [])
|
|
150
150
|
|
|
151
|
-
# Inject precommit/gitlab
|
|
151
|
+
# Inject precommit/gitlab include references into each target
|
|
152
|
+
for target in data["targets"]:
|
|
153
|
+
name = target["name"]
|
|
152
154
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
+
# if precommit hook exists in .pre-commit-hooks.yml, attach a pre-commit hook reference
|
|
156
|
+
# Injected object must match PreCommitHookTarget schema to keep msgspec happy
|
|
157
|
+
if name in precommit_hooks:
|
|
158
|
+
target["precommit_hook"] = {"name": name}
|
|
159
|
+
else:
|
|
160
|
+
# Remove key entirely when no hook exists so msgspec can apply
|
|
161
|
+
target.pop("precommit_hook", None)
|
|
155
162
|
|
|
156
|
-
|
|
157
|
-
target["precommit_hook"] = {"name": target["name"]}
|
|
158
|
-
target["gitlab_include"] = {"name": target["name"]}
|
|
163
|
+
target["gitlab_include"] = {"name": name}
|
|
159
164
|
|
|
160
165
|
# Debug to test injection
|
|
161
166
|
# print("After injection:", data["targets"])
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
cici/__init__.py,sha256=wdYYpZKxK2omc_mRJgPj86Ec-QwoB4noZzlk71sBjnk,87
|
|
2
2
|
cici/__main__.py,sha256=TWDBrcS5vXSclLWLm0Iu3uUXOkDw0PzcJ8a0zd7_ClU,150
|
|
3
|
-
cici/_version.py,sha256=
|
|
3
|
+
cici/_version.py,sha256=UcfJr5SDMbnLubKNu1a83szGr60gwIDKBmzvM_wxU6c,714
|
|
4
4
|
cici/constants.py,sha256=ydShHTAbuanWWXeg9tJZ5GLm65M41AKmIibUheKV5nw,913
|
|
5
5
|
cici/exceptions.py,sha256=JMpcD5YjYwKdn65D0iOEchXiAgIVsKApAyngCTwVgI4,139
|
|
6
6
|
cici/main.py,sha256=ceH9s7i2XdB-mpUtDWuzLVn9TZHiwmsq-daZOgB9oRI,748
|
|
@@ -16,7 +16,7 @@ cici/config/__init__.py,sha256=TIewA-VCl2VYl_d0EviE3EEQSmBtDwjU26R68pDT38E,141
|
|
|
16
16
|
cici/config/user.py,sha256=UBz21P-Vj41rKy2DAZwdAp5vcliAEEQlEQeEfHk-EZ4,841
|
|
17
17
|
cici/config/project/__init__.py,sha256=wdYYpZKxK2omc_mRJgPj86Ec-QwoB4noZzlk71sBjnk,87
|
|
18
18
|
cici/config/project/models.py,sha256=Ao8MGliXihoYRgqplWQAIyC3r4Jb0aj53F7EhgZGcu4,5873
|
|
19
|
-
cici/config/project/serializers.py,sha256=
|
|
19
|
+
cici/config/project/serializers.py,sha256=O3uj4Mmno7xsOQqFb78rtyMM3-66DEE1B0mTOUXZMc4,6418
|
|
20
20
|
cici/providers/__init__.py,sha256=wdYYpZKxK2omc_mRJgPj86Ec-QwoB4noZzlk71sBjnk,87
|
|
21
21
|
cici/providers/gitlab/__init__.py,sha256=8ej6k3hd25UFOGFhHymLa2mvz9hEwMjdxyu66hnJwOQ,259
|
|
22
22
|
cici/providers/gitlab/constants.py,sha256=nA36aqGvwBBood8lTFJueEY8lKEsOVjkp6ciMjAeKJA,1786
|
|
@@ -39,10 +39,10 @@ cici/templates/target-table.md.j2,sha256=NYspLbP3ap1706WnehZRtu6a2uxL_mKf7zfm3y0
|
|
|
39
39
|
cici/templates/targets.md.j2,sha256=k-lkfReFJMCu9t2SjuD5YJ-Q_KECJxdY7v-0TWDTaCM,116
|
|
40
40
|
cici/templates/variable-list.md.j2,sha256=M9r3j7d8H171okQNj8j4pc92kMdeWSRoeZQ5QB3NUTQ,613
|
|
41
41
|
cici/templates/variables.md.j2,sha256=2DquXagNupqBkD95_3ZI4guJOK-eG_igaaMdRIUDrcE,84
|
|
42
|
-
cici_tools-0.17.
|
|
43
|
-
cici_tools-0.17.
|
|
44
|
-
cici_tools-0.17.
|
|
45
|
-
cici_tools-0.17.
|
|
46
|
-
cici_tools-0.17.
|
|
47
|
-
cici_tools-0.17.
|
|
48
|
-
cici_tools-0.17.
|
|
42
|
+
cici_tools-0.17.1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
43
|
+
cici_tools-0.17.1.dist-info/licenses/NOTICE,sha256=dIBr-7sfvnoYXYvgHIozlRJTLD4EHORRtRJtIe4znW8,55
|
|
44
|
+
cici_tools-0.17.1.dist-info/METADATA,sha256=teqs6ew12daHh-3g_JIJN7p17X_1XH3FpkjMauDoVX8,4178
|
|
45
|
+
cici_tools-0.17.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
46
|
+
cici_tools-0.17.1.dist-info/entry_points.txt,sha256=CuBAwYG3z7qOKm4IYARjZzdX5fytMLKyr59HLLJx_Is,44
|
|
47
|
+
cici_tools-0.17.1.dist-info/top_level.txt,sha256=sv8xIjFuuqtyBMoyzueczNvZo_--q12r64Zc0lGKKF8,5
|
|
48
|
+
cici_tools-0.17.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|