feat(gitea): Gitea/Forgejo adapter for v1 operations #27
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/6-gitea-adapter"
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?
Summary
The Gitea/Forgejo adapter for v1 (#6). lazyforge can now talk to a real Forgejo or Gitea host: sign in, list repos with your access level, read and merge PRs, read and edit issues, comment, close, list releases, and on Forgejo, list Actions runs, jobs and logs.
Changes
internal/forge/gitea: implements theForgeinterface on a thin hand-writtennet/httpclient (ADR 0005).Newcalls/versionand/user. A version containing+gitea-means Forgejo./user/repos, newest activity first, with permissions mapped to access levels.limit=50, always sendspage, and stops on the total or an empty page.testdata/README.mdon how they were captured. All were captured read-only.docs/architecture.md: the API mapping is marked as verified against Forgejo16.0.5+gitea-1.22.0.Test plan
make checkexit 0 after rebasing onto develop: format, lint,go test -race, govulncheck, build, install test.Rulings
pagethere.Closes #6
🤖 Generated with Claude Code