Serve several projects: route a report to its project's repository #9
No reviewers
Labels
No labels
area/api
area/ci
area/deploy
contract
kind
bug
kind
chore
kind
docs
kind
feature
kind/security
priority
high
priority
low
priority
normal
session/annora
session/ci
session/core
session/docs
session/helia
session/ml
session/plugins
session/store
session/valerian
session/web
status
blocked
status
in-progress
status
needs-decision
status/needs-info
status
needs-test
status/needs-triage
status/triaged
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
laurence/helia-feedback-relay!9
Loading…
Reference in a new issue
No description provided.
Delete branch "parity/projects"
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?
Fixes #8. Part of the parity work (valerian#217).
A report may now carry
project, andFEEDBACK_PROJECTS(valerian=laurence/valerian,...) maps each name to a repository. Noprojectstill means Helia, so older clients are unaffected; a project that is not listed is refused withunknown_project, so nobody can aim a report at an arbitrary repository. The issue, its labels, the screenshot and the body update all go to the chosen repository, and the health probe checks every repository the relay serves.Docs: the README configuration table and
docs/PROTOCOL.mddescribeproject,FEEDBACK_PROJECTSand the new error code.Deployment is separate and is the owner's: the bot account needs issue access to each added repository, and the stack gets
FEEDBACK_PROJECTS.Automated testing
cargo test: 27 unit tests (one new for the project list) and 6 end-to-end tests over real HTTP against two mock repositories (one new: no project goes to Helia,valerianto Valerian,heliato Helia, an unlisted or malformed project is refused and files nothing).cargo clippy --all-targetsclean;cargo fmtapplied.WIP: Serve several projects: route a report to its project's repositoryto Serve several projects: route a report to its project's repositoryView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.