Commit graph

6 commits

Author SHA1 Message Date
Barrett Ruth
2af47b6cf4
feat: add capabilities system and per-forge compatibility
Problem: forge.nvim silently ignored unsupported features on
non-GitHub forges. Codeberg `pr_for_branch_cmd` blocked all PR
creation, CI picker had zero actions, `repo_info` was hardcoded,
and the compose buffer showed draft/reviewer fields that did nothing.

Solution: add `forge.Capabilities` declaration (`draft`, `reviewers`,
`per_pr_checks`, `ci_json`) to each source. Compose buffer hides
unsupported fields. Per-PR checks falls back to repo-wide CI with
a notification. Fix Codeberg `pr_for_branch_cmd` to filter by branch
via jq, implement `repo_info` and `list_runs_json_cmd` via Gitea API,
add `default_branch_cmd` fallback, and add yank notifications for
GitLab/Codeberg.
2026-03-28 14:36:32 -04:00
Barrett Ruth
9be38e3b00
ci: resolve lua typechecks 2026-03-28 12:46:12 -04:00
Barrett Ruth
5fcbcfcf99
feat: cli 2026-03-28 00:24:26 -04:00
Barrett Ruth
e31b2777f9
more tweaks 2026-03-27 18:08:42 -04:00
Barrett Ruth
5ee2cc567a
ci: format 2026-03-27 17:19:09 -04:00
Barrett Ruth
c4da2cda2a
feat: initial commit 2026-03-27 16:46:28 -04:00