proj-flow 0.9.0__py3-none-any.whl → 0.9.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.
- proj_flow/__init__.py +1 -1
- proj_flow/__main__.py +1 -1
- proj_flow/cli/argument.py +6 -3
- proj_flow/ext/github/cli.py +8 -1
- {proj_flow-0.9.0.dist-info → proj_flow-0.9.1.dist-info}/METADATA +1 -1
- {proj_flow-0.9.0.dist-info → proj_flow-0.9.1.dist-info}/RECORD +9 -9
- {proj_flow-0.9.0.dist-info → proj_flow-0.9.1.dist-info}/WHEEL +0 -0
- {proj_flow-0.9.0.dist-info → proj_flow-0.9.1.dist-info}/entry_points.txt +0 -0
- {proj_flow-0.9.0.dist-info → proj_flow-0.9.1.dist-info}/licenses/LICENSE +0 -0
proj_flow/__init__.py
CHANGED
proj_flow/__main__.py
CHANGED
proj_flow/cli/argument.py
CHANGED
|
@@ -439,9 +439,12 @@ def _argparse_config_visit(parser: Parser):
|
|
|
439
439
|
help=f'Shortcut for "-D {" ".join(config)}"',
|
|
440
440
|
)
|
|
441
441
|
|
|
442
|
-
|
|
442
|
+
|
|
443
|
+
def verbose_info(commands: typing.List[Command], prefix=""):
|
|
443
444
|
for command in commands:
|
|
444
445
|
cli = f"{prefix} {command.name}" if prefix else command.name
|
|
445
446
|
if command.entry is not None:
|
|
446
|
-
print(
|
|
447
|
-
|
|
447
|
+
print(
|
|
448
|
+
f"-- Command: adding `{cli}` from `{command.entry.__module__}.{command.entry.__name__}(...)`"
|
|
449
|
+
)
|
|
450
|
+
verbose_info(command.children, cli)
|
proj_flow/ext/github/cli.py
CHANGED
|
@@ -86,6 +86,13 @@ def release(
|
|
|
86
86
|
choices=FORCED_LEVEL_CHOICES,
|
|
87
87
|
),
|
|
88
88
|
],
|
|
89
|
+
publish: typing.Annotated[
|
|
90
|
+
typing.Optional[str],
|
|
91
|
+
arg.Argument(
|
|
92
|
+
help="Publish the release during this command.",
|
|
93
|
+
choices=["ON", "OFF"],
|
|
94
|
+
),
|
|
95
|
+
],
|
|
89
96
|
):
|
|
90
97
|
"""
|
|
91
98
|
Bumps the project version based on current git logs, creates a "chore"
|
|
@@ -106,7 +113,7 @@ def release(
|
|
|
106
113
|
rt=rt,
|
|
107
114
|
forced_level=forced_level,
|
|
108
115
|
take_all=all,
|
|
109
|
-
draft=
|
|
116
|
+
draft=publish != "ON",
|
|
110
117
|
generator=generator,
|
|
111
118
|
git=git,
|
|
112
119
|
hosting=gh_links,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
proj_flow/__init__.py,sha256=
|
|
2
|
-
proj_flow/__main__.py,sha256=
|
|
1
|
+
proj_flow/__init__.py,sha256=2qiJM6cOfWUqTJW18ZmKvi6cF_RaJx8zWUwMy8buHkg,124
|
|
2
|
+
proj_flow/__main__.py,sha256=HUar_qQ9Ndmchmryegtzu__5wukwCLrFN_SGRl5Ol_M,233
|
|
3
3
|
proj_flow/api/__init__.py,sha256=gV2f6kll_5JXtvkGASvnx7CbOWr34PHOdck-4ce-qEk,378
|
|
4
4
|
proj_flow/api/arg.py,sha256=J7_53noW7t8VJ9sfJiX4qaPs7KqWfMHNcrWYe1jIq-g,4097
|
|
5
5
|
proj_flow/api/completers.py,sha256=NapNVu6QAQ_iF6dqcAzOV5kDHKD9MAMVX209Bklq-Mw,2464
|
|
@@ -17,13 +17,13 @@ proj_flow/base/plugins.py,sha256=ZH8p16eeqdf7r99IHPEzvTxATXonj3QSwnYhEPtJSvE,208
|
|
|
17
17
|
proj_flow/base/registry.py,sha256=0OdNeeZmek1CecR0yMRAcKc7zHtQ6kpKTBPdfdV8iRo,2933
|
|
18
18
|
proj_flow/base/uname.py,sha256=7Awb3Es0jTAKMpyRawdrC16xc5X9M97BlPqEfQibqIk,2295
|
|
19
19
|
proj_flow/cli/__init__.py,sha256=IpNnnr3ZOzwCmdhAzzruA8Sms04U1thdJjUvU6qpRH8,1270
|
|
20
|
-
proj_flow/cli/argument.py,sha256
|
|
20
|
+
proj_flow/cli/argument.py,sha256=-wAm5WjhnYd0Qouo3j6QYXhQs3q5YAhrJlJNpMgl47E,13691
|
|
21
21
|
proj_flow/cli/finder.py,sha256=5x7H1nH0k63DetDauhB_wABel_f0RQpsZ5YnhPfbkRc,1402
|
|
22
22
|
proj_flow/ext/__init__.py,sha256=XD52rUFTPz3GnyRq6KZUNeWdMce7e0bB19iTx-zU6DE,169
|
|
23
23
|
proj_flow/ext/markdown_changelist.py,sha256=P6FSfX2yD62Zm5_KnNDKo2XB-K_7rLZsXPcs6xH87xo,351
|
|
24
24
|
proj_flow/ext/re_structured_changelist.py,sha256=u1mNCvntGRf-r6ti1fRVe-99IgWbxb5htfjzyeVml_0,360
|
|
25
25
|
proj_flow/ext/github/__init__.py,sha256=_ujB0X99q0DYWMwL1H4TiYyxTzKsE_2Pvzwva91_jrw,260
|
|
26
|
-
proj_flow/ext/github/cli.py,sha256=
|
|
26
|
+
proj_flow/ext/github/cli.py,sha256=hzfU2Pk3X0T-uZBcesJqZ-fpgxJS0725EZAhETrSHa4,3638
|
|
27
27
|
proj_flow/ext/github/hosting.py,sha256=3iW8QjeJk7MyqKNbv92nB-5a_Yn_B5_eEIlw_cdgUT0,519
|
|
28
28
|
proj_flow/ext/python/__init__.py,sha256=GbEKEJJZ3PJ4sRHEykAWjGIR6yyyrYdlUFulldvsAGI,252
|
|
29
29
|
proj_flow/ext/python/rtdocs.py,sha256=MliuI8GJ0lP7Azyeqt6qCMKLVOy0h7RdTwJbkw2Oc4c,6350
|
|
@@ -133,8 +133,8 @@ proj_flow/template/licenses/MIT.mustache,sha256=NncPoQaNsuy-WmRmboik3fyhJJ8m5pc2
|
|
|
133
133
|
proj_flow/template/licenses/Unlicense.mustache,sha256=awOCsWJ58m_2kBQwBUGWejVqZm6wuRtCL2hi9rfa0X4,1211
|
|
134
134
|
proj_flow/template/licenses/WTFPL.mustache,sha256=lvF4V_PrKKfZPa2TC8CZo8tlqaKvs3Bpv9G6XsWWQ4k,483
|
|
135
135
|
proj_flow/template/licenses/Zlib.mustache,sha256=uIj-mhSjes2HJ3rRapyy2ALflKRz4xQgS4mVM9827C0,868
|
|
136
|
-
proj_flow-0.9.
|
|
137
|
-
proj_flow-0.9.
|
|
138
|
-
proj_flow-0.9.
|
|
139
|
-
proj_flow-0.9.
|
|
140
|
-
proj_flow-0.9.
|
|
136
|
+
proj_flow-0.9.1.dist-info/METADATA,sha256=Um3PvrSXnuT1toPjAkEjlDfDa2j3YtxxAy_G6tVaIYM,2780
|
|
137
|
+
proj_flow-0.9.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
138
|
+
proj_flow-0.9.1.dist-info/entry_points.txt,sha256=d_OmGKZzpY7FCWz0sZ4wnBAPZC75oMEzTgJZWtpDELo,49
|
|
139
|
+
proj_flow-0.9.1.dist-info/licenses/LICENSE,sha256=vpOQJ5QlrTedF3coEWvA4wJzVJH304f66ZitR7Od4iU,1068
|
|
140
|
+
proj_flow-0.9.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|