From c6dad5f11baec9878b8d485c4ac93207af87a52b Mon Sep 17 00:00:00 2001 From: autonomic-bot <64+autonomic-bot@noreply.git.autonomic.zone> Date: Mon, 14 Sep 2026 19:10:57 +0000 Subject: [PATCH] cctest-recipe-upstream: step 0 fetches by URL, remote-name agnostic --- .opencode/skills/cctest-recipe-upstream/SKILL.md | 5 ++--- scripts/gen-cctest-skills.py | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.opencode/skills/cctest-recipe-upstream/SKILL.md b/.opencode/skills/cctest-recipe-upstream/SKILL.md index e087336..6d27932 100644 --- a/.opencode/skills/cctest-recipe-upstream/SKILL.md +++ b/.opencode/skills/cctest-recipe-upstream/SKILL.md @@ -56,10 +56,9 @@ operator's machine must fetch it first. Always emit this **step 0** before the p ``` # 0. On a machine WITHOUT the branch pre-fetched, get it from the autonomic mirror - # (assumes a local checkout of the recipe that already has the mirror remote; - # its name here is `gitea`): + # (fetch by URL — works regardless of what the local remotes are named): cd - git fetch gitea +refs/pull//head:refs/heads/ + git fetch https://git.autonomic.zone/recipe-maintainers/.git +refs/pull//head:refs/heads/ git checkout ``` diff --git a/scripts/gen-cctest-skills.py b/scripts/gen-cctest-skills.py index 7ef3e6f..e90c4be 100644 --- a/scripts/gen-cctest-skills.py +++ b/scripts/gen-cctest-skills.py @@ -84,10 +84,9 @@ operator's machine must fetch it first. Always emit this **step 0** before the p ``` # 0. On a machine WITHOUT the branch pre-fetched, get it from the autonomic mirror - # (assumes a local checkout of the recipe that already has the mirror remote; - # its name here is `gitea`): + # (fetch by URL — works regardless of what the local remotes are named): cd - git fetch gitea +refs/pull//head:refs/heads/ + git fetch https://git.autonomic.zone/recipe-maintainers/.git +refs/pull//head:refs/heads/ git checkout ```