Gitea sources without a token: direct archive links #17

Merged
claude merged 1 commits from gitea-anonymous into master 2026-11-15 01:30:36 +01:00
1 Commits
Author SHA1 Message Date
rektdieandclaude 4bd7a68864 Gitea sources without a token: direct archive links
With REQUIRE_SIGNIN_VIEW off, public Gitea repositories can be read
anonymously, so the token is no longer required. Without one, the server
calls the Gitea API without credentials and hands workers the plain
<repo>/archive/<commit>.zip link, like Github. With a token, private
repositories still go through the signed /giteaSource/ proxy.

When a lookup fails without a token, the error says the repository must
be public.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 01:30:15 +01:00