git-project 0.0.36__tar.gz → 0.0.37__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.
- {git_project-0.0.36 → git_project-0.0.37}/PKG-INFO +1 -1
- {git_project-0.0.36 → git_project-0.0.37}/_version.py +2 -2
- {git_project-0.0.36 → git_project-0.0.37}/src/git_project/main.py +5 -1
- {git_project-0.0.36 → git_project-0.0.37}/.gitignore +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/CONTRIBUTORS +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/COPYING +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/MANIFEST.in +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/build/lib/git_project/__init__.py +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/build/lib/git_project/commandline.py +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/build/lib/git_project/configobj.py +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/build/lib/git_project/exception.py +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/build/lib/git_project/git.py +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/build/lib/git_project/gitproject.py +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/build/lib/git_project/main.py +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/build/lib/git_project/parsermanager.py +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/build/lib/git_project/plugin.py +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/build/lib/git_project/pluginmanager.py +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/build/lib/git_project/project.py +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/build/lib/git_project/runnable.py +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/build/lib/git_project/scopedobj.py +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/build/lib/git_project/shell.py +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/build/lib/git_project/substitutable.py +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/docs/Makefile +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/docs/authors.rst +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/docs/changelog.rst +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/docs/conf.py +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/docs/index.rst +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/docs/intro.rst +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/docs/license.rst +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/docs/make.bat +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/pyproject.toml +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/requirements.txt +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/src/git_project/__init__.py +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/src/git_project/commandline.py +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/src/git_project/configobj.py +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/src/git_project/exception.py +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/src/git_project/git.py +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/src/git_project/gitproject.py +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/src/git_project/parsermanager.py +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/src/git_project/plugin.py +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/src/git_project/pluginmanager.py +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/src/git_project/project.py +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/src/git_project/runnable.py +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/src/git_project/scopedobj.py +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/src/git_project/shell.py +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/src/git_project/substitutable.py +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/src/git_project/test_support/__init__.py +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/src/git_project/test_support/common.py +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/test.out +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/tests/conftest.py +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/tests/test_confobj.py +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/tests/test_git.py +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/tests/test_gitproject.py +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/tests/test_main.py +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/tests/test_project.py +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/tests/test_runnable.py +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/tests/test_scopedobj.py +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/tests/test_shell.py +0 -0
- {git_project-0.0.36 → git_project-0.0.37}/tests/test_substitutable.py +0 -0
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '0.0.
|
|
22
|
-
__version_tuple__ = version_tuple = (0, 0,
|
|
21
|
+
__version__ = version = '0.0.37'
|
|
22
|
+
__version_tuple__ = version_tuple = (0, 0, 37)
|
|
23
23
|
|
|
24
24
|
__commit_id__ = commit_id = None
|
|
@@ -63,7 +63,11 @@ def main_impl(args=None):
|
|
|
63
63
|
|
|
64
64
|
def main(args=None):
|
|
65
65
|
try:
|
|
66
|
-
|
|
66
|
+
rc = main_impl(args)
|
|
67
|
+
# Only an int return is an exit code; command funcs may return a
|
|
68
|
+
# domain object (e.g. the created Worktree), which must not turn a
|
|
69
|
+
# successful run into a non-zero process exit.
|
|
70
|
+
raise SystemExit(rc if isinstance(rc, int) else 0)
|
|
67
71
|
except git_project.GitProjectException as exception:
|
|
68
72
|
print(f'{exception.message}')
|
|
69
73
|
raise SystemExit(-1)
|
|
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
|