scitex-git 0.1.1__tar.gz → 0.1.2__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.
- {scitex_git-0.1.1/src/scitex_git.egg-info → scitex_git-0.1.2}/PKG-INFO +1 -1
- {scitex_git-0.1.1 → scitex_git-0.1.2}/pyproject.toml +1 -1
- {scitex_git-0.1.1 → scitex_git-0.1.2}/src/scitex_git/__init__.py +9 -2
- {scitex_git-0.1.1 → scitex_git-0.1.2}/src/scitex_git/_init.py +1 -1
- {scitex_git-0.1.1 → scitex_git-0.1.2/src/scitex_git.egg-info}/PKG-INFO +1 -1
- {scitex_git-0.1.1 → scitex_git-0.1.2}/LICENSE +0 -0
- {scitex_git-0.1.1 → scitex_git-0.1.2}/README.md +0 -0
- {scitex_git-0.1.1 → scitex_git-0.1.2}/setup.cfg +0 -0
- {scitex_git-0.1.1 → scitex_git-0.1.2}/src/scitex_git/_branch.py +0 -0
- {scitex_git-0.1.1 → scitex_git-0.1.2}/src/scitex_git/_clone.py +0 -0
- {scitex_git-0.1.1 → scitex_git-0.1.2}/src/scitex_git/_commit.py +0 -0
- {scitex_git-0.1.1 → scitex_git-0.1.2}/src/scitex_git/_constants.py +0 -0
- {scitex_git-0.1.1 → scitex_git-0.1.2}/src/scitex_git/_remote.py +0 -0
- {scitex_git-0.1.1 → scitex_git-0.1.2}/src/scitex_git/_result.py +0 -0
- {scitex_git-0.1.1 → scitex_git-0.1.2}/src/scitex_git/_retry.py +0 -0
- {scitex_git-0.1.1 → scitex_git-0.1.2}/src/scitex_git/_skills/scitex-git/SKILL.md +0 -0
- {scitex_git-0.1.1 → scitex_git-0.1.2}/src/scitex_git/_types.py +0 -0
- {scitex_git-0.1.1 → scitex_git-0.1.2}/src/scitex_git/_utils.py +0 -0
- {scitex_git-0.1.1 → scitex_git-0.1.2}/src/scitex_git/_validation.py +0 -0
- {scitex_git-0.1.1 → scitex_git-0.1.2}/src/scitex_git/_vendor_sh.py +0 -0
- {scitex_git-0.1.1 → scitex_git-0.1.2}/src/scitex_git/_workflow.py +0 -0
- {scitex_git-0.1.1 → scitex_git-0.1.2}/src/scitex_git.egg-info/SOURCES.txt +0 -0
- {scitex_git-0.1.1 → scitex_git-0.1.2}/src/scitex_git.egg-info/dependency_links.txt +0 -0
- {scitex_git-0.1.1 → scitex_git-0.1.2}/src/scitex_git.egg-info/entry_points.txt +0 -0
- {scitex_git-0.1.1 → scitex_git-0.1.2}/src/scitex_git.egg-info/requires.txt +0 -0
- {scitex_git-0.1.1 → scitex_git-0.1.2}/src/scitex_git.egg-info/top_level.txt +0 -0
- {scitex_git-0.1.1 → scitex_git-0.1.2}/tests/test_examples.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: scitex-git
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.2
|
|
4
4
|
Summary: Git operations and utilities (clone, branch, commit, retry, remote helpers) — standalone module from the SciTeX ecosystem
|
|
5
5
|
Author-email: Yusuke Watanabe <ywatanabe@scitex.ai>
|
|
6
6
|
License-Expression: AGPL-3.0-only
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "scitex-git"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.2"
|
|
8
8
|
description = "Git operations and utilities (clone, branch, commit, retry, remote helpers) — standalone module from the SciTeX ecosystem"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = "AGPL-3.0-only"
|
|
@@ -3,8 +3,15 @@
|
|
|
3
3
|
|
|
4
4
|
"""scitex-git — git operations and utilities (extracted from SciTeX)."""
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
try:
|
|
7
|
+
from importlib.metadata import version as _v, PackageNotFoundError
|
|
8
|
+
try:
|
|
9
|
+
__version__ = _v("scitex-git")
|
|
10
|
+
except PackageNotFoundError:
|
|
11
|
+
__version__ = "0.0.0+local"
|
|
12
|
+
del _v, PackageNotFoundError
|
|
13
|
+
except ImportError: # pragma: no cover — only on ancient Pythons
|
|
14
|
+
__version__ = "0.0.0+local"
|
|
8
15
|
from ._branch import git_branch_rename, git_checkout_new_branch
|
|
9
16
|
from ._clone import clone_repo, git_init
|
|
10
17
|
from ._commit import git_add_all, git_commit
|
|
@@ -88,7 +88,7 @@ def create_child_git(project_dir: Path) -> Optional[Path]:
|
|
|
88
88
|
logger.info(f"Project is already a git repository at {project_dir}")
|
|
89
89
|
# Optional structure validation: only runs if scitex-writer is installed.
|
|
90
90
|
try:
|
|
91
|
-
from
|
|
91
|
+
from scitex_writer._utils._verify_tree_structure import verify_tree_structure
|
|
92
92
|
|
|
93
93
|
verify_tree_structure(project_dir)
|
|
94
94
|
except ImportError:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: scitex-git
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.2
|
|
4
4
|
Summary: Git operations and utilities (clone, branch, commit, retry, remote helpers) — standalone module from the SciTeX ecosystem
|
|
5
5
|
Author-email: Yusuke Watanabe <ywatanabe@scitex.ai>
|
|
6
6
|
License-Expression: AGPL-3.0-only
|
|
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
|