jfrog / gocenter

The Github README for JFrog Go-center. Use this for reporting issues
https://gocenter.io
Apache License 2.0
164 stars 23 forks source link

GoCenter doesn't support dynamic versions #29

Closed ankushchadha closed 5 years ago

ankushchadha commented 5 years ago

Steps to reproduce:

  1. export GOPROXY=https://gocenter.io
  2. go get github.com/0xAX/notificator@master

Actual output: go get fails with the following: invalid version: reading https://gocenter.io/github.com/0x%21a%21x/notificator/@v/master.info: 404 Not Found

Expected output: go get github.com/0xAX/notificator@master should be successful. Internally need to map the master to an actual version.

To help us debug your issue please confirm the following :

elioengcomp commented 5 years ago

This capability was added to GoCenter. Users can now fetch from GoCenter modules using the following request formats:

GoCenter will translate the request to the actual SemVer compatible version and serve that instead.