Full-coverage Go client for the Forgejo API (450 endpoints)
Find a file
Snider 9e3d15da68 feat: ActionsService, NotificationService, PackageService
Add three new services for the Forgejo API client:

- ActionsService: repo/org secrets, variables, workflow dispatch
- NotificationService: list, mark read, thread operations
- PackageService: list, get, delete packages and files

Wire up real constructors in forge.go and remove stubs from
services_stub.go. All 21 new tests pass.

Co-Authored-By: Virgil <virgil@lethean.io>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 17:14:01 +00:00
cmd/forgegen feat: Go source code generator from Swagger types 2026-02-21 17:14:01 +00:00
docs/plans docs: add design and implementation plan 2026-02-21 15:19:32 +00:00
testdata feat: scaffold go-forge repo with swagger spec and plan 2026-02-21 15:14:29 +00:00
types feat: generate all 229 Forgejo API types from swagger spec 2026-02-21 17:14:01 +00:00
.gitignore feat: scaffold go-forge repo with swagger spec and plan 2026-02-21 15:14:29 +00:00
actions.go feat: ActionsService, NotificationService, PackageService 2026-02-21 17:14:01 +00:00
actions_test.go feat: ActionsService, NotificationService, PackageService 2026-02-21 17:14:01 +00:00
admin.go feat: AdminService with user, org, cron, runner operations 2026-02-21 17:14:01 +00:00
admin_test.go feat: AdminService with user, org, cron, runner operations 2026-02-21 17:14:01 +00:00
branches.go feat: BranchService and ReleaseService with protections and assets 2026-02-21 17:14:01 +00:00
branches_test.go feat: BranchService and ReleaseService with protections and assets 2026-02-21 17:14:01 +00:00
CLAUDE.md feat: scaffold go-forge repo with swagger spec and plan 2026-02-21 15:14:29 +00:00
client.go feat: LabelService, WebhookService, ContentService 2026-02-21 17:14:01 +00:00
client_test.go feat: HTTP client with auth, context, error handling 2026-02-21 15:22:50 +00:00
config.go feat: config resolution from env vars and flags 2026-02-21 17:14:01 +00:00
config_test.go feat: config resolution from env vars and flags 2026-02-21 17:14:01 +00:00
contents.go feat: LabelService, WebhookService, ContentService 2026-02-21 17:14:01 +00:00
contents_test.go feat: LabelService, WebhookService, ContentService 2026-02-21 17:14:01 +00:00
doc.go feat: scaffold go-forge repo with swagger spec and plan 2026-02-21 15:14:29 +00:00
forge.go feat: ActionsService, NotificationService, PackageService 2026-02-21 17:14:01 +00:00
forge_test.go feat: Forge client + RepoService with CRUD and actions 2026-02-21 17:14:01 +00:00
go.mod feat: scaffold go-forge repo with swagger spec and plan 2026-02-21 15:14:29 +00:00
issues.go feat: IssueService and PullService with actions 2026-02-21 17:14:01 +00:00
issues_test.go feat: IssueService and PullService with actions 2026-02-21 17:14:01 +00:00
labels.go feat: LabelService, WebhookService, ContentService 2026-02-21 17:14:01 +00:00
labels_test.go feat: LabelService, WebhookService, ContentService 2026-02-21 17:14:01 +00:00
notifications.go feat: ActionsService, NotificationService, PackageService 2026-02-21 17:14:01 +00:00
notifications_test.go feat: ActionsService, NotificationService, PackageService 2026-02-21 17:14:01 +00:00
orgs.go feat: OrgService, TeamService, UserService 2026-02-21 17:14:01 +00:00
orgs_test.go feat: OrgService, TeamService, UserService 2026-02-21 17:14:01 +00:00
packages.go feat: ActionsService, NotificationService, PackageService 2026-02-21 17:14:01 +00:00
packages_test.go feat: ActionsService, NotificationService, PackageService 2026-02-21 17:14:01 +00:00
pagination.go feat: generic Resource[T,C,U] for CRUD operations 2026-02-21 15:27:01 +00:00
pagination_test.go feat: generic pagination with ListAll and ListPage 2026-02-21 15:22:59 +00:00
params.go feat: path parameter resolution with URL encoding 2026-02-21 15:23:07 +00:00
params_test.go feat: path parameter resolution with URL encoding 2026-02-21 15:23:07 +00:00
pulls.go feat: IssueService and PullService with actions 2026-02-21 17:14:01 +00:00
pulls_test.go feat: IssueService and PullService with actions 2026-02-21 17:14:01 +00:00
releases.go feat: BranchService and ReleaseService with protections and assets 2026-02-21 17:14:01 +00:00
releases_test.go feat: BranchService and ReleaseService with protections and assets 2026-02-21 17:14:01 +00:00
repos.go feat: Forge client + RepoService with CRUD and actions 2026-02-21 17:14:01 +00:00
resource.go feat: generic Resource[T,C,U] for CRUD operations 2026-02-21 15:27:01 +00:00
resource_test.go feat: generic Resource[T,C,U] for CRUD operations 2026-02-21 15:27:01 +00:00
services_stub.go feat: ActionsService, NotificationService, PackageService 2026-02-21 17:14:01 +00:00
teams.go feat: OrgService, TeamService, UserService 2026-02-21 17:14:01 +00:00
teams_test.go feat: OrgService, TeamService, UserService 2026-02-21 17:14:01 +00:00
users.go feat: OrgService, TeamService, UserService 2026-02-21 17:14:01 +00:00
users_test.go feat: OrgService, TeamService, UserService 2026-02-21 17:14:01 +00:00
webhooks.go feat: LabelService, WebhookService, ContentService 2026-02-21 17:14:01 +00:00
webhooks_test.go feat: LabelService, WebhookService, ContentService 2026-02-21 17:14:01 +00:00