scitex-git 0.2.0__tar.gz → 0.3.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.
- {scitex_git-0.2.0/src/scitex_git.egg-info → scitex_git-0.3.0}/PKG-INFO +2 -2
- {scitex_git-0.2.0 → scitex_git-0.3.0}/pyproject.toml +2 -2
- {scitex_git-0.2.0 → scitex_git-0.3.0}/src/scitex_git/_gh_secrets.py +6 -1
- {scitex_git-0.2.0 → scitex_git-0.3.0/src/scitex_git.egg-info}/PKG-INFO +2 -2
- {scitex_git-0.2.0 → scitex_git-0.3.0}/src/scitex_git.egg-info/requires.txt +1 -1
- {scitex_git-0.2.0 → scitex_git-0.3.0}/LICENSE +0 -0
- {scitex_git-0.2.0 → scitex_git-0.3.0}/README.md +0 -0
- {scitex_git-0.2.0 → scitex_git-0.3.0}/setup.cfg +0 -0
- {scitex_git-0.2.0 → scitex_git-0.3.0}/src/scitex_git/__init__.py +0 -0
- {scitex_git-0.2.0 → scitex_git-0.3.0}/src/scitex_git/_branch.py +0 -0
- {scitex_git-0.2.0 → scitex_git-0.3.0}/src/scitex_git/_clone.py +0 -0
- {scitex_git-0.2.0 → scitex_git-0.3.0}/src/scitex_git/_commit.py +0 -0
- {scitex_git-0.2.0 → scitex_git-0.3.0}/src/scitex_git/_constants.py +0 -0
- {scitex_git-0.2.0 → scitex_git-0.3.0}/src/scitex_git/_init.py +0 -0
- {scitex_git-0.2.0 → scitex_git-0.3.0}/src/scitex_git/_remote.py +0 -0
- {scitex_git-0.2.0 → scitex_git-0.3.0}/src/scitex_git/_result.py +0 -0
- {scitex_git-0.2.0 → scitex_git-0.3.0}/src/scitex_git/_retry.py +0 -0
- {scitex_git-0.2.0 → scitex_git-0.3.0}/src/scitex_git/_skills/scitex-git/01_installation.md +0 -0
- {scitex_git-0.2.0 → scitex_git-0.3.0}/src/scitex_git/_skills/scitex-git/02_quick-start.md +0 -0
- {scitex_git-0.2.0 → scitex_git-0.3.0}/src/scitex_git/_skills/scitex-git/03_python-api.md +0 -0
- {scitex_git-0.2.0 → scitex_git-0.3.0}/src/scitex_git/_skills/scitex-git/SKILL.md +0 -0
- {scitex_git-0.2.0 → scitex_git-0.3.0}/src/scitex_git/_types.py +0 -0
- {scitex_git-0.2.0 → scitex_git-0.3.0}/src/scitex_git/_utils.py +0 -0
- {scitex_git-0.2.0 → scitex_git-0.3.0}/src/scitex_git/_validation.py +0 -0
- {scitex_git-0.2.0 → scitex_git-0.3.0}/src/scitex_git/_vendor_sh.py +0 -0
- {scitex_git-0.2.0 → scitex_git-0.3.0}/src/scitex_git/_workflow.py +0 -0
- {scitex_git-0.2.0 → scitex_git-0.3.0}/src/scitex_git.egg-info/SOURCES.txt +0 -0
- {scitex_git-0.2.0 → scitex_git-0.3.0}/src/scitex_git.egg-info/dependency_links.txt +0 -0
- {scitex_git-0.2.0 → scitex_git-0.3.0}/src/scitex_git.egg-info/entry_points.txt +0 -0
- {scitex_git-0.2.0 → scitex_git-0.3.0}/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.
|
|
3
|
+
Version: 0.3.0
|
|
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.
|
|
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"
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "scitex-git"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.3.0"
|
|
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.
|
|
34
|
+
"scitex-dev>=0.11.7",
|
|
35
35
|
]
|
|
36
36
|
docs = [
|
|
37
37
|
"sphinx>=7.0",
|
|
@@ -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
|
-
|
|
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.
|
|
3
|
+
Version: 0.3.0
|
|
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.
|
|
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"
|
|
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
|