//go:build ignore // This file is excluded from normal builds. // Run `go build -v .` inside this file to see the documented gaps between // gitea.Client and vcs.Client that Phase 2 (Gitea adapter) must bridge. // // Known gaps (as of Phase 1): // // 1. PostReview signature mismatch: // gitea.Client: PostReview(ctx, owner, repo, number, event, body string, comments []gitea.ReviewComment) // vcs.Reviewer: PostReview(ctx, owner, repo, number, req vcs.ReviewRequest) // // 2. GetFileContent signature mismatch: // gitea.Client: GetFileContent(ctx, owner, repo, filepath string) [no ref; uses default branch] // vcs.FileReader: GetFileContent(ctx, owner, repo, path, ref string) // (gitea.Client has GetFileContentRef for the ref variant) // // 3. ReviewComment type mismatch: // gitea.ReviewComment uses NewPosition int64 (Gitea line-number convention) // vcs.ReviewComment uses Position int (GitHub diff-position convention) // // The Gitea adapter (Phase 2) will wrap gitea.Client to bridge these gaps. package vcs import "gitea.weiker.me/rodin/review-bot/gitea" // This compile-time assertion intentionally fails. // It documents what the Gitea adapter must implement to satisfy vcs.Client. var _ Client = (*gitea.Client)(nil)