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
{{ message }}
This repository has been archived by the owner on Feb 26, 2019. It is now read-only.
$ godep restore
godep: WARNING: Go version (devel) & $GO15VENDOREXPERIMENT= wants to enable the vendor experiment, but disabling because a Godep workspace (Godeps/_workspace) exists
godep: Error comparing go1.7 to devel
The go tool uses a build.Context.ReleaseTags slice and go1.7 has been added in devel. To take a "guess" at this I could compile/run this code with the current go version and take the left most element of the array. This is likely to work, until the go team changes the order of this slice for any random reason.
package main
import (
"fmt""go/build"
)
funcmain() {
fmt.Println(build.Default.ReleaseTags[len(build.Default.ReleaseTags)-1])
}
That's super fragile, but so is having to say deal with what the definition of "devel" is.
I could also parse the date returned by version in the devel case and hard code in the dates the tree was opened. This may then break every major cycle though.
https://travis-ci.org/coreos/etcd-play/jobs/121345461
I think
godep
fails when it tries to compare go1.7 with devel?Please let me know if I can provide more information.
Thanks!
The text was updated successfully, but these errors were encountered: