zrb 0.11.2__py3-none-any.whl → 0.11.3__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.
- zrb/builtin/project/create/template/.github/workflows/_zrb.yml +3 -0
- zrb/task/wiki_task.py +9 -1
- {zrb-0.11.2.dist-info → zrb-0.11.3.dist-info}/METADATA +1 -1
- {zrb-0.11.2.dist-info → zrb-0.11.3.dist-info}/RECORD +7 -7
- {zrb-0.11.2.dist-info → zrb-0.11.3.dist-info}/LICENSE +0 -0
- {zrb-0.11.2.dist-info → zrb-0.11.3.dist-info}/WHEEL +0 -0
- {zrb-0.11.2.dist-info → zrb-0.11.3.dist-info}/entry_points.txt +0 -0
@@ -36,6 +36,9 @@ jobs:
|
|
36
36
|
set -e
|
37
37
|
export ZRB_ENV=${{ inputs.environment }}
|
38
38
|
export ZRB_SHOW_PROMPT=false
|
39
|
+
echo "🏁 Install project dependencies"
|
40
|
+
poetry config virtualenvs.create false --local
|
41
|
+
poetry install
|
39
42
|
echo "🏁 Start running"
|
40
43
|
${{ inputs.command }}
|
41
44
|
- run: echo "🍏 This job's status is ${{ job.status }}."
|
zrb/task/wiki_task.py
CHANGED
@@ -4,6 +4,7 @@ from zrb.action.runner import Runner
|
|
4
4
|
from zrb.helper.task import show_lines
|
5
5
|
from zrb.helper.typecheck import typechecked
|
6
6
|
from zrb.helper.typing import Any, Callable, Iterable, List, Mapping, Optional, Union
|
7
|
+
from zrb.helper.util import to_human_readable
|
7
8
|
from zrb.task.any_task import AnyTask
|
8
9
|
from zrb.task.any_task_event_handler import (
|
9
10
|
OnFailed,
|
@@ -49,9 +50,11 @@ def create_wiki_tasks(
|
|
49
50
|
if not file_name.endswith(".md"):
|
50
51
|
continue
|
51
52
|
task_name = file_name[:-3]
|
53
|
+
task_description = f"Article about {to_human_readable(task_name)}"
|
52
54
|
task = Task(
|
53
55
|
name=task_name,
|
54
56
|
group=group,
|
57
|
+
description=task_description,
|
55
58
|
inputs=inputs,
|
56
59
|
envs=envs,
|
57
60
|
env_files=env_files,
|
@@ -73,7 +76,12 @@ def create_wiki_tasks(
|
|
73
76
|
runner.register(task)
|
74
77
|
tasks.append(task)
|
75
78
|
for dir_name in directory_structure["dirs"]:
|
76
|
-
|
79
|
+
sub_group_description = f"Articles related to {to_human_readable(dir_name)}"
|
80
|
+
sub_group = Group(
|
81
|
+
name=dir_name,
|
82
|
+
parent=group,
|
83
|
+
description=sub_group_description,
|
84
|
+
)
|
77
85
|
sub_tasks = create_wiki_tasks(
|
78
86
|
directory=os.path.join(abs_directory, dir_name),
|
79
87
|
group=sub_group,
|
@@ -1268,7 +1268,7 @@ zrb/builtin/project/create/_input.py,sha256=hiSB7jSUqfDlQeSb2S_p14G-Ipo8mMLyNwh6
|
|
1268
1268
|
zrb/builtin/project/create/create.py,sha256=7OGvlhWz63uLBh4jxZ4W8drEDL8Fpvc1kO9bcTvZjx8,3188
|
1269
1269
|
zrb/builtin/project/create/init-git.sh,sha256=38ri7BuoT_5vXS2jlNbJmkSPgaZvkIBWt-Np_DhMjLI,110
|
1270
1270
|
zrb/builtin/project/create/template/.flake8,sha256=uBzLhwCiogbbtgxD9dBTGxSm_8VQ1UHpVkn2CroGl3c,56
|
1271
|
-
zrb/builtin/project/create/template/.github/workflows/_zrb.yml,sha256=
|
1271
|
+
zrb/builtin/project/create/template/.github/workflows/_zrb.yml,sha256=OsXYQrxU9J5-RdjhdsVRMjbICo7gb2-Ww1Jh1J3zT_M,1214
|
1272
1272
|
zrb/builtin/project/create/template/.github/workflows/hello.yml,sha256=JmaDXN3vagvA47Sy41Z4ieNMElqqkM-k6y7t5CHJ93o,208
|
1273
1273
|
zrb/builtin/project/create/template/.gitignore,sha256=9Sy-cmSDOIawqlmervgoO1eWMoJpOTUIneOpNqGW2Dw,27
|
1274
1274
|
zrb/builtin/project/create/template/.python-version,sha256=rGeoqWHOE1NzOu73didX8_OyjR9O8b-XNp87WjKbO0s,7
|
@@ -1381,7 +1381,7 @@ zrb/task/resource_maker.py,sha256=QrzYlhWCAMu2_WmMr4RImbP53ppNHzeob6I5cHxX2xU,66
|
|
1381
1381
|
zrb/task/rsync_task.py,sha256=5X_Il43TTXkqMF-W5olzoGzykIm9zZNkwe7oLLQ4dwY,4034
|
1382
1382
|
zrb/task/task.py,sha256=38w8diC22nU5bzN2X9mfJ8PKxxMl1Q_Lrlu5uIBRuc4,182
|
1383
1383
|
zrb/task/time_watcher.py,sha256=M-GZPZIYmeBiTDeU9mgecpMJ7UMoZ1Zsj9c4OwTVa7o,3984
|
1384
|
-
zrb/task/wiki_task.py,sha256=
|
1384
|
+
zrb/task/wiki_task.py,sha256=HXKpssgKGdjBckW-Ena8m-sUqxX6Ty6_hQ9bIXAEI9Q,4178
|
1385
1385
|
zrb/task_env/constant.py,sha256=pWmniGJQV-74aNR7J0PYldFbL6YxZT27Nxs1jdwhH_Q,44
|
1386
1386
|
zrb/task_env/env.py,sha256=y16WTzZGUJB596a2Qb_X1dhV0oYxU4JwlWf_rrHKMWo,4766
|
1387
1387
|
zrb/task_env/env_file.py,sha256=BWG9ei41GrTKuTAOudneVBM-3ay88cnlM_11zWKMePE,2932
|
@@ -1398,8 +1398,8 @@ zrb/task_input/int_input.py,sha256=NVXAToqgdmWVwDqnr3XGuvq_QMNvUiIdD-pW5L4uebk,4
|
|
1398
1398
|
zrb/task_input/password_input.py,sha256=5sS3XP7WtGow7r7Fid8J9SX0iNCidO6Bg7q40UpZDM0,4029
|
1399
1399
|
zrb/task_input/str_input.py,sha256=D2WBeB-CdmAuOSzT7jTXvie7X3EK_m_Oq8_SVwmNpWA,4042
|
1400
1400
|
zrb/task_input/task_input.py,sha256=L-U5dX-I2U5ci7GU226Q8pXcQe5SpGuOl5viFwlfiM0,2022
|
1401
|
-
zrb-0.11.
|
1402
|
-
zrb-0.11.
|
1403
|
-
zrb-0.11.
|
1404
|
-
zrb-0.11.
|
1405
|
-
zrb-0.11.
|
1401
|
+
zrb-0.11.3.dist-info/LICENSE,sha256=WfnGCl8G60EYOPAEkuc8C9m9pdXWDe08NsKj3TBbxsM,728
|
1402
|
+
zrb-0.11.3.dist-info/METADATA,sha256=OXZElhmcZo9lTgFS3aSODy2vJeHDDZZ063r4z8OeKSk,16460
|
1403
|
+
zrb-0.11.3.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
1404
|
+
zrb-0.11.3.dist-info/entry_points.txt,sha256=xTgXc1kBKYhJHEujdaSPHUcJT3-hbyP1mLgwkv-5sSk,40
|
1405
|
+
zrb-0.11.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|