Point Nix at relocated CI scripts and remove legacy plan paths
This commit is contained in:
@@ -47,8 +47,8 @@ _aspec = importlib.util.spec_from_file_location("advisory_scan", os.path.join(HE
|
||||
A = importlib.util.module_from_spec(_aspec)
|
||||
_aspec.loader.exec_module(A)
|
||||
|
||||
REGISTRY_DIR = os.environ.get("CCCI_UPSTREAM_REGISTRY", os.path.join(HERE, "upstream"))
|
||||
USED_RECIPES = os.path.join(HERE, "used-recipes.md")
|
||||
REGISTRY_DIR = os.environ.get("CCCI_UPSTREAM_REGISTRY", os.path.join(HERE, "../../data/cc-ci/upstream"))
|
||||
USED_RECIPES = os.path.join(HERE, "../../data/cc-ci/used-recipes.md")
|
||||
DEPRECATION_RE = re.compile(
|
||||
r"\b(deprecat|no longer maintain|unmaintained|superseded|moved to|migrated to|"
|
||||
r"has moved|discontinued|end.of.life|archived)\b", re.I)
|
||||
@@ -194,7 +194,7 @@ def audit_recipe(recipe: str, ssh: str | None, quiet_days: int) -> dict:
|
||||
pass
|
||||
if reg_path is None:
|
||||
out["findings"].append({"level": "warn", "what": "no upstream registry file",
|
||||
"detail": f"cc-ci-plan/upstream/{recipe}.md is missing — the advisory "
|
||||
"detail": f"data/cc-ci/upstream/{recipe}.md is missing — the advisory "
|
||||
f"scan has nowhere to look"})
|
||||
seen = set()
|
||||
for u in urls:
|
||||
|
||||
Reference in New Issue
Block a user