Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant