Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

Package index fetches fail if APKINDEX.tar.gz doesn't support HEAD requests (e.g. Gitea/Forgejo package repositories) #203

Open
erincandescent opened this issue Feb 10, 2024 · 0 comments · May be fixed by #204

Comments

@erincandescent
Copy link

erincandescent commented Feb 10, 2024

The package index fetch code errors if a HEAD request to APKINDEX.tar.gz returns 405 Method Not Allowed, which means it isn't possible to use go-apk based tools (such as apko) with a Forgejo package repository.

I think Forgejo/Gitea is probably in the wrong here, but it should be possible to gracefully handle this case.

@erincandescent erincandescent linked a pull request Feb 10, 2024 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant