Skip to content

Conversation

@asinghvi17
Copy link

I saw some chatter about this and figured I'd set a Claude on it. It seems to have done a reasonable job but I'm leaving this as a draft until I'm more confident in it. It probably wants some integration tests happening.

Add CodebergAPI forge implementation supporting the Gitea/Forgejo API (which Codeberg runs on). This enables interaction with Codeberg.org and self-hosted Forgejo/Gitea instances.

Implemented endpoints:

  • Users: get_user, get_users
  • Repositories: get_repo, get_user_repos, create_repo, is_collaborator, get_file_contents
  • Pull Requests: get_pull_requests, get_pull_request, create_pull_request, update_pull_request
  • Commits: get_commit
  • Branches: get_branch, get_branches, delete_branch
  • Tags: get_tags
  • Organizations: is_member

Authentication uses token-based auth with Authorization: token
header format.

🤖 Generated with Claude Code

Add CodebergAPI forge implementation supporting the Gitea/Forgejo API
(which Codeberg runs on). This enables interaction with Codeberg.org
and self-hosted Forgejo/Gitea instances.

Implemented endpoints:
- Users: get_user, get_users
- Repositories: get_repo, get_user_repos, create_repo, is_collaborator,
  get_file_contents
- Pull Requests: get_pull_requests, get_pull_request, create_pull_request,
  update_pull_request
- Commits: get_commit
- Branches: get_branch, get_branches, delete_branch
- Tags: get_tags
- Organizations: is_member

Authentication uses token-based auth with Authorization: token <token>
header format.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant