Some checks failed
EcoArk Wheel Pipeline CI / build (push) Failing after 1m41s
- Add pipeline/manifest.py for packages.txt parsing - Implement real numpy cross-compilation (rebuild.py) with OHOS NDK + vendored meson - Extend CLI with --manifest, --build-from-source, --stage-integration modes - Add recipes/, experiments/, and scripts/ for integration staging and artifact upload - Update CI workflow with manifest validation, artifact upload, and release publishing - Update Makefile and README with new targets and documentation
17 lines
526 B
Python
17 lines
526 B
Python
def parse_manifest(path):
|
|
entries = []
|
|
with open(path, "r") as f:
|
|
for line in f:
|
|
line = line.strip()
|
|
if not line or line.startswith("#"):
|
|
continue
|
|
if ":" not in line:
|
|
print(f"[manifest] Skipping malformed line: {line}")
|
|
continue
|
|
name, url = line.split(":", 1)
|
|
name = name.strip()
|
|
url = url.strip()
|
|
if name and url:
|
|
entries.append((name, url))
|
|
return entries
|