-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
GOPROXY=direct provide a corrupted version of collectd.org v0.5.0 #10408
Comments
I can reproduce this with: main.go package main
import _ "collectd.org/api"
func main() {
} go.mod: module test
go 1.17
require collectd.org v0.5.0 go.sum:
then run:
The hashes in Telegraf have not changed in 10 months, they were originally added by dependobot. My test program above seems to use the same hashes. The project itself does not appear to have re-tagged or done a new release, unless there were some issues during the release and they retagged and the proxy has the old hashes? This makes me believe it is the third option, and something is up with the mirror. That doesn't seem like something we, telegraf, can fix. There are no newer releases either, so I'm really not sure what else we could do. If anything a bug report against go-collectd seems like a better course of action for a new tag/release and we can use the new version? Thoughts? |
Hello Joshua, Thank you for your feedback! May I ask you if you can report the issue to the GO community or the people in charge of GO proxy? I'm not sure what happened with go-collectd 0.5.0 release, if it was released twice. But go-collected was released the 2020-06-05 and added to Telegraf the 2021-03-24. The issues should have been detected by the dependobot? There is no much activities on go-collectd project since the release. Still, I'll open an issue on their side. Best regards, |
I've filed collectd/go-collectd#94 to track this with the upstream |
replace collectd.org as github.com/collectd/go-collectd |
I have tried getting an update on the upstream bug, but still do not see any updates. I am going to close this issue as there is not a current thing for us to do. |
Hello,
When building telegraf from sources, the download of all vendor modules (cargo vendor) fail when using GOPROXY=direct.
Some users reported an similar issue [1] and used "GOPROXY=proxy.golang.org" as a workaround.
Can you fix this problem ?
To build Telefraf from sources using Buildroot or Yocto tools, we need a reliable method to fetch all required sources.
[1] google/flatbuffers#6466 (comment)
[2] http://lists.busybox.net/pipermail/buildroot/2022-January/633295.html
The text was updated successfully, but these errors were encountered: