Answer with a reference and the public issue list, never the forge address #13
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!13
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/public-issue-url"
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 #12. Part of laurence/helia#412.
The 201 answer used to carry the forge's own address for the new issue, which is private. It now carries
issue_number, areferencesuch asHEL-81, andissue_urlset to the public issue list. The two new settings have safe defaults (https://github.com/qisback/helia/issuesandHEL), so the stack needs no change to behave correctly. The relay refuses to start if the public address is not https or is on the forge's own host, so a mistake in the setting cannot put the forge back in the answer.Clients that show
issue_urlstill work, and the matching Helia change (laurence/helia#508) ignores the address anyway.Docs: README configuration table and
docs/PROTOCOL.md(the 201 answer). The relay has no CHANGELOG.This touches the same code as #9 (several projects). Whichever merges second needs a small rebase: the reference prefix will become a per-project setting there.
Automated testing
I ran formatting, clippy with warnings denied and the whole test suite on the build machine, and all passed. New tests check that the end-to-end 201 answer carries
HEL-7and the public list and contains nothing from the forge's address, that a public address which is not https or is on the forge host is refused (including a different letter case and a port), and that the reference prefix must be 1 to 8 capital letters.Answer with a reference and the public issue list, never the forge addressto WIP: Answer with a reference and the public issue list, never the forge addressWIP: Answer with a reference and the public issue list, never the forge addressto Answer with a reference and the public issue list, never the forge addressView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.