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
Building telegraf via the included Makefile uses gdm to manage dependencies. Unfortunately, gdm behaves poorly in regards to the common practice of using a singular GOPATH. A well behaved build will not manipulate things outside of the project being worked on.
Relevant telegraf.conf:
n/a
System info:
n/a
Steps to reproduce:
make
Expected behavior:
Elements outside the checked telegraf/... directory are not changed by the build.
Actual behavior:
Many things outside the checkoued telegraf/... directory are manipulated.
Additional info:
Go has introduced the vendor/ directory behavior and dependency metadata (Gopkg.toml) to olve this exact problem, and the dep tool to manage these.
Proposal:
Switch to using dep to manage dependencies.
The text was updated successfully, but these errors were encountered:
as an aside, those of us who run gnome on linux get this wonderful error:
make
make deps
make[1]: Entering directory '/shared/james-lawrence/development/telegraf/src/github.com/influxdata/telegraf'
go get -u github.com/golang/lint/golint
go get github.com/sparrc/gdm
gdm restore
Only the root user can run GDM
due to the collision between the dependency tool and the gnome display manager.
Bug report
Building telegraf via the included
Makefile
uses gdm to manage dependencies. Unfortunately,gdm
behaves poorly in regards to the common practice of using a singularGOPATH
. A well behaved build will not manipulate things outside of the project being worked on.Relevant telegraf.conf:
n/a
System info:
n/a
Steps to reproduce:
make
Expected behavior:
Elements outside the checked
telegraf/...
directory are not changed by the build.Actual behavior:
Many things outside the checkoued
telegraf/...
directory are manipulated.Additional info:
Go has introduced the
vendor/
directory behavior and dependency metadata (Gopkg.toml) to olve this exact problem, and the dep tool to manage these.Proposal:
Switch to using
dep
to manage dependencies.The text was updated successfully, but these errors were encountered: