chore(tools): test requests for Longshot's pull requests on git.magicbean.dev #5
No reviewers
Labels
No labels
accessibility
autorelease: pending
autorelease: tagged
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
needs measurements
question
testing wanted
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot!5
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/Longshot:forgejo-test-requests"
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?
Test requests are moving from Hookshot's GitHub to Longshot on git.magicbean.dev, so the scripts and guides have to name Longshot's pull requests there and post results there.
Uses
forge.pyand the team sign-in from #3.scripts/test_requests.py: a request links tohttps://git.magicbean.dev/MagicBeanDev/Longshot/pulls/<n>, anddonetakes a comment link on that PR (#issuecomment-…). The PR's state and labels come from git.magicbean.dev. A request is approved when the PR's author may push to Longshot (checked with the team sign-in), or the PR has thetesting wantedlabel (now a label on Longshot). Same replay rules as the relay, which already reads these links.forge.py pr checkout <n>and comment withforge.py pr comment <n> --body-file …; the comment link it prints is whatdonetakes.docs/test-requests.mdand thetestingandrequest-testingskills say so, and setup is now one step:forge.py login.tests/test_test_requests.pyfollows the new links and approval; it passes.On the server side (not in this repository) the relay already shows Longshot requests in the MagicBean server's #test-requests, approves them through Forgejo, posts a request for a PR when the label is added, and updates within seconds through a Forgejo webhook. Requests for Hookshot's GitHub PRs show as closed.
8196ae5a3b6d01fc94a3