scitex-git 0.4.2__tar.gz → 0.4.3__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.4.2/src/scitex_git.egg-info → scitex_git-0.4.3}/PKG-INFO +1 -1
- {scitex_git-0.4.2 → scitex_git-0.4.3}/pyproject.toml +1 -1
- {scitex_git-0.4.2 → scitex_git-0.4.3}/src/scitex_git/mirror/_scan.py +9 -3
- {scitex_git-0.4.2 → scitex_git-0.4.3/src/scitex_git.egg-info}/PKG-INFO +1 -1
- {scitex_git-0.4.2 → scitex_git-0.4.3}/LICENSE +0 -0
- {scitex_git-0.4.2 → scitex_git-0.4.3}/README.md +0 -0
- {scitex_git-0.4.2 → scitex_git-0.4.3}/setup.cfg +0 -0
- {scitex_git-0.4.2 → scitex_git-0.4.3}/src/scitex_git/__init__.py +0 -0
- {scitex_git-0.4.2 → scitex_git-0.4.3}/src/scitex_git/__main__.py +0 -0
- {scitex_git-0.4.2 → scitex_git-0.4.3}/src/scitex_git/_branch.py +0 -0
- {scitex_git-0.4.2 → scitex_git-0.4.3}/src/scitex_git/_cli.py +0 -0
- {scitex_git-0.4.2 → scitex_git-0.4.3}/src/scitex_git/_clone.py +0 -0
- {scitex_git-0.4.2 → scitex_git-0.4.3}/src/scitex_git/_commit.py +0 -0
- {scitex_git-0.4.2 → scitex_git-0.4.3}/src/scitex_git/_constants.py +0 -0
- {scitex_git-0.4.2 → scitex_git-0.4.3}/src/scitex_git/_gh_secrets.py +0 -0
- {scitex_git-0.4.2 → scitex_git-0.4.3}/src/scitex_git/_init.py +0 -0
- {scitex_git-0.4.2 → scitex_git-0.4.3}/src/scitex_git/_remote.py +0 -0
- {scitex_git-0.4.2 → scitex_git-0.4.3}/src/scitex_git/_result.py +0 -0
- {scitex_git-0.4.2 → scitex_git-0.4.3}/src/scitex_git/_retry.py +0 -0
- {scitex_git-0.4.2 → scitex_git-0.4.3}/src/scitex_git/_skills/scitex-git/01_installation.md +0 -0
- {scitex_git-0.4.2 → scitex_git-0.4.3}/src/scitex_git/_skills/scitex-git/02_quick-start.md +0 -0
- {scitex_git-0.4.2 → scitex_git-0.4.3}/src/scitex_git/_skills/scitex-git/03_python-api.md +0 -0
- {scitex_git-0.4.2 → scitex_git-0.4.3}/src/scitex_git/_skills/scitex-git/04_cli-reference.md +0 -0
- {scitex_git-0.4.2 → scitex_git-0.4.3}/src/scitex_git/_skills/scitex-git/05_public-mirror.md +0 -0
- {scitex_git-0.4.2 → scitex_git-0.4.3}/src/scitex_git/_skills/scitex-git/SKILL.md +0 -0
- {scitex_git-0.4.2 → scitex_git-0.4.3}/src/scitex_git/_types.py +0 -0
- {scitex_git-0.4.2 → scitex_git-0.4.3}/src/scitex_git/_utils.py +0 -0
- {scitex_git-0.4.2 → scitex_git-0.4.3}/src/scitex_git/_validation.py +0 -0
- {scitex_git-0.4.2 → scitex_git-0.4.3}/src/scitex_git/_vendor_sh.py +0 -0
- {scitex_git-0.4.2 → scitex_git-0.4.3}/src/scitex_git/_workflow.py +0 -0
- {scitex_git-0.4.2 → scitex_git-0.4.3}/src/scitex_git/mirror/__init__.py +0 -0
- {scitex_git-0.4.2 → scitex_git-0.4.3}/src/scitex_git/mirror/_config.py +0 -0
- {scitex_git-0.4.2 → scitex_git-0.4.3}/src/scitex_git/mirror/_tree.py +0 -0
- {scitex_git-0.4.2 → scitex_git-0.4.3}/src/scitex_git.egg-info/SOURCES.txt +0 -0
- {scitex_git-0.4.2 → scitex_git-0.4.3}/src/scitex_git.egg-info/dependency_links.txt +0 -0
- {scitex_git-0.4.2 → scitex_git-0.4.3}/src/scitex_git.egg-info/entry_points.txt +0 -0
- {scitex_git-0.4.2 → scitex_git-0.4.3}/src/scitex_git.egg-info/requires.txt +0 -0
- {scitex_git-0.4.2 → scitex_git-0.4.3}/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.4.
|
|
3
|
+
Version: 0.4.3
|
|
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
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "scitex-git"
|
|
7
|
-
version = "0.4.
|
|
7
|
+
version = "0.4.3"
|
|
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"
|
|
@@ -173,9 +173,15 @@ def scan_internal(cfg: MirrorConfig, out: Path) -> list:
|
|
|
173
173
|
def scan_leak_check(cfg: MirrorConfig, out: Path) -> list:
|
|
174
174
|
if not cfg.scan.leak_check:
|
|
175
175
|
return []
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
176
|
+
# Run in a disposable copy: a leak check may write into its working tree
|
|
177
|
+
# (staged files, bytecode caches), and the export must stay exactly the
|
|
178
|
+
# scanned selection.
|
|
179
|
+
with tempfile.TemporaryDirectory() as tmp:
|
|
180
|
+
work = Path(tmp) / "export"
|
|
181
|
+
shutil.copytree(out, work, symlinks=True) # stx-allow: STX-IO018 (scratch copy)
|
|
182
|
+
proc = subprocess.run(
|
|
183
|
+
cfg.scan.leak_check, shell=True, cwd=work, capture_output=True, text=True
|
|
184
|
+
)
|
|
179
185
|
if proc.returncode == 0:
|
|
180
186
|
return []
|
|
181
187
|
tail = (proc.stdout + proc.stderr).strip().splitlines()[-5:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: scitex-git
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.3
|
|
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
|
|
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
|