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

proxy.golang.org: Proposal: maintain mod file for old packages and package list #35522

Closed
lcwj3 opened this issue Nov 12, 2019 · 3 comments

Comments

@lcwj3
Copy link

@lcwj3 lcwj3 commented Nov 12, 2019

I am working on building a dependency graph for golang packages, the proxy.goalng.org do help me a lot, thanks for your great work! Here I have two small questions according to my concerns:

  • Since we can get mod file from https://proxy.golang.org/<module>/@v/<semver>.mod, which is from source code, do you have any plans for old packages which don't have a mod file?

  • We can get all versions of a module by https://proxy.golang.org/<module>/@v/list, do you also have an API to query a full package list?

Looking forward to your kind reply, thanks!

@bcmills

This comment has been minimized.

Copy link
Member

@bcmills bcmills commented Nov 12, 2019

This issue seems to be a question about how to use Go, rather than a feature request or defect report about the Go language and/or toolchain.

We have decided that our experiment to allow questions on the issue tracker has not had the outcome we desired, so I am closing this issue. I'm sorry that we can't answer your question here.

There are many other methods to get help if you're still looking for answers:

Thanks

@bcmills bcmills closed this Nov 12, 2019
@bcmills

This comment has been minimized.

Copy link
Member

@bcmills bcmills commented Nov 12, 2019

That said, you may want to investigate http://index.golang.org as a starting point.

(CC @katiehockman @julieqiu)

@lcwj3

This comment has been minimized.

Copy link
Author

@lcwj3 lcwj3 commented Nov 13, 2019

That said, you may want to investigate http://index.golang.org as a starting point.

(CC @katiehockman @julieqiu)
Thank you for your kind reply!
Yes, but I have tried this index api https://index.golang.org/index#, it seems I can only get package publishing records after April 10 2019, so I may want a full list of all package id and their versions; Besides, there are a lot of old packages that have no dependency files, I also want an api to get all dependency information, e.g. we can get mod file from https://proxy.golang.org/<module>/@v/<semver>.mod, but for packages that don't have a mod file, it will return an empty mod file, so I was wondering if there is any API to get dependency information for old packages.
Thanks again for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.