-
released this
2026-11-01 21:18:37 +11:00 | 0 commits to master since this releasePUT /api/v2/remotes/{name} decodes into a fresh struct without seeding repo_type, so terraform updates wipe it to "" on every non-local remote. Virtual repos then redirect member downloads to
/api/v1//<remote>/..., which 404s.- keep the existing repo_type when the PUT omits it or sends "", default to
remoteonly for a new row, reject invalid values - require base_url on update when repo_type is
remote, matching create - add migration 0011 to repair empty repo_type rows as
local(no base_url) orremote - add TestRepoTypeKeptOnUpdate
Reviewed-on: #179
Co-authored-by: unkin-agent unkin-agent@unkin.net
Co-committed-by: unkin-agent unkin-agent@unkin.netDownloads
- keep the existing repo_type when the PUT omits it or sends "", default to