You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using s3auth to power my private maven repo. It's working great, except that maven often tries to lookup central artifacts in the private s3auth-powered repo, and due to the directory listing feature which returns 200 OK instead of 404 Not Found, maven thinks that it has retrieved the correct file.
Therefore, inspecting the contents of the retrieved JAR file with:
I believe the minimal change which preserves the feature as is to keep the directory listing result as is, but with an HTTP status code of 404. Will keep everyone happy.
The text was updated successfully, but these errors were encountered:
@amr I'm sorry this bug is still not fixed. We didn't have enough funds/time to work on the project. However, recently we received some donations from our grateful users and will continue to fix issues and introduce new features. Would be great if you can also donate -- to help us move forward faster. Here is the link: https://www.0crat.com/contrib/C3RP1J1CH
FYI I suspect this is also stopping git cloning a bare repo from S3 – this is a repo simply used to host Cocoapod spec files. I am hosting a private library for both Android and iOS, but have not had an issue with Maven so far.
fatal: http://[repo path]/info/refs not valid: is this a git repository? there is no refs file or folder so this should ideally be a 404.
Hi,
I'm using s3auth to power my private maven repo. It's working great, except that maven often tries to lookup central artifacts in the private s3auth-powered repo, and due to the directory listing feature which returns
200 OK
instead of404 Not Found
, maven thinks that it has retrieved the correct file.Therefore, inspecting the contents of the retrieved
JAR
file with:Yields:
I believe the minimal change which preserves the feature as is to keep the directory listing result as is, but with an HTTP status code of
404
. Will keep everyone happy.The text was updated successfully, but these errors were encountered: