add: a script to build and install the package from a local branch #65
Loading…
Reference in a new issue
No description provided.
Delete branch "add/build-branch-script"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Live-verifying a PR (the merge gate for changes whose real test is the running system) means hand-copying the PKGBUILD out of tree and editing
source=every time — the procedure only existed as a comment hint in the PKGBUILD.Fix
packaging/arch/build-branch.sh: copies the PKGBUILD out of tree, pointssource=at this clone with a#branch=fragment, and runsmakepkg -si. Defaults to the branch checked out in the clone; takes a branch name to override. The PKGBUILD comment now points at it, and CONTRIBUTING's Testing section documents the live-verification step.Verification
Ran
build-branch.sh change/set-tun-device-name: builtaqomui-git-0.9.0.r302.g4629f56(the #64 tip) from the local clone and proceeded topacman -U, which failed only for lack of a sudo terminal in the harness — everything up to the interactive step works.🤖 Generated with Claude Code