python-semantic-release 7.33.4__tar.gz → 7.34.0__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.
- {python-semantic-release-7.33.4/python_semantic_release.egg-info → python-semantic-release-7.34.0}/PKG-INFO +1 -1
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/README.rst +10 -2
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0/python_semantic_release.egg-info}/PKG-INFO +1 -1
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/python_semantic_release.egg-info/requires.txt +1 -1
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/semantic_release/__init__.py +1 -1
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/semantic_release/defaults.cfg +3 -2
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/semantic_release/settings.py +1 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/semantic_release/vcs_helpers.py +4 -1
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/setup.py +1 -1
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/tests/parsers/test_tag.py +4 -4
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/AUTHORS.rst +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/LICENSE +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/MANIFEST.in +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/python_semantic_release.egg-info/SOURCES.txt +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/python_semantic_release.egg-info/dependency_links.txt +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/python_semantic_release.egg-info/entry_points.txt +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/python_semantic_release.egg-info/top_level.txt +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/semantic_release/__main__.py +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/semantic_release/changelog/__init__.py +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/semantic_release/changelog/changelog.py +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/semantic_release/changelog/compare.py +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/semantic_release/ci_checks.py +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/semantic_release/cli.py +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/semantic_release/dist.py +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/semantic_release/errors.py +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/semantic_release/helpers.py +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/semantic_release/history/__init__.py +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/semantic_release/history/logs.py +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/semantic_release/history/parser_angular.py +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/semantic_release/history/parser_emoji.py +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/semantic_release/history/parser_helpers.py +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/semantic_release/history/parser_scipy.py +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/semantic_release/history/parser_tag.py +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/semantic_release/hvcs.py +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/semantic_release/pre_commit.py +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/semantic_release/repository.py +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/setup.cfg +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/tests/ci_checks/__init__.py +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/tests/ci_checks/test_bitbucket.py +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/tests/ci_checks/test_checker.py +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/tests/ci_checks/test_circle.py +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/tests/ci_checks/test_frigg.py +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/tests/ci_checks/test_gitlab.py +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/tests/ci_checks/test_jenkins.py +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/tests/ci_checks/test_semaphore.py +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/tests/ci_checks/test_travis.py +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/tests/history/__init__.py +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/tests/history/test_changelog.py +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/tests/history/test_version.py +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/tests/history/test_version_bump.py +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/tests/mocks/__init__.py +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/tests/mocks/mock_gitlab.py +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/tests/parsers/__init__.py +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/tests/parsers/conftest.py +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/tests/parsers/test_angular.py +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/tests/parsers/test_emoji.py +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/tests/parsers/test_helpers.py +0 -0
- {python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/tests/parsers/test_scipy.py +0 -0
|
@@ -30,7 +30,15 @@ Read more about the setup and configuration in our `getting started guide`_.
|
|
|
30
30
|
.. _GitHub Action: https://python-semantic-release.readthedocs.io/en/latest/automatic-releases/github-actions.html
|
|
31
31
|
.. _conda-forge: https://anaconda.org/conda-forge/python-semantic-release
|
|
32
32
|
|
|
33
|
-
.. |Test Status| image:: https://img.shields.io/github/workflow/status/
|
|
33
|
+
.. |Test Status| image:: https://img.shields.io/github/actions/workflow/status/python-semantic-release/python-semantic-release/main.yml?branch=master&label=Test%20Status&logo=github
|
|
34
|
+
:target: https://github.com/python-semantic-release/python-semantic-release/actions/workflows/main.yml
|
|
35
|
+
:alt: test-status
|
|
34
36
|
.. |PyPI Version| image:: https://img.shields.io/pypi/v/python-semantic-release?label=PyPI&logo=pypi
|
|
37
|
+
:target: https://pypi.org/project/python-semantic-release/
|
|
38
|
+
:alt: pypi
|
|
35
39
|
.. |conda-forge Version| image:: https://img.shields.io/conda/vn/conda-forge/python-semantic-release?logo=anaconda
|
|
36
|
-
|
|
40
|
+
:target: https://anaconda.org/conda-forge/python-semantic-release
|
|
41
|
+
:alt: conda-forge
|
|
42
|
+
.. |Read the Docs Status| image:: https://img.shields.io/readthedocs/python-semantic-release?label=Read%20the%20Docs&logo=Read%20the%20Docs
|
|
43
|
+
:target: https://python-semantic-release.readthedocs.io/en/latest/
|
|
44
|
+
:alt: docs
|
{python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/semantic_release/defaults.cfg
RENAMED
|
@@ -10,7 +10,7 @@ changelog_components=semantic_release.changelog.changelog_headers
|
|
|
10
10
|
changelog_file=CHANGELOG.md
|
|
11
11
|
changelog_placeholder=<!--next-version-placeholder-->
|
|
12
12
|
changelog_scope=true
|
|
13
|
-
changelog_sections=feature,fix,breaking,documentation,performance,:boom:,:sparkles:,:
|
|
13
|
+
changelog_sections=feature,fix,breaking,documentation,performance,:boom:,:sparkles:,:zap:,:bug:,:ambulance:,:lipstick:,:lock:,:arrow_down:,:arrow_up:,:pushpin:,:chart_with_upwards_trend:,:heavy_plus_sign:,:heavy_minus_sign:,:wrench:,:globe_with_meridians:,:pencil2:,:rewind:,:package:,:alien:,:bento:,:wheelchair:,:speech_balloon:,:card_file_box:,:children_crossing:,:iphone:,:egg:,:alembic:,:mag:,:label:,:triangular_flag_on_post:,:goal_net:,:dizzy:,:wastebasket:,:passport_control:,:adhesive_bandage:,:necktie:,Other
|
|
14
14
|
use_textual_changelog_sections=false
|
|
15
15
|
check_build_status=false
|
|
16
16
|
include_additional_files=
|
|
@@ -18,7 +18,7 @@ commit_message=Automatically generated by python-semantic-release
|
|
|
18
18
|
commit_parser=semantic_release.history.angular_parser
|
|
19
19
|
commit_subject={version}
|
|
20
20
|
dist_path=dist
|
|
21
|
-
fix_tag=:
|
|
21
|
+
fix_tag=:wrench:
|
|
22
22
|
github_token_var=GH_TOKEN
|
|
23
23
|
gitlab_token_var=GL_TOKEN
|
|
24
24
|
gitea_token_var=GITEA_TOKEN
|
|
@@ -46,3 +46,4 @@ upload_to_pypi=true
|
|
|
46
46
|
upload_to_release=true
|
|
47
47
|
version_source=commit
|
|
48
48
|
prerelease_tag=beta
|
|
49
|
+
use_only_cwd_commits=false
|
{python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/semantic_release/vcs_helpers.py
RENAMED
|
@@ -17,8 +17,11 @@ from .helpers import LoggedFunction
|
|
|
17
17
|
from .settings import config
|
|
18
18
|
|
|
19
19
|
_repo: Optional[Repo]
|
|
20
|
+
_sub_directory = "."
|
|
20
21
|
try:
|
|
21
22
|
_repo = Repo(".", search_parent_directories=True)
|
|
23
|
+
if config.get("use_only_cwd_commits") and config.get("version_source") == "commit":
|
|
24
|
+
_sub_directory = os.path.relpath(os.getcwd(), _repo.working_dir)
|
|
22
25
|
except InvalidGitRepositoryError:
|
|
23
26
|
_repo = None
|
|
24
27
|
|
|
@@ -79,7 +82,7 @@ def get_commit_log(from_rev=None, to_rev=None):
|
|
|
79
82
|
elif to_rev:
|
|
80
83
|
rev = f"{to_rev}..."
|
|
81
84
|
|
|
82
|
-
for commit in repo().iter_commits(rev):
|
|
85
|
+
for commit in repo().iter_commits(rev, paths=_sub_directory):
|
|
83
86
|
yield (commit.hexsha, commit.message.replace("\r\n", "\n"))
|
|
84
87
|
|
|
85
88
|
|
|
@@ -24,7 +24,7 @@ def test_parser_return_minor_bump_level():
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
def test_parser_return_patch_bump_level():
|
|
27
|
-
assert tag_parser(":
|
|
27
|
+
assert tag_parser(":wrench: Fix regex in angular parser")[0] == 1
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
def test_parser_return_type_breaking_from_commit_message():
|
|
@@ -37,7 +37,7 @@ def test_parser_return_type_feature_from_commit_message():
|
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
def test_parser_return_type_fix_from_commit_message():
|
|
40
|
-
assert tag_parser(":
|
|
40
|
+
assert tag_parser(":wrench: ...")[1] == "fix"
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
def test_parser_return_subject_from_commit_message():
|
|
@@ -45,10 +45,10 @@ def test_parser_return_subject_from_commit_message():
|
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
def test_parser_return_text_from_commit_message():
|
|
48
|
-
commit = ":
|
|
48
|
+
commit = ":wrench: Fix regex in an parser\n\n{}".format(text)
|
|
49
49
|
assert tag_parser(commit)[3][1] == text
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
def test_parser_return_footer_from_commit_message():
|
|
53
|
-
commit = ":
|
|
53
|
+
commit = ":wrench: Fix env \n\n{t[text]}\n\n{t[footer]}".format(t=globals())
|
|
54
54
|
assert tag_parser(commit)[3][2] == footer
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/semantic_release/__main__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/semantic_release/ci_checks.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/semantic_release/errors.py
RENAMED
|
File without changes
|
{python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/semantic_release/helpers.py
RENAMED
|
File without changes
|
|
File without changes
|
{python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/semantic_release/history/logs.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/semantic_release/pre_commit.py
RENAMED
|
File without changes
|
{python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/semantic_release/repository.py
RENAMED
|
File without changes
|
|
File without changes
|
{python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/tests/ci_checks/__init__.py
RENAMED
|
File without changes
|
{python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/tests/ci_checks/test_bitbucket.py
RENAMED
|
File without changes
|
{python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/tests/ci_checks/test_checker.py
RENAMED
|
File without changes
|
{python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/tests/ci_checks/test_circle.py
RENAMED
|
File without changes
|
{python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/tests/ci_checks/test_frigg.py
RENAMED
|
File without changes
|
{python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/tests/ci_checks/test_gitlab.py
RENAMED
|
File without changes
|
{python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/tests/ci_checks/test_jenkins.py
RENAMED
|
File without changes
|
{python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/tests/ci_checks/test_semaphore.py
RENAMED
|
File without changes
|
{python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/tests/ci_checks/test_travis.py
RENAMED
|
File without changes
|
|
File without changes
|
{python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/tests/history/test_changelog.py
RENAMED
|
File without changes
|
{python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/tests/history/test_version.py
RENAMED
|
File without changes
|
{python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/tests/history/test_version_bump.py
RENAMED
|
File without changes
|
|
File without changes
|
{python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/tests/mocks/mock_gitlab.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/tests/parsers/test_angular.py
RENAMED
|
File without changes
|
{python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/tests/parsers/test_emoji.py
RENAMED
|
File without changes
|
{python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/tests/parsers/test_helpers.py
RENAMED
|
File without changes
|
{python-semantic-release-7.33.4 → python-semantic-release-7.34.0}/tests/parsers/test_scipy.py
RENAMED
|
File without changes
|