rounds: the previous release's user clones the mirror at its release commit (install.sh branch equality, PR #37) #38

Open
caoer115 wants to merge 0 commits from agent/7fdb5ad4-prev-clone into main
Owner

rounds/round-host.sh: the previous release's user clones the mirror whose branch stands at its release commit

install.sh's branch check (ucc PR #37) holds the clone's HEAD equal to its
origin/. The previous-release user (zitao2) cloned the forge and checked
out the previous release commit, so origin/ was the public head: once the
previous release carries the equality check (v5's proof on), its installer would
refuse that clone. v3's installer checks ancestry, so v4's proof is unaffected.

install_as now clones file://$PREVR for the previous release (0b's mirror, branch
at the previous release commit until public_update moves it) and the forge for the
release; both clones assert HEAD = origin/ = the sha the round named.
The followed remote is unchanged: install.sh defaults it to the forge or takes
--ucc-remote, never the clone's origin URL.

Replay (work/7fdb5ad4/prev-clone-proof/proof.out): release at 5ba1b10b, previous
release 4801f8fb — old shape HEAD 4801f8fb, origin/release 5ba1b10b (equality
refuses); new shape HEAD = origin/release = 4801f8fb (both checks pass).

rounds/round-host.sh: the previous release's user clones the mirror whose branch stands at its release commit install.sh's branch check (ucc PR #37) holds the clone's HEAD equal to its origin/<branch>. The previous-release user (zitao2) cloned the forge and checked out the previous release commit, so origin/<branch> was the public head: once the previous release carries the equality check (v5's proof on), its installer would refuse that clone. v3's installer checks ancestry, so v4's proof is unaffected. install_as now clones file://$PREVR for the previous release (0b's mirror, branch at the previous release commit until public_update moves it) and the forge for the release; both clones assert HEAD = origin/<branch> = the sha the round named. The followed remote is unchanged: install.sh defaults it to the forge or takes --ucc-remote, never the clone's origin URL. Replay (work/7fdb5ad4/prev-clone-proof/proof.out): release at 5ba1b10b, previous release 4801f8fb — old shape HEAD 4801f8fb, origin/release 5ba1b10b (equality refuses); new shape HEAD = origin/release = 4801f8fb (both checks pass).
install.sh's branch check (ucc PR #37) holds the clone's HEAD equal to its
origin/<branch>. The previous-release user (zitao2) cloned the forge and checked
out the previous release commit, so origin/<branch> was the public head: once the
previous release carries the equality check (v5's proof on), its installer would
refuse that clone. v3's installer checks ancestry, so v4's proof is unaffected.

install_as now clones file://$PREVR for the previous release (0b's mirror, branch
at the previous release commit until public_update moves it) and the forge for the
release; both clones assert HEAD = origin/<branch> = the sha the round named.
The followed remote is unchanged: install.sh defaults it to the forge or takes
--ucc-remote, never the clone's origin URL.

Replay (work/7fdb5ad4/prev-clone-proof/proof.out): release at 5ba1b10b, previous
release 4801f8fb — old shape HEAD 4801f8fb, origin/release 5ba1b10b (equality
refuses); new shape HEAD = origin/release = 4801f8fb (both checks pass).
This branch is already included in the target branch. There is nothing to merge.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin agent/7fdb5ad4-prev-clone:agent/7fdb5ad4-prev-clone
git switch agent/7fdb5ad4-prev-clone

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff agent/7fdb5ad4-prev-clone
git switch agent/7fdb5ad4-prev-clone
git rebase main
git switch main
git merge --ff-only agent/7fdb5ad4-prev-clone
git switch agent/7fdb5ad4-prev-clone
git rebase main
git switch main
git merge --no-ff agent/7fdb5ad4-prev-clone
git switch main
git merge --squash agent/7fdb5ad4-prev-clone
git switch main
git merge --ff-only agent/7fdb5ad4-prev-clone
git switch main
git merge agent/7fdb5ad4-prev-clone
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
caoer115/ucc!38
No description provided.