Pin core faa71d2; the shared zip includes core's library submodule
Build, test, deploy / site (push) Failing after 5s
Build, test, deploy / site (push) Failing after 5s
scripts/package.py now lists each submodule with --recurse-submodules, so the zip carries core and core's library/ and runs every test on its own. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FgvbRdoEheAHqsRmr2WuKZ
This commit is contained in:
2 files changed
+3
-3
No files matched your search
+2
-2
@@ -3,7 +3,7 @@
|
||||
|
||||
pixi run package # writes package/programming-plus-<commit>.zip
|
||||
|
||||
pplus-core (the core/ submodule) goes in as its checkout tracks it. Nothing git ignores goes in: no .DS_Store, __pycache__, scratch/, dist/, site/, node_modules/ or
|
||||
pplus-core (the core/ submodule, with its own submodule library/) goes in as its checkouts track it. Nothing git ignores goes in: no .DS_Store, __pycache__, scratch/, dist/, site/, node_modules/ or
|
||||
.pixi/. Files are stored under a top folder named programming-plus/, as the shared zips were.
|
||||
Standard library only, like the corpus pipeline.
|
||||
"""
|
||||
@@ -31,7 +31,7 @@ def main() -> int:
|
||||
subs = git("config", "-f", ".gitmodules", "--get-regexp", r"\.path$").split() if (ROOT / ".gitmodules").exists() else []
|
||||
for sub in subs[1::2]:
|
||||
if (ROOT / sub / ".git").exists():
|
||||
tracked = subprocess.run(["git", "ls-files", "-z"], cwd=ROOT / sub, check=True, capture_output=True, text=True).stdout
|
||||
tracked = subprocess.run(["git", "ls-files", "-z", "--recurse-submodules"], cwd=ROOT / sub, check=True, capture_output=True, text=True).stdout
|
||||
names += [f"{sub}/{n}" for n in tracked.split("\0") if n]
|
||||
names = sorted(n for n in set(names) if (ROOT / n).is_file())
|
||||
out_dir = ROOT / "package"
|
||||
|
||||
Reference in new issue
Block a user