Skip to content

Implement the Forgejo planning pull request adapter #186

Description

@rochecompaan

Part of #180.

Blocked by: #184

Goal

Implement Forgejo support behind the provider-neutral planning pull request interface.

Scope

  • Resolve target and configured push-remote repository identities through Forgejo.
  • Support cross-owner heads and remotes other than origin.
  • Implement create, exact discovery, and get through tea api.
  • Fetch all list pages without returning partial results.
  • Distinguish exact API 404 responses from authentication, rate-limit, transport, and malformed-response failures.
  • Add normalization, pagination, and command contract tests.

Out of scope

  • GitHub support.
  • Planning workspace or pipeline integration.

Acceptance criteria

  • The adapter satisfies the foundation interface.
  • Nested target and head repository identities are strictly validated.
  • Pagination continues until a short page is returned.
  • Only an exact API 404 becomes PullRequestNotFoundError.
  • The adapter is not yet wired into run-once.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedBlocked by another issue or dependency

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions