proj-flow 0.13.1__tar.gz → 0.14.1__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.
- {proj_flow-0.13.1 → proj_flow-0.14.1}/.flow/config.yaml +1 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/CHANGELOG.rst +16 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/PKG-INFO +2 -2
- proj_flow-0.14.1/ROADMAP.md +7 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/pyproject.toml +16 -1
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/__init__.py +1 -1
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/ext/github/cli.py +8 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/log/release.py +2 -1
- proj_flow-0.14.1/src/proj_flow/minimal/ext/bug_report.py +33 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/.gitignore +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/.readthedocs.yaml +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/LICENSE +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/README.md +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/__main__.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/api/__init__.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/api/arg.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/api/completers.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/api/ctx.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/api/env.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/api/init.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/api/makefile.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/api/release.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/api/step.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/base/__cmake_version__.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/base/__init__.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/base/cmd.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/base/inspect.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/base/matrix.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/base/name_list.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/base/plugins.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/base/registry.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/base/uname.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/cli/__init__.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/cli/argument.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/cli/finder.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/dependency.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/ext/__init__.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/ext/cplusplus/__init__.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/ext/cplusplus/cmake/__init__.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/ext/cplusplus/cmake/parser.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/ext/cplusplus/cmake/project.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/ext/cplusplus/cmake/steps.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/ext/cplusplus/conan/__init__.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/ext/cplusplus/conan/_conan.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/ext/github/__init__.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/ext/github/hosting.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/ext/github/publishing.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/ext/github/switches.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/ext/markdown_changelog.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/ext/python/__init__.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/ext/python/rtdocs.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/ext/python/steps.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/ext/python/version.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/ext/re_structured_changelog.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/ext/sign/__init__.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/ext/sign/api.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/ext/sign/win32.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/ext/store.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/flow/__init__.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/flow/configs.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/flow/layer.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/flow/steps.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/log/__init__.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/log/commit.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/log/error.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/log/fmt.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/log/format.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/log/hosting/__init__.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/log/hosting/github.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/log/msg.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/log/rich_text/__init__.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/log/rich_text/api.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/log/rich_text/markdown.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/log/rich_text/re_structured_text.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/minimal/__init__.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/minimal/base.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/minimal/bootstrap.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/minimal/init.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/minimal/list.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/minimal/run.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/minimal/system.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/project/__init__.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/project/api.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/project/cplusplus/__init__.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/project/cplusplus/cmake_context.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/project/cplusplus/conan_context.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/project/cplusplus/project.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/project/data.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/project/interact.py +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/base/.clang-format +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/base/.flow/config.yml +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/base/.flow/flow.py.mustache +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/base/.flow/matrix.yml +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/base/.flow/official.yml +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/base/.gitignore +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/base/README.md.mustache +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/base/flow +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/base/flow.cmd +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/base.json +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/cmake/.flow/cmake/common.cmake.mustache +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/cmake/.flow/extensions/wall/__init__.py.mustache +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/cmake/.flow/extensions/wall/icons/__init__.py.mustache +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/cmake/.flow/extensions/wall/icons/magick.py.mustache +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/cmake/.flow/packages/base.cmake.mustache +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/cmake/.flow/packages/config.cmake +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/cmake/.flow/packages/cpack.cmake +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/cmake/.flow/packages/wix/cpack.cmake.mustache +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/cmake/.flow/packages/wix/patches.in.wix +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/cmake/.flow/packages/wix.cmake.mustache +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/cmake/CMakeGraphVizOptions.cmake +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/cmake/CMakeLists.txt.mustache +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/cmake/CMakePresets.json +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/cmake/data/assets/appicon.ico +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/cmake/data/assets/appicon.png +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/cmake/data/assets/wix_banner.bmp +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/cmake/data/assets/wix_dialog.bmp +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/cmake/data/icons/.gitignore +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/cmake/data/icons/appicon-mask.svg +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/cmake/data/icons/appicon.svg +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/cmake/src/main.cc.mustache +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/cmake/src/version.hpp.in.mustache +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/cmake/tests/test.cc.mustache +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/cmake.json +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/conan/.flow/cmake/libcxx_toolchain.cmake +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/conan/.flow/cmake/output_dirs_setup.cmake +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/conan/conanfile.txt +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/conan.json +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/github_actions/.github/linters/.isort.cfg +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/github_actions/.github/linters/.mypy.ini +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/github_actions/.github/workflows/build.yml +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/github_actions/.github/workflows/linter.yml +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/github_actions/CPPLINT.cfg +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/github_actions.json +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/github_social/.github/ISSUE_TEMPLATE/bug_report.md.mustache +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/github_social/.github/ISSUE_TEMPLATE/feature_request.md.mustache +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/github_social/CODE_OF_CONDUCT.md.mustache +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/github_social/CONTRIBUTING.md +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/github_social.json +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/licenses/0BSD.mustache +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/licenses/MIT.mustache +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/licenses/Unlicense.mustache +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/licenses/WTFPL.mustache +0 -0
- {proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/licenses/Zlib.mustache +0 -0
|
@@ -4,6 +4,22 @@ Changelog
|
|
|
4
4
|
|
|
5
5
|
All notable changes to this project will be documented in this file.
|
|
6
6
|
|
|
7
|
+
`0.14.1 <https://github.com/mzdun/proj-flow/compare/v0.14.0...v0.14.1>`_ (2025-02-23)
|
|
8
|
+
=====================================================================================
|
|
9
|
+
|
|
10
|
+
Bug Fixes
|
|
11
|
+
---------
|
|
12
|
+
|
|
13
|
+
- unbound variables in no-release (`e908e2b <https://github.com/mzdun/proj-flow/commit/e908e2b5a35b9f6c330855a25aa819dd73879fd0>`_)
|
|
14
|
+
|
|
15
|
+
`0.14.0 <https://github.com/mzdun/proj-flow/compare/v0.13.1...v0.14.0>`_ (2025-02-23)
|
|
16
|
+
=====================================================================================
|
|
17
|
+
|
|
18
|
+
New Features
|
|
19
|
+
------------
|
|
20
|
+
|
|
21
|
+
- update bug_report.yaml on release (`1d6ac37 <https://github.com/mzdun/proj-flow/commit/1d6ac3724ddd6dc18870fc568143fc1dbf8e3a07>`_)
|
|
22
|
+
|
|
7
23
|
`0.13.1 <https://github.com/mzdun/proj-flow/compare/v0.13.0...v0.13.1>`_ (2025-02-22)
|
|
8
24
|
=====================================================================================
|
|
9
25
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: proj-flow
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.14.1
|
|
4
4
|
Summary: C++ project maintenance, automated
|
|
5
5
|
Project-URL: Changelog, https://github.com/mzdun/proj-flow/blob/main/CHANGELOG.rst
|
|
6
6
|
Project-URL: Documentation, https://proj-flow.readthedocs.io/en/latest/
|
|
@@ -8,7 +8,7 @@ Project-URL: Homepage, https://pypi.org/project/proj-flow/
|
|
|
8
8
|
Project-URL: Source Code, https://github.com/mzdun/proj-flow
|
|
9
9
|
Author-email: Marcin Zdun <marcin.zdun@gmail.com>
|
|
10
10
|
License-File: LICENSE
|
|
11
|
-
Keywords: C/C++,c++,ci,cpp,dependency,developer,
|
|
11
|
+
Keywords: C/C++,build-tool,c++,ci-cd,continuous-integration,cpp,dependencies,dependency-manager,developer,developer-tools,development,meta-build-tool,pipeline,tools-and-automation
|
|
12
12
|
Classifier: Development Status :: 4 - Beta
|
|
13
13
|
Classifier: Intended Audience :: Developers
|
|
14
14
|
Classifier: License :: OSI Approved :: MIT License
|
|
@@ -31,7 +31,22 @@ dependencies = [
|
|
|
31
31
|
]
|
|
32
32
|
description = "C++ project maintenance, automated"
|
|
33
33
|
dynamic = ["version"]
|
|
34
|
-
keywords = [
|
|
34
|
+
keywords = [
|
|
35
|
+
'C/C++',
|
|
36
|
+
'build-tool',
|
|
37
|
+
'c++',
|
|
38
|
+
'ci-cd',
|
|
39
|
+
'continuous-integration',
|
|
40
|
+
'cpp',
|
|
41
|
+
'dependencies',
|
|
42
|
+
'dependency-manager',
|
|
43
|
+
'developer',
|
|
44
|
+
'developer-tools',
|
|
45
|
+
'development',
|
|
46
|
+
'meta-build-tool',
|
|
47
|
+
'pipeline',
|
|
48
|
+
'tools-and-automation',
|
|
49
|
+
]
|
|
35
50
|
name = "proj-flow"
|
|
36
51
|
readme = "README.md"
|
|
37
52
|
requires-python = ">=3.10"
|
|
@@ -16,6 +16,7 @@ import typing
|
|
|
16
16
|
|
|
17
17
|
from proj_flow import log
|
|
18
18
|
from proj_flow.api import arg, env, release
|
|
19
|
+
from proj_flow.base import cmd
|
|
19
20
|
from proj_flow.base.name_list import name_list
|
|
20
21
|
from proj_flow.ext.github import publishing
|
|
21
22
|
from proj_flow.flow.configs import Configs
|
|
@@ -85,6 +86,10 @@ def release_cmd(
|
|
|
85
86
|
choices=["ON", "OFF"],
|
|
86
87
|
),
|
|
87
88
|
],
|
|
89
|
+
changelog: typing.Annotated[
|
|
90
|
+
bool,
|
|
91
|
+
arg.FlagArgument(help="Even with --dry-run, write changes in project files, changelog, etc."),
|
|
92
|
+
],
|
|
88
93
|
):
|
|
89
94
|
"""
|
|
90
95
|
Bump the project version based on current git logs, create a "chore"
|
|
@@ -101,9 +106,12 @@ def release_cmd(
|
|
|
101
106
|
gh_links = hosting.github.GitHub.from_repo(git) or commit.NoHosting()
|
|
102
107
|
released = False
|
|
103
108
|
|
|
109
|
+
released = False
|
|
110
|
+
next_tag = ''
|
|
104
111
|
try:
|
|
105
112
|
next_tag = log.release.add_release(
|
|
106
113
|
rt=rt,
|
|
114
|
+
dbg_changelog=changelog,
|
|
107
115
|
forced_level=forced_level,
|
|
108
116
|
take_all=all,
|
|
109
117
|
draft=publish != "ON",
|
|
@@ -57,6 +57,7 @@ def _get_project(rt: env.Runtime):
|
|
|
57
57
|
|
|
58
58
|
def add_release(
|
|
59
59
|
rt: env.Runtime,
|
|
60
|
+
dbg_changelog: bool,
|
|
60
61
|
forced_level: typing.Optional[commit.Level],
|
|
61
62
|
take_all: bool,
|
|
62
63
|
draft: bool,
|
|
@@ -103,7 +104,7 @@ def add_release(
|
|
|
103
104
|
rt.fatal(f"Tag {setup.curr_tag} already exists.")
|
|
104
105
|
|
|
105
106
|
files_to_commit: typing.List[str] = []
|
|
106
|
-
if not rt.dry_run:
|
|
107
|
+
if dbg_changelog or not rt.dry_run:
|
|
107
108
|
generator.update_changelog(changelog, setup, rt)
|
|
108
109
|
files_to_commit.append(generator.filename)
|
|
109
110
|
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Copyright (c) 2025 Marcin Zdun
|
|
2
|
+
# This code is licensed under MIT license (see LICENSE for details)
|
|
3
|
+
|
|
4
|
+
"""
|
|
5
|
+
The **proj_flow.minimal.ext.bug_report** adds next version to bug_report.yaml
|
|
6
|
+
next to CHANGELOG.rst.
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
import re
|
|
10
|
+
import sys
|
|
11
|
+
|
|
12
|
+
from proj_flow.log import release
|
|
13
|
+
|
|
14
|
+
YAML_PATH = ".github/ISSUE_TEMPLATE/bug_report.yaml"
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
@release.version_updaters.add
|
|
18
|
+
class VersionUpdater(release.VersionUpdater):
|
|
19
|
+
def on_version_change(self, new_version: str):
|
|
20
|
+
with open(YAML_PATH, encoding="UTF-8") as inf:
|
|
21
|
+
lines = inf.readlines()
|
|
22
|
+
|
|
23
|
+
try:
|
|
24
|
+
id_index = lines.index(" id: version\n")
|
|
25
|
+
option_index = lines.index(" options:\n", id_index) + 1
|
|
26
|
+
lines[option_index:option_index] = f" - v{new_version}\n"
|
|
27
|
+
except ValueError as e:
|
|
28
|
+
print(e, file=sys.stderr)
|
|
29
|
+
|
|
30
|
+
with open(YAML_PATH, "w", encoding="UTF-8") as outf:
|
|
31
|
+
outf.writelines(lines)
|
|
32
|
+
|
|
33
|
+
return YAML_PATH
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/base/.flow/flow.py.mustache
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/cmake/.flow/packages/cpack.cmake
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/cmake/CMakeGraphVizOptions.cmake
RENAMED
|
File without changes
|
{proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/cmake/CMakeLists.txt.mustache
RENAMED
|
File without changes
|
|
File without changes
|
{proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/cmake/data/assets/appicon.ico
RENAMED
|
File without changes
|
{proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/cmake/data/assets/appicon.png
RENAMED
|
File without changes
|
{proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/cmake/data/assets/wix_banner.bmp
RENAMED
|
File without changes
|
{proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/cmake/data/assets/wix_dialog.bmp
RENAMED
|
File without changes
|
{proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/cmake/data/icons/.gitignore
RENAMED
|
File without changes
|
|
File without changes
|
{proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/cmake/data/icons/appicon.svg
RENAMED
|
File without changes
|
{proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/cmake/src/main.cc.mustache
RENAMED
|
File without changes
|
|
File without changes
|
{proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/cmake/tests/test.cc.mustache
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/github_actions/CPPLINT.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{proj_flow-0.13.1 → proj_flow-0.14.1}/src/proj_flow/template/layers/github_social/CONTRIBUTING.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|