scitex-git 0.2.0__tar.gz → 0.3.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.
Files changed (30) hide show
  1. {scitex_git-0.2.0/src/scitex_git.egg-info → scitex_git-0.3.1}/PKG-INFO +3 -4
  2. {scitex_git-0.2.0 → scitex_git-0.3.1}/README.md +1 -2
  3. {scitex_git-0.2.0 → scitex_git-0.3.1}/pyproject.toml +7 -2
  4. {scitex_git-0.2.0 → scitex_git-0.3.1}/src/scitex_git/_gh_secrets.py +6 -1
  5. {scitex_git-0.2.0 → scitex_git-0.3.1/src/scitex_git.egg-info}/PKG-INFO +3 -4
  6. {scitex_git-0.2.0 → scitex_git-0.3.1}/src/scitex_git.egg-info/requires.txt +1 -1
  7. {scitex_git-0.2.0 → scitex_git-0.3.1}/LICENSE +0 -0
  8. {scitex_git-0.2.0 → scitex_git-0.3.1}/setup.cfg +0 -0
  9. {scitex_git-0.2.0 → scitex_git-0.3.1}/src/scitex_git/__init__.py +0 -0
  10. {scitex_git-0.2.0 → scitex_git-0.3.1}/src/scitex_git/_branch.py +0 -0
  11. {scitex_git-0.2.0 → scitex_git-0.3.1}/src/scitex_git/_clone.py +0 -0
  12. {scitex_git-0.2.0 → scitex_git-0.3.1}/src/scitex_git/_commit.py +0 -0
  13. {scitex_git-0.2.0 → scitex_git-0.3.1}/src/scitex_git/_constants.py +0 -0
  14. {scitex_git-0.2.0 → scitex_git-0.3.1}/src/scitex_git/_init.py +0 -0
  15. {scitex_git-0.2.0 → scitex_git-0.3.1}/src/scitex_git/_remote.py +0 -0
  16. {scitex_git-0.2.0 → scitex_git-0.3.1}/src/scitex_git/_result.py +0 -0
  17. {scitex_git-0.2.0 → scitex_git-0.3.1}/src/scitex_git/_retry.py +0 -0
  18. {scitex_git-0.2.0 → scitex_git-0.3.1}/src/scitex_git/_skills/scitex-git/01_installation.md +0 -0
  19. {scitex_git-0.2.0 → scitex_git-0.3.1}/src/scitex_git/_skills/scitex-git/02_quick-start.md +0 -0
  20. {scitex_git-0.2.0 → scitex_git-0.3.1}/src/scitex_git/_skills/scitex-git/03_python-api.md +0 -0
  21. {scitex_git-0.2.0 → scitex_git-0.3.1}/src/scitex_git/_skills/scitex-git/SKILL.md +0 -0
  22. {scitex_git-0.2.0 → scitex_git-0.3.1}/src/scitex_git/_types.py +0 -0
  23. {scitex_git-0.2.0 → scitex_git-0.3.1}/src/scitex_git/_utils.py +0 -0
  24. {scitex_git-0.2.0 → scitex_git-0.3.1}/src/scitex_git/_validation.py +0 -0
  25. {scitex_git-0.2.0 → scitex_git-0.3.1}/src/scitex_git/_vendor_sh.py +0 -0
  26. {scitex_git-0.2.0 → scitex_git-0.3.1}/src/scitex_git/_workflow.py +0 -0
  27. {scitex_git-0.2.0 → scitex_git-0.3.1}/src/scitex_git.egg-info/SOURCES.txt +0 -0
  28. {scitex_git-0.2.0 → scitex_git-0.3.1}/src/scitex_git.egg-info/dependency_links.txt +0 -0
  29. {scitex_git-0.2.0 → scitex_git-0.3.1}/src/scitex_git.egg-info/entry_points.txt +0 -0
  30. {scitex_git-0.2.0 → scitex_git-0.3.1}/src/scitex_git.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: scitex-git
3
- Version: 0.2.0
3
+ Version: 0.3.1
4
4
  Summary: Git + GitHub Actions utilities (clone, branch, commit, retry, remote helpers, gh secrets/variables with SHA256 sidecar) — standalone module from the SciTeX ecosystem
5
5
  Author-email: Yusuke Watanabe <ywatanabe@scitex.ai>
6
6
  License-Expression: AGPL-3.0-only
@@ -25,7 +25,7 @@ Provides-Extra: dev
25
25
  Requires-Dist: pytest; extra == "dev"
26
26
  Requires-Dist: pytest-cov; extra == "dev"
27
27
  Requires-Dist: ruff; extra == "dev"
28
- Requires-Dist: scitex-dev>=0.11.5; extra == "dev"
28
+ Requires-Dist: scitex-dev>=0.11.7; extra == "dev"
29
29
  Provides-Extra: docs
30
30
  Requires-Dist: sphinx>=7.0; extra == "docs"
31
31
  Requires-Dist: sphinx-rtd-theme>=2.0; extra == "docs"
@@ -47,7 +47,7 @@ Dynamic: license-file
47
47
  <p align="center"><b>Git operations and utilities — clone, init, branch, remote, retry decorator.</b></p>
48
48
 
49
49
  <p align="center">
50
- <a href="https://scitex-git.readthedocs.io/">Full Documentation</a> · <code>pip install scitex-git</code>
50
+ <a href="https://scitex-git.readthedocs.io/">Full Documentation</a> · <code>uv pip install scitex-git[all]</code>
51
51
  </p>
52
52
 
53
53
  <!-- scitex-badges:start -->
@@ -55,7 +55,6 @@ Dynamic: license-file
55
55
  <a href="https://pypi.org/project/scitex-git/"><img src="https://img.shields.io/pypi/v/scitex-git.svg" alt="PyPI"></a>
56
56
  <a href="https://pypi.org/project/scitex-git/"><img src="https://img.shields.io/pypi/pyversions/scitex-git.svg" alt="Python"></a>
57
57
  <a href="https://github.com/ywatanabe1989/scitex-git/actions/workflows/test.yml"><img src="https://github.com/ywatanabe1989/scitex-git/actions/workflows/test.yml/badge.svg" alt="Tests"></a>
58
- <a href="https://github.com/ywatanabe1989/scitex-git/actions/workflows/install-test.yml"><img src="https://github.com/ywatanabe1989/scitex-git/actions/workflows/install-test.yml/badge.svg" alt="Install Test"></a>
59
58
  <a href="https://codecov.io/gh/ywatanabe1989/scitex-git"><img src="https://codecov.io/gh/ywatanabe1989/scitex-git/graph/badge.svg" alt="Coverage"></a>
60
59
  <a href="https://scitex-git.readthedocs.io/en/latest/"><img src="https://readthedocs.org/projects/scitex-git/badge/?version=latest" alt="Docs"></a>
61
60
  <a href="https://www.gnu.org/licenses/agpl-3.0"><img src="https://img.shields.io/badge/license-AGPL_v3-blue.svg" alt="License: AGPL v3"></a>
@@ -9,7 +9,7 @@
9
9
  <p align="center"><b>Git operations and utilities — clone, init, branch, remote, retry decorator.</b></p>
10
10
 
11
11
  <p align="center">
12
- <a href="https://scitex-git.readthedocs.io/">Full Documentation</a> · <code>pip install scitex-git</code>
12
+ <a href="https://scitex-git.readthedocs.io/">Full Documentation</a> · <code>uv pip install scitex-git[all]</code>
13
13
  </p>
14
14
 
15
15
  <!-- scitex-badges:start -->
@@ -17,7 +17,6 @@
17
17
  <a href="https://pypi.org/project/scitex-git/"><img src="https://img.shields.io/pypi/v/scitex-git.svg" alt="PyPI"></a>
18
18
  <a href="https://pypi.org/project/scitex-git/"><img src="https://img.shields.io/pypi/pyversions/scitex-git.svg" alt="Python"></a>
19
19
  <a href="https://github.com/ywatanabe1989/scitex-git/actions/workflows/test.yml"><img src="https://github.com/ywatanabe1989/scitex-git/actions/workflows/test.yml/badge.svg" alt="Tests"></a>
20
- <a href="https://github.com/ywatanabe1989/scitex-git/actions/workflows/install-test.yml"><img src="https://github.com/ywatanabe1989/scitex-git/actions/workflows/install-test.yml/badge.svg" alt="Install Test"></a>
21
20
  <a href="https://codecov.io/gh/ywatanabe1989/scitex-git"><img src="https://codecov.io/gh/ywatanabe1989/scitex-git/graph/badge.svg" alt="Coverage"></a>
22
21
  <a href="https://scitex-git.readthedocs.io/en/latest/"><img src="https://readthedocs.org/projects/scitex-git/badge/?version=latest" alt="Docs"></a>
23
22
  <a href="https://www.gnu.org/licenses/agpl-3.0"><img src="https://img.shields.io/badge/license-AGPL_v3-blue.svg" alt="License: AGPL v3"></a>
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "scitex-git"
7
- version = "0.2.0"
7
+ version = "0.3.1"
8
8
  description = "Git + GitHub Actions utilities (clone, branch, commit, retry, remote helpers, gh secrets/variables with SHA256 sidecar) — standalone module from the SciTeX ecosystem"
9
9
  readme = "README.md"
10
10
  license = "AGPL-3.0-only"
@@ -31,7 +31,7 @@ dev = [
31
31
  "pytest",
32
32
  "pytest-cov",
33
33
  "ruff",
34
- "scitex-dev>=0.11.5",
34
+ "scitex-dev>=0.11.7",
35
35
  ]
36
36
  docs = [
37
37
  "sphinx>=7.0",
@@ -62,6 +62,11 @@ scitex-git = "scitex_git"
62
62
  testpaths = ["tests"]
63
63
  addopts = ["--disable-warnings"]
64
64
 
65
+ [tool.coverage.run]
66
+ parallel = true
67
+ source = ["scitex_git"]
68
+ concurrency = ["multiprocessing", "thread"]
69
+
65
70
  [tool.ruff]
66
71
  target-version = "py39"
67
72
  line-length = 88
@@ -83,7 +83,12 @@ def set_secret(repo: str, name: str, value: str) -> None:
83
83
  ``repo`` follows the ``owner/repo`` form. Idempotent — creates if
84
84
  missing, updates otherwise.
85
85
  """
86
- _run(["gh", "secret", "set", name, "-R", repo, "--body", "-"], stdin=value)
86
+ # ``gh secret set`` reads from stdin when ``--body`` is omitted.
87
+ # Earlier we passed ``--body -`` thinking ``-`` meant stdin; gh
88
+ # actually stored the literal one-byte value ``-``, silently
89
+ # truncating the secret. Bug surfaced as in-CI ``$SECRET`` length
90
+ # 1 with sha256 mismatching the local file's hash.
91
+ _run(["gh", "secret", "set", name, "-R", repo], stdin=value)
87
92
 
88
93
 
89
94
  def list_secrets(repo: str) -> dict[str, str]:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: scitex-git
3
- Version: 0.2.0
3
+ Version: 0.3.1
4
4
  Summary: Git + GitHub Actions utilities (clone, branch, commit, retry, remote helpers, gh secrets/variables with SHA256 sidecar) — standalone module from the SciTeX ecosystem
5
5
  Author-email: Yusuke Watanabe <ywatanabe@scitex.ai>
6
6
  License-Expression: AGPL-3.0-only
@@ -25,7 +25,7 @@ Provides-Extra: dev
25
25
  Requires-Dist: pytest; extra == "dev"
26
26
  Requires-Dist: pytest-cov; extra == "dev"
27
27
  Requires-Dist: ruff; extra == "dev"
28
- Requires-Dist: scitex-dev>=0.11.5; extra == "dev"
28
+ Requires-Dist: scitex-dev>=0.11.7; extra == "dev"
29
29
  Provides-Extra: docs
30
30
  Requires-Dist: sphinx>=7.0; extra == "docs"
31
31
  Requires-Dist: sphinx-rtd-theme>=2.0; extra == "docs"
@@ -47,7 +47,7 @@ Dynamic: license-file
47
47
  <p align="center"><b>Git operations and utilities — clone, init, branch, remote, retry decorator.</b></p>
48
48
 
49
49
  <p align="center">
50
- <a href="https://scitex-git.readthedocs.io/">Full Documentation</a> · <code>pip install scitex-git</code>
50
+ <a href="https://scitex-git.readthedocs.io/">Full Documentation</a> · <code>uv pip install scitex-git[all]</code>
51
51
  </p>
52
52
 
53
53
  <!-- scitex-badges:start -->
@@ -55,7 +55,6 @@ Dynamic: license-file
55
55
  <a href="https://pypi.org/project/scitex-git/"><img src="https://img.shields.io/pypi/v/scitex-git.svg" alt="PyPI"></a>
56
56
  <a href="https://pypi.org/project/scitex-git/"><img src="https://img.shields.io/pypi/pyversions/scitex-git.svg" alt="Python"></a>
57
57
  <a href="https://github.com/ywatanabe1989/scitex-git/actions/workflows/test.yml"><img src="https://github.com/ywatanabe1989/scitex-git/actions/workflows/test.yml/badge.svg" alt="Tests"></a>
58
- <a href="https://github.com/ywatanabe1989/scitex-git/actions/workflows/install-test.yml"><img src="https://github.com/ywatanabe1989/scitex-git/actions/workflows/install-test.yml/badge.svg" alt="Install Test"></a>
59
58
  <a href="https://codecov.io/gh/ywatanabe1989/scitex-git"><img src="https://codecov.io/gh/ywatanabe1989/scitex-git/graph/badge.svg" alt="Coverage"></a>
60
59
  <a href="https://scitex-git.readthedocs.io/en/latest/"><img src="https://readthedocs.org/projects/scitex-git/badge/?version=latest" alt="Docs"></a>
61
60
  <a href="https://www.gnu.org/licenses/agpl-3.0"><img src="https://img.shields.io/badge/license-AGPL_v3-blue.svg" alt="License: AGPL v3"></a>
@@ -7,7 +7,7 @@ scitex-git[dev,docs]
7
7
  pytest
8
8
  pytest-cov
9
9
  ruff
10
- scitex-dev>=0.11.5
10
+ scitex-dev>=0.11.7
11
11
 
12
12
  [docs]
13
13
  sphinx>=7.0
File without changes
File without changes