hyperhive/hive-forge/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas 7630b0993c hive-forge: hoist a PR row's merge state in list --json
Forgejo's issue-list endpoint answers 'was this merged?' only inside the
nested pull_request object, while state says closed for a merged PR and
for one closed without merging alike. So the obvious top-level query is
null or ambiguous for every row, and with a // default it renders as a
confident 'nothing merged' that cannot ever be right -- a wrong answer
shaped exactly like a clean one.

Copy merged and merged_at up to the top level of each PR row so the
obvious query is the correct one. Additive: the nested object is left
untouched so an existing consumer keeps working, and issue rows have no
pull_request and pass through unchanged.

The head branch is deliberately not hoisted: this endpoint does not carry
it at all -- the row's ref is an empty string, not the branch -- so there
is nothing to lift. pr show has head_branch.
2026-08-26 23:39:05 +02:00
..
verbs hive-forge: hoist a PR row's merge state in list --json 2026-08-26 23:39:05 +02:00
body.rs ci(#1555): prose-ify legacy tracker tags; add lint:allow escape hatch 2026-06-10 13:14:42 +02:00
client.rs hive-forge: stop embedding the forge token in clone URLs 2026-08-26 00:20:58 +02:00
main.rs hive-forge: stop embedding the forge token in clone URLs 2026-08-26 00:20:58 +02:00
notify.rs fix(#2565): lenient notifications deserialize in hive-forge read-guard 2026-07-17 16:45:56 +02:00