sprints enhancements
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Generate manifests for curated binaries.
|
||||
|
||||
- local-nugets/manifest.json : NuGet packages (id, version, sha256)
|
||||
- .nuget/manifest.json : NuGet packages (id, version, sha256)
|
||||
- vendor/manifest.json : Plugin/tool/deploy/ops binaries with sha256
|
||||
- offline/feeds/manifest.json : Offline bundles (tar/tgz/zip) with sha256
|
||||
|
||||
@@ -47,7 +47,7 @@ def write_json(path: Path, payload: dict) -> None:
|
||||
|
||||
|
||||
def generate_local_nugets_manifest() -> None:
|
||||
nuget_dir = ROOT / "local-nugets"
|
||||
nuget_dir = ROOT / ".nuget"
|
||||
nuget_dir.mkdir(exist_ok=True)
|
||||
packages = []
|
||||
for pkg in sorted(nuget_dir.glob("*.nupkg"), key=lambda p: p.name.lower()):
|
||||
@@ -64,7 +64,7 @@ def generate_local_nugets_manifest() -> None:
|
||||
manifest = {
|
||||
"generated_utc": iso_timestamp(),
|
||||
"source": "StellaOps binary prereq consolidation",
|
||||
"base_dir": "local-nugets",
|
||||
"base_dir": ".nuget",
|
||||
"count": len(packages),
|
||||
"packages": packages,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user