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

Glide 0.11 doesn't work with go.uber.org #369

Closed
ascandella opened this issue Oct 1, 2016 · 20 comments
Closed

Glide 0.11 doesn't work with go.uber.org #369

ascandella opened this issue Oct 1, 2016 · 20 comments

Comments

@ascandella
Copy link

Looks like it chokes on the transitive dependency of go.uber.org/thriftrw, and then fails:

[DEBUG] Missing go.uber.org/thriftrw/wire. Trying to resolve.
[DEBUG] go.uber.org/thriftrw/wire was already updated, skipping.
[WARN]  Unable to set version on go.uber.org/thriftrw/wire to . Err: https://go.uber.org/thriftrw/wire Not Found
[DEBUG] Output was: [DEBUG]     Trying to open go.uber.org/thriftrw/protocol (/Users/aiden/.glide-uber/cache/src/https-go.uber.org-thriftrw-protocol)
[DEBUG] ImportDir error on /Users/aiden/.glide-uber/cache/src/https-go.uber.org-thriftrw/protocol: open /Users/aiden/.glide-uber/cache/src/https-go.uber.org-thriftrw-protocol: no such file or directory
[ERROR] Error scanning go.uber.org/thriftrw/protocol: open /Users/aiden/.glide-uber/cache/src/https-go.uber.org-thriftrw-protocol: no such file or directory
[ERROR] This error means the referenced package was not found.
[ERROR] Missing file or directory errors usually occur when multiple packages
[ERROR] share a common dependency and the first reference encountered by the scanner
[ERROR] sets the version to one that does not contain a subpackage needed required
[ERROR] by another package that uses the shared dependency. Try setting a
[ERROR] version in your glide.yaml that works for all packages that share this
[ERROR] dependency.

I can paste the full output, but it appears that glide expcts that go.uber.org/thriftrw/protocol will return some go-get meta headers, when right now it returns a 404.

@ascandella
Copy link
Author

cc @prashantv @breerly

@ascandella
Copy link
Author

If you'd like to reproduce this, check out uberfx at at df23ba4a001afb0a05ab610989ef315cb4eb786a (where I took @breerly's suggestion and switched to go.uber.org). Shame on me for not having Travis set up yet -- also shame on us for not paying for private Travis :)

@HelloGrayson
Copy link
Contributor

The error message makes it hard to understand what's going on, but it sounds like you have a library that relies on thriftrw directly, but doesn't have thriftrw in the glide.yaml.

The fix is to add thriftrw, and libs you rely on directly, to the glide.yaml.

Is this for UberFX? There is a PR already to solve this.

@HelloGrayson
Copy link
Contributor

HelloGrayson commented Oct 1, 2016

Check out uber-go/fx#17 - I worked with @glibsm last night to solve the issue.

@ascandella
Copy link
Author

There may be something misconfigured with my project, but it works fine when using imports as "github.com/yarpc-go/yarpc", which leads me to believe that sally doesn't fully implement the spec.

@HelloGrayson
Copy link
Contributor

That would only work with on old glide.lock - add go.uber.org/thriftrw to your glide.yaml, nuke lock and vendor, and glide up.

There isn't much of a spec to implement - it's a meta tag with go-import details.

@ascandella
Copy link
Author

I've given your two exact commits to show the difference between the issue.
There's definitely a difference in semantics when using go.uber.org versus
github.com, and until I have a clear idea of where the differences fall
apart I'm hesitant to use it in my project. I unfortunately don't have time
to investigate further now, but I want to make sure you guys are aware that
you're likely to incur a support burden for using these "vanity URL"
imports until you get to the bottom of this.

On Sat, Oct 1, 2016 at 11:27 AM Grayson Koonce notifications@github.com
wrote:

That would only work with on old glide.lock - add go.uber.org/thriftrw to
your glide.yaml, nuke lock and vendor, and glide up.

There isn't much of a spec to implement - it's a meta tag with go-import
details.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#369 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAF7P7zLwJpabwknilXiUK2RIVSrN-SHks5qvqYKgaJpZM4KLz9I
.

@ascandella
Copy link
Author

ascandella commented Oct 1, 2016

Also, just "for fun" (since it seems like you don't believe that I'm reporting an actual issue. I'm trying to help you, man!):

I pulled down the branch of uberfx you helped "solved" the issue on. It exhibits the exact issue I show above -- 404s on URLs:

uberfx - friday_funday! ❯ rm -rf vendor
uberfx - friday_funday! ❯ glide up
[INFO]  Downloading dependencies. Please wait...
[INFO]  --> Fetching updates for github.com/nu7hatch/gouuid.
[INFO]  --> Fetching updates for code.uber.internal/go-common.git.
[INFO]  --> Fetching updates for go.uber.org/yarpc.
[INFO]  --> Fetching updates for github.com/uber-go/atomic.
[INFO]  --> Fetching updates for go.uber.org/thriftrw.
[INFO]  --> Fetching updates for github.com/gorilla/context.
[INFO]  --> Fetching updates for github.com/gorilla/mux.
[UBER]  Gitolite GitHub mirror gitolite@code.uber.internal:github/nu7hatch/gouuid already exists
[UBER]  Rewrite github.com https://github.com/nu7hatch/gouuid to gitolite@code.uber.internal:github/nu7hatch/gouuid
[UBER]  Gitolite GitHub mirror gitolite@code.uber.internal:github/gorilla/mux already exists
[UBER]  Rewrite github.com https://github.com/gorilla/mux to gitolite@code.uber.internal:github/gorilla/mux
[UBER]  Gitolite GitHub mirror gitolite@code.uber.internal:github/gorilla/context already exists
[UBER]  Rewrite github.com https://github.com/gorilla/context to gitolite@code.uber.internal:github/gorilla/context
[UBER]  Gitolite GitHub mirror gitolite@code.uber.internal:github/yarpc/yarpc-go already exists
[UBER]  Rewrite github.com https://github.com/yarpc/yarpc-go to gitolite@code.uber.internal:github/yarpc/yarpc-go
[UBER]  Gitolite GitHub mirror gitolite@code.uber.internal:github/thriftrw/thriftrw-go already exists
[UBER]  Rewrite github.com https://github.com/thriftrw/thriftrw-go to gitolite@code.uber.internal:github/thriftrw/thriftrw-go
[INFO]  --> Fetching updates for github.com/stretchr/testify.
[INFO]  --> Fetching updates for github.com/axw/gocov.
[UBER]  Gitolite GitHub mirror gitolite@code.uber.internal:github/stretchr/testify already exists
[UBER]  Rewrite github.com https://github.com/stretchr/testify to gitolite@code.uber.internal:github/stretchr/testify
[UBER]  Gitolite GitHub mirror gitolite@code.uber.internal:github/axw/gocov already exists
[UBER]  Rewrite github.com https://github.com/axw/gocov to gitolite@code.uber.internal:github/axw/gocov
[INFO]  --> Setting version for code.uber.internal/go-common.git to master.
[INFO]  --> Setting version for go.uber.org/thriftrw to master.
[INFO]  --> Setting version for go.uber.org/yarpc to master.
[INFO]  --> Detected semantic version. Setting version for github.com/uber-go/atomic to v1.0.0.
[INFO]  --> Detected semantic version. Setting version for github.com/gorilla/context to v1.1.
[INFO]  --> Detected semantic version. Setting version for github.com/gorilla/mux to v1.1.
[INFO]  --> Detected semantic version. Setting version for github.com/stretchr/testify to v1.1.4.
[INFO]  Resolving imports
[INFO]  Fetching github.com/apache/thrift/lib/go/thrift into /Users/ai/src/go/src/github.com/uber-go/uberfx/vendor
[UBER]  Gitolite GitHub mirror gitolite@code.uber.internal:github/apache/thrift already exists
[UBER]  Rewrite github.com https://github.com/apache/thrift to gitolite@code.uber.internal:github/apache/thrift
[INFO]  --> Setting version for github.com/apache/thrift to 9549b25c77587b29be4e0b5c258221a4ed85d37a.
[INFO]  Fetching github.com/cactus/go-statsd-client/statsd into /Users/ai/src/go/src/github.com/uber-go/uberfx/vendor
[UBER]  Gitolite GitHub mirror gitolite@code.uber.internal:github/cactus/go-statsd-client already exists
[UBER]  Rewrite github.com https://github.com/cactus/go-statsd-client to gitolite@code.uber.internal:github/cactus/go-statsd-client
[INFO]  --> Setting version for github.com/cactus/go-statsd-client to 95cb85a8d6b2d1ccfce95fa58d1ca3445779d8af.
[INFO]  Fetching github.com/codahale/hdrhistogram into /Users/ai/src/go/src/github.com/uber-go/uberfx/vendor
[UBER]  Gitolite GitHub mirror gitolite@code.uber.internal:github/codahale/hdrhistogram already exists
[UBER]  Rewrite github.com https://github.com/codahale/hdrhistogram to gitolite@code.uber.internal:github/codahale/hdrhistogram
[INFO]  --> Setting version for github.com/codahale/hdrhistogram to f8ad88b59a584afeee9d334eff879b104439117b.
[INFO]  Fetching github.com/uber-common/bark into /Users/ai/src/go/src/github.com/uber-go/uberfx/vendor
[UBER]  Gitolite GitHub mirror gitolite@code.uber.internal:github/uber-common/bark already exists
[UBER]  Rewrite github.com https://github.com/uber-common/bark to gitolite@code.uber.internal:github/uber-common/bark
[INFO]  --> Setting version for github.com/uber-common/bark to d52ffa061726911f47fcd3d9e8b9b55f22794772.
[INFO]  Fetching github.com/uber-go/tally into /Users/ai/src/go/src/github.com/uber-go/uberfx/vendor
[UBER]  Gitolite GitHub mirror gitolite@code.uber.internal:github/uber-go/tally already exists
[UBER]  Rewrite github.com https://github.com/uber-go/tally to gitolite@code.uber.internal:github/uber-go/tally
[INFO]  --> Setting version for github.com/uber-go/tally to 13a01a2a0dd2ade06c307ccc0ca4e83196c88422.
[INFO]  Fetching code.uber.internal/rt/filter-go.git/filter into /Users/ai/src/go/src/github.com/uber-go/uberfx/vendor
[INFO]  --> Setting version for code.uber.internal/rt/filter-go.git to ed1dde1be1c101f60623eaefbf3a001365fd955b.
[INFO]  Fetching github.com/blang/semver into /Users/ai/src/go/src/github.com/uber-go/uberfx/vendor
[UBER]  Gitolite GitHub mirror gitolite@code.uber.internal:github/blang/semver already exists
[UBER]  Rewrite github.com https://github.com/blang/semver to gitolite@code.uber.internal:github/blang/semver
[INFO]  --> Setting version for github.com/blang/semver to e64c75d1c910cd81c8caa1f2cc2c6409dd65af81.
[INFO]  Fetching github.com/fsnotify/fsnotify into /Users/ai/src/go/src/github.com/uber-go/uberfx/vendor
[UBER]  Gitolite GitHub mirror gitolite@code.uber.internal:github/fsnotify/fsnotify already exists
[UBER]  Rewrite github.com https://github.com/fsnotify/fsnotify to gitolite@code.uber.internal:github/fsnotify/fsnotify
[INFO]  --> Setting version for github.com/fsnotify/fsnotify to 30411dbcefb7a1da7e84f75530ad3abe4011b4f8.
[INFO]  Fetching github.com/uber/tchannel-go/thrift into /Users/ai/src/go/src/github.com/uber-go/uberfx/vendor
[UBER]  Gitolite GitHub mirror gitolite@code.uber.internal:github/uber/tchannel-go already exists
[UBER]  Rewrite github.com https://github.com/uber/tchannel-go to gitolite@code.uber.internal:github/uber/tchannel-go
[INFO]  --> Detected semantic version. Setting version for github.com/uber/tchannel-go to v1.2.1.
[INFO]  Fetching golang.org/x/net/context into /Users/ai/src/go/src/github.com/uber-go/uberfx/vendor
[UBER]  Rewrite golang.org https://golang.org/x/net to gitolite@code.uber.internal:googlesource/net
[INFO]  --> Setting version for golang.org/x/net to 3b993948b6f0e651ffb58ba135d8538a68b1cddf.
[INFO]  Fetching gopkg.in/yaml.v2 into /Users/ai/src/go/src/github.com/uber-go/uberfx/vendor
[UBER]  Gitolite GitHub mirror gitolite@code.uber.internal:github/go-yaml/yaml already exists
[UBER]  Rewrite gopkg.in https://gopkg.in/yaml.v2 to https://gopkg.uberinternal.com/yaml.v2
[INFO]  --> Setting version for gopkg.in/yaml.v2 to a83829b6f1293c91addabc89d0571c246397bbf4.
[INFO]  Fetching github.com/Sirupsen/logrus into /Users/ai/src/go/src/github.com/uber-go/uberfx/vendor
[UBER]  Gitolite GitHub mirror gitolite@code.uber.internal:github/Sirupsen/logrus already exists
[UBER]  Rewrite github.com https://github.com/Sirupsen/logrus to gitolite@code.uber.internal:github/Sirupsen/logrus
[INFO]  --> Setting version for github.com/Sirupsen/logrus to 08a8a7c27e3d058a8989316a850daad1c10bf4ab.
[INFO]  Fetching github.com/getsentry/raven-go into /Users/ai/src/go/src/github.com/uber-go/uberfx/vendor
[UBER]  Gitolite GitHub mirror gitolite@code.uber.internal:github/getsentry/raven-go already exists
[UBER]  Rewrite github.com https://github.com/getsentry/raven-go to gitolite@code.uber.internal:github/getsentry/raven-go
[INFO]  --> Setting version for github.com/getsentry/raven-go to e39495fea085e98d1281fac0ff4d6eb8dc56f86d.
[INFO]  Fetching gopkg.in/validator.v2 into /Users/ai/src/go/src/github.com/uber-go/uberfx/vendor
[UBER]  Gitolite GitHub mirror gitolite@code.uber.internal:github/go-validator/validator already exists
[UBER]  Rewrite gopkg.in https://gopkg.in/validator.v2 to https://gopkg.uberinternal.com/validator.v2
[INFO]  --> Setting version for gopkg.in/validator.v2 to 3e4f037f12a1221a0864cf0dd2e81c452ab22448.
[INFO]  Fetching github.com/Shopify/sarama into /Users/ai/src/go/src/github.com/uber-go/uberfx/vendor
[UBER]  Gitolite GitHub mirror gitolite@code.uber.internal:github/Shopify/sarama already exists
[UBER]  Rewrite github.com https://github.com/Shopify/sarama to gitolite@code.uber.internal:github/Shopify/sarama
[INFO]  --> Setting version for github.com/Shopify/sarama to 97511b29ac093c98470373da24fe7072cafa1f09.
[INFO]  Fetching github.com/wvanbergen/kafka/consumergroup into /Users/ai/src/go/src/github.com/uber-go/uberfx/vendor
[UBER]  Gitolite GitHub mirror gitolite@code.uber.internal:github/wvanbergen/kafka already exists
[UBER]  Rewrite github.com https://github.com/wvanbergen/kafka to gitolite@code.uber.internal:github/wvanbergen/kafka
[INFO]  --> Setting version for github.com/wvanbergen/kafka to master.
[INFO]  Fetching github.com/opentracing/opentracing-go into /Users/ai/src/go/src/github.com/uber-go/uberfx/vendor
[UBER]  Gitolite GitHub mirror gitolite@code.uber.internal:github/opentracing/opentracing-go already exists
[UBER]  Rewrite github.com https://github.com/opentracing/opentracing-go to gitolite@code.uber.internal:github/opentracing/opentracing-go
[INFO]  --> Detected semantic version. Setting version for github.com/opentracing/opentracing-go to v1.0.0.
[INFO]  --> Fetching updates for go.uber.org/yarpc/internal.
[WARN]  go.uber.org/yarpc/internal appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[WARN]  Unable to set version on go.uber.org/yarpc/internal to . Err: https://go.uber.org/yarpc/internal Not Found
[INFO]  --> Fetching updates for go.uber.org/yarpc/internal/baggage.
[WARN]  go.uber.org/yarpc/internal/baggage appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[WARN]  Unable to set version on go.uber.org/yarpc/internal/baggage to . Err: https://go.uber.org/yarpc/internal/baggage Not Found
[INFO]  --> Fetching updates for go.uber.org/yarpc/internal/filter.
[WARN]  go.uber.org/yarpc/internal/filter appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[WARN]  Unable to set version on go.uber.org/yarpc/internal/filter to . Err: https://go.uber.org/yarpc/internal/filter Not Found
[INFO]  --> Fetching updates for go.uber.org/yarpc/internal/interceptor.
[WARN]  go.uber.org/yarpc/internal/interceptor appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[WARN]  Unable to set version on go.uber.org/yarpc/internal/interceptor to . Err: https://go.uber.org/yarpc/internal/interceptor Not Found
[INFO]  --> Fetching updates for go.uber.org/yarpc/internal/request.
[WARN]  go.uber.org/yarpc/internal/request appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[WARN]  Unable to set version on go.uber.org/yarpc/internal/request to . Err: https://go.uber.org/yarpc/internal/request Not Found
[INFO]  --> Fetching updates for go.uber.org/yarpc/internal/sync.
[WARN]  go.uber.org/yarpc/internal/sync appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[WARN]  Unable to set version on go.uber.org/yarpc/internal/sync to . Err: https://go.uber.org/yarpc/internal/sync Not Found
[INFO]  --> Fetching updates for go.uber.org/yarpc/transport.
[WARN]  go.uber.org/yarpc/transport appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[WARN]  Unable to set version on go.uber.org/yarpc/transport to . Err: https://go.uber.org/yarpc/transport Not Found
[INFO]  --> Fetching updates for go.uber.org/thriftrw/envelope.
[WARN]  go.uber.org/thriftrw/envelope appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[WARN]  Unable to set version on go.uber.org/thriftrw/envelope to . Err: https://go.uber.org/thriftrw/envelope Not Found
[INFO]  --> Fetching updates for go.uber.org/thriftrw/protocol.
[WARN]  go.uber.org/thriftrw/protocol appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[WARN]  Unable to set version on go.uber.org/thriftrw/protocol to . Err: https://go.uber.org/thriftrw/protocol Not Found
[INFO]  --> Fetching updates for go.uber.org/thriftrw/wire.
[WARN]  go.uber.org/thriftrw/wire appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[WARN]  Unable to set version on go.uber.org/thriftrw/wire to . Err: https://go.uber.org/thriftrw/wire Not Found
[INFO]  --> Fetching updates for go.uber.org/yarpc/encoding/thrift/internal.
[WARN]  go.uber.org/yarpc/encoding/thrift/internal appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[WARN]  Unable to set version on go.uber.org/yarpc/encoding/thrift/internal to . Err: https://go.uber.org/yarpc/encoding/thrift/internal Not Found
[INFO]  --> Fetching updates for go.uber.org/yarpc/internal/encoding.
[WARN]  go.uber.org/yarpc/internal/encoding appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[WARN]  Unable to set version on go.uber.org/yarpc/internal/encoding to . Err: https://go.uber.org/yarpc/internal/encoding Not Found
[INFO]  --> Fetching updates for go.uber.org/yarpc/internal/meta.
[WARN]  go.uber.org/yarpc/internal/meta appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[WARN]  Unable to set version on go.uber.org/yarpc/internal/meta to . Err: https://go.uber.org/yarpc/internal/meta Not Found
[WARN]  Unable to set version on go.uber.org/yarpc/transport to . Err: https://go.uber.org/yarpc/transport Not Found
[INFO]  --> Fetching updates for go.uber.org/thriftrw/protocol/binary.
[WARN]  go.uber.org/thriftrw/protocol/binary appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[WARN]  Unable to set version on go.uber.org/thriftrw/protocol/binary to . Err: https://go.uber.org/thriftrw/protocol/binary Not Found
[WARN]  Unable to set version on go.uber.org/thriftrw/wire to . Err: https://go.uber.org/thriftrw/wire Not Found
[INFO]  --> Fetching updates for go.uber.org/yarpc/examples/thrift/keyvalue/kv.
[WARN]  go.uber.org/yarpc/examples/thrift/keyvalue/kv appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[WARN]  Unable to set version on go.uber.org/yarpc/examples/thrift/keyvalue/kv to . Err: https://go.uber.org/yarpc/examples/thrift/keyvalue/kv Not Found
[WARN]  Unable to set version on go.uber.org/yarpc/internal/encoding to . Err: https://go.uber.org/yarpc/internal/encoding Not Found
[WARN]  Unable to set version on go.uber.org/yarpc/internal/meta to . Err: https://go.uber.org/yarpc/internal/meta Not Found
[WARN]  Unable to set version on go.uber.org/yarpc/transport to . Err: https://go.uber.org/yarpc/transport Not Found
[WARN]  Conflict: github.com/uber-go/atomic version is ^1.0.0, but also asked for 0c9e689d64f004564b79d9a663634756df322902
[INFO]  github.com/uber-go/atomic reference 0c9e689d64f004564b79d9a663634756df322902 (v1.0.0):
[INFO] - author: Prashant Varanasi <github@prashantv.com>
[INFO] - commit date: Mon, 18 Jul 2016 13:38:59 -0700
[INFO] - subject (first line): Merge pull request #10 from uber-go/unexport
[INFO]  Keeping github.com/uber-go/atomic ^1.0.0
[WARN]  Unable to set version on go.uber.org/yarpc/internal to . Err: https://go.uber.org/yarpc/internal Not Found
[INFO]  --> Fetching updates for go.uber.org/yarpc/internal/errors.
[WARN]  go.uber.org/yarpc/internal/errors appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[WARN]  Unable to set version on go.uber.org/yarpc/internal/errors to . Err: https://go.uber.org/yarpc/internal/errors Not Found
[WARN]  Unable to set version on go.uber.org/yarpc/internal/baggage to . Err: https://go.uber.org/yarpc/internal/baggage Not Found
[WARN]  Unable to set version on go.uber.org/yarpc/internal/encoding to . Err: https://go.uber.org/yarpc/internal/encoding Not Found
[WARN]  Unable to set version on go.uber.org/yarpc/internal/errors to . Err: https://go.uber.org/yarpc/internal/errors Not Found
[WARN]  Unable to set version on go.uber.org/yarpc/internal/request to . Err: https://go.uber.org/yarpc/internal/request Not Found
[INFO]  --> Fetching updates for go.uber.org/yarpc/transport/internal.
[WARN]  go.uber.org/yarpc/transport/internal appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[WARN]  Unable to set version on go.uber.org/yarpc/transport/internal to . Err: https://go.uber.org/yarpc/transport/internal Not Found
[INFO]  --> Fetching updates for go.uber.org/yarpc/transport/tchannel/internal.
[WARN]  go.uber.org/yarpc/transport/tchannel/internal appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[WARN]  Unable to set version on go.uber.org/yarpc/transport/tchannel/internal to . Err: https://go.uber.org/yarpc/transport/tchannel/internal Not Found
[INFO]  Fetching github.com/facebookgo/clock into /Users/ai/src/go/src/github.com/uber-go/uberfx/vendor
[UBER]  Gitolite GitHub mirror gitolite@code.uber.internal:github/facebookgo/clock already exists
[UBER]  Rewrite github.com https://github.com/facebookgo/clock to gitolite@code.uber.internal:github/facebookgo/clock
[INFO]  --> Setting version for github.com/facebookgo/clock to 600d898af40aa09a7a93ecb9265d87b0504b6f03.
[INFO]  Found Godeps.json file in vendor/code.uber.internal/rt/filter-go.git
[INFO]  --> Parsing Godeps metadata...
[INFO]  Fetching golang.org/x/sys/unix into /Users/ai/src/go/src/github.com/uber-go/uberfx/vendor
[UBER]  Rewrite golang.org https://golang.org/x/sys to gitolite@code.uber.internal:googlesource/sys
[INFO]  --> Setting version for golang.org/x/sys to d4feaf1a7e61e1d9e79e6c4e76c6349e9cab0a03.
[INFO]  Fetching github.com/davecgh/go-spew/spew into /Users/ai/src/go/src/github.com/uber-go/uberfx/vendor
[UBER]  Gitolite GitHub mirror gitolite@code.uber.internal:github/davecgh/go-spew already exists
[UBER]  Rewrite github.com https://github.com/davecgh/go-spew to gitolite@code.uber.internal:github/davecgh/go-spew
[INFO]  --> Setting version for github.com/davecgh/go-spew to 5215b55f46b2b919f50a1df0eaa5886afe4e3b3d.
[INFO]  Fetching github.com/eapache/go-resiliency/breaker into /Users/ai/src/go/src/github.com/uber-go/uberfx/vendor
[UBER]  Gitolite GitHub mirror gitolite@code.uber.internal:github/eapache/go-resiliency already exists
[UBER]  Rewrite github.com https://github.com/eapache/go-resiliency to gitolite@code.uber.internal:github/eapache/go-resiliency
[INFO]  --> Setting version for github.com/eapache/go-resiliency to ed0319b32e66e3295db52695ba3ee493e823fbfe.
[INFO]  Fetching github.com/eapache/queue into /Users/ai/src/go/src/github.com/uber-go/uberfx/vendor
[UBER]  Gitolite GitHub mirror gitolite@code.uber.internal:github/eapache/queue already exists
[UBER]  Rewrite github.com https://github.com/eapache/queue to gitolite@code.uber.internal:github/eapache/queue
[INFO]  --> Setting version for github.com/eapache/queue to d1df561eb6b9ffdac8dd98f943e9e9096c76c059.
[INFO]  Fetching github.com/golang/snappy into /Users/ai/src/go/src/github.com/uber-go/uberfx/vendor
[UBER]  Gitolite GitHub mirror gitolite@code.uber.internal:github/golang/snappy already exists
[UBER]  Rewrite github.com https://github.com/golang/snappy to gitolite@code.uber.internal:github/golang/snappy
[INFO]  --> Setting version for github.com/golang/snappy to d7b1e156f50d3c4664f683603af70e3e47fa0aa2.
[INFO]  Fetching github.com/klauspost/crc32 into /Users/ai/src/go/src/github.com/uber-go/uberfx/vendor
[UBER]  Gitolite GitHub mirror gitolite@code.uber.internal:github/klauspost/crc32 already exists
[UBER]  Rewrite github.com https://github.com/klauspost/crc32 to gitolite@code.uber.internal:github/klauspost/crc32
[INFO]  --> Detected semantic version. Setting version for github.com/klauspost/crc32 to v1.0.
[INFO]  Fetching github.com/wvanbergen/kazoo-go into /Users/ai/src/go/src/github.com/uber-go/uberfx/vendor
[UBER]  Gitolite GitHub mirror gitolite@code.uber.internal:github/wvanbergen/kazoo-go already exists
[UBER]  Rewrite github.com https://github.com/wvanbergen/kazoo-go to gitolite@code.uber.internal:github/wvanbergen/kazoo-go
[INFO]  --> Setting version for github.com/wvanbergen/kazoo-go to 0f768712ae6f76454f987c3356177e138df258f8.
[WARN]  Unable to set version on go.uber.org/yarpc/internal/errors to . Err: https://go.uber.org/yarpc/internal/errors Not Found
[WARN]  Unable to set version on go.uber.org/yarpc/internal/errors to . Err: https://go.uber.org/yarpc/internal/errors Not Found
[INFO]  --> Fetching updates for go.uber.org/thriftrw/internal/envelope/exception.
[WARN]  go.uber.org/thriftrw/internal/envelope/exception appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[WARN]  Unable to set version on go.uber.org/thriftrw/internal/envelope/exception to . Err: https://go.uber.org/thriftrw/internal/envelope/exception Not Found
[WARN]  Unable to set version on go.uber.org/thriftrw/protocol/binary to . Err: https://go.uber.org/thriftrw/protocol/binary Not Found
[WARN]  Unable to set version on go.uber.org/yarpc/internal/errors to . Err: https://go.uber.org/yarpc/internal/errors Not Found
[WARN]  Unable to set version on go.uber.org/yarpc/internal/errors to . Err: https://go.uber.org/yarpc/internal/errors Not Found
[WARN]  Unable to set version on go.uber.org/yarpc/internal/errors to . Err: https://go.uber.org/yarpc/internal/errors Not Found
[WARN]  Unable to set version on go.uber.org/yarpc/internal/errors to . Err: https://go.uber.org/yarpc/internal/errors Not Found
[INFO]  Fetching github.com/samuel/go-zookeeper/zk into /Users/ai/src/go/src/github.com/uber-go/uberfx/vendor
[UBER]  Gitolite GitHub mirror gitolite@code.uber.internal:github/samuel/go-zookeeper already exists
[UBER]  Rewrite github.com https://github.com/samuel/go-zookeeper to gitolite@code.uber.internal:github/samuel/go-zookeeper
[INFO]  --> Setting version for github.com/samuel/go-zookeeper to 4b20de542e40ed2b89d65ae195fc20a330919b92.
[INFO]  Found Godeps.json file in vendor/github.com/stretchr/testify
[INFO]  --> Parsing Godeps metadata...
[INFO]  Fetching github.com/pmezard/go-difflib/difflib into /Users/ai/src/go/src/github.com/uber-go/uberfx/vendor
[UBER]  Gitolite GitHub mirror gitolite@code.uber.internal:github/pmezard/go-difflib already exists
[UBER]  Rewrite github.com https://github.com/pmezard/go-difflib to gitolite@code.uber.internal:github/pmezard/go-difflib
[INFO]  --> Setting version for github.com/pmezard/go-difflib to 792786c7400a136282c1664665ae0a8db921c6c2.
[INFO]  Downloading dependencies. Please wait...
[INFO]  --> Fetching updates for go.uber.org/yarpc/encoding/json.
[INFO]  --> Fetching updates for go.uber.org/yarpc/examples/thrift/keyvalue/kv/service/keyvalue.
[WARN]  go.uber.org/yarpc/encoding/json appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[INFO]  --> Fetching updates for go.uber.org/yarpc/encoding/thrift.
[WARN]  go.uber.org/yarpc/examples/thrift/keyvalue/kv/service/keyvalue appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[INFO]  --> Fetching updates for go.uber.org/yarpc/transport/tchannel.
[WARN]  go.uber.org/yarpc/encoding/thrift appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[WARN]  go.uber.org/yarpc/transport/tchannel appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[INFO]  Setting references for remaining imports
[ERROR] Failed to set version on go.uber.org/yarpc/internal/meta to : https://go.uber.org/yarpc/internal/meta Not Found
[ERROR] Failed to set version on go.uber.org/yarpc/internal to : https://go.uber.org/yarpc/internal Not Found
[ERROR] Failed to set version on go.uber.org/yarpc/encoding/thrift/internal to : https://go.uber.org/yarpc/encoding/thrift/internal Not Found
[ERROR] Failed to set version on go.uber.org/yarpc/internal/interceptor to : https://go.uber.org/yarpc/internal/interceptor Not Found
[ERROR] Failed to set version on go.uber.org/yarpc/transport to : https://go.uber.org/yarpc/transport Not Found
[ERROR] Failed to set version on go.uber.org/thriftrw/internal/envelope/exception to : https://go.uber.org/thriftrw/internal/envelope/exception Not Found
[ERROR] Failed to set version on go.uber.org/yarpc/internal/errors to : https://go.uber.org/yarpc/internal/errors Not Found
[ERROR] Failed to set version on go.uber.org/thriftrw/protocol to : https://go.uber.org/thriftrw/protocol Not Found
[ERROR] Failed to set version on go.uber.org/thriftrw/envelope to : https://go.uber.org/thriftrw/envelope Not Found
[ERROR] Failed to set version on go.uber.org/yarpc/transport/internal to : https://go.uber.org/yarpc/transport/internal Not Found
[ERROR] Failed to set version on go.uber.org/yarpc/internal/sync to : https://go.uber.org/yarpc/internal/sync Not Found
[ERROR] Failed to set version on go.uber.org/yarpc/examples/thrift/keyvalue/kv to : https://go.uber.org/yarpc/examples/thrift/keyvalue/kv Not Found
[ERROR] Failed to set version on go.uber.org/thriftrw/protocol/binary to : https://go.uber.org/thriftrw/protocol/binary Not Found
[ERROR] Failed to set version on go.uber.org/yarpc/encoding/thrift to : https://go.uber.org/yarpc/encoding/thrift Not Found
[ERROR] Failed to set version on go.uber.org/yarpc/transport/tchannel/internal to : https://go.uber.org/yarpc/transport/tchannel/internal Not Found
[ERROR] Failed to set version on go.uber.org/thriftrw/wire to : https://go.uber.org/thriftrw/wire Not Found
[ERROR] Failed to set version on go.uber.org/yarpc/internal/filter to : https://go.uber.org/yarpc/internal/filter Not Found
[ERROR] Failed to set version on go.uber.org/yarpc/internal/encoding to : https://go.uber.org/yarpc/internal/encoding Not Found
[ERROR] Failed to set version on go.uber.org/yarpc/encoding/json to : https://go.uber.org/yarpc/encoding/json Not Found
[ERROR] Failed to set version on go.uber.org/yarpc/internal/baggage to : https://go.uber.org/yarpc/internal/baggage Not Found
[ERROR] Failed to set version on go.uber.org/yarpc/examples/thrift/keyvalue/kv/service/keyvalue to : https://go.uber.org/yarpc/examples/thrift/keyvalue/kv/service/keyvalue Not Found
[ERROR] Failed to set version on go.uber.org/yarpc/internal/request to : https://go.uber.org/yarpc/internal/request Not Found
[ERROR] Failed to set version on go.uber.org/yarpc/transport/tchannel to : https://go.uber.org/yarpc/transport/tchannel Not Found
[INFO]  Project relies on 56 dependencies.

@ascandella
Copy link
Author

ascandella commented Oct 1, 2016

And here's an example on a brand new project with a single import:

oober - master!pwd
/Users/ai/src/go/src/oober
oober - master! ❯ ls
glide.lock glide.yaml main.go    vendor
oober - master! ❯ cat main.go
package main

import (
    "fmt"

    "go.uber.org/yarpc"
)

func main() {
    fmt.Println(yarpc.NewHeaders())
}
oober - master! ❯ cat glide.lock
hash: dc62af14328dfbf1b4f94c8610cabdead36c82aa5eb000ed7cab536c19d55b8c
updated: 2016-10-01T11:45:41.362688065-07:00
imports:
- name: github.com/opentracing/opentracing-go
  version: 0c3154a3c2ce79d3271985848659870599dfb77c
  subpackages:
  - log
- name: go.uber.org/yarpc
  version: 8ecdb8768bc43c1ac64a02259335ab3b231fbbd9
- name: go.uber.org/yarpc/internal
  version: ""
- name: go.uber.org/yarpc/internal/baggage
  version: ""
- name: go.uber.org/yarpc/internal/errors
  version: ""
- name: go.uber.org/yarpc/internal/filter
  version: ""
- name: go.uber.org/yarpc/internal/interceptor
  version: ""
- name: go.uber.org/yarpc/internal/request
  version: ""
- name: go.uber.org/yarpc/internal/sync
  version: ""
- name: go.uber.org/yarpc/transport
  version: ""
- name: golang.org/x/net
  version: cd95c68ba21fc7ee16ee38cc420473e3d8c4afd8
  subpackages:
  - context
  - context/ctxhttp
testImports: []
oober - master! ❯ rm glide.lock
oober - master! ❯ glide install
[INFO]  Lock file (glide.lock) does not exist. Performing update.
[INFO]  Downloading dependencies. Please wait...
[INFO]  --> Fetching updates for go.uber.org/yarpc.
[INFO]  --> Detected semantic version. Setting version for go.uber.org/yarpc to v0.3.1.
[INFO]  Resolving imports
[INFO]  --> Fetching updates for github.com/opentracing/opentracing-go.
[INFO]  --> Detected semantic version. Setting version for github.com/opentracing/opentracing-go to v1.0.0.
[INFO]  --> Fetching updates for go.uber.org/yarpc/internal.
[WARN]  go.uber.org/yarpc/internal appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[WARN]  Unable to set version on go.uber.org/yarpc/internal to . Err: https://go.uber.org/yarpc/internal Not Found
[INFO]  --> Fetching updates for go.uber.org/yarpc/internal/baggage.
[WARN]  go.uber.org/yarpc/internal/baggage appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[WARN]  Unable to set version on go.uber.org/yarpc/internal/baggage to . Err: https://go.uber.org/yarpc/internal/baggage Not Found
[INFO]  --> Fetching updates for go.uber.org/yarpc/internal/filter.
[WARN]  go.uber.org/yarpc/internal/filter appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[WARN]  Unable to set version on go.uber.org/yarpc/internal/filter to . Err: https://go.uber.org/yarpc/internal/filter Not Found
[INFO]  --> Fetching updates for go.uber.org/yarpc/internal/interceptor.
[WARN]  go.uber.org/yarpc/internal/interceptor appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[WARN]  Unable to set version on go.uber.org/yarpc/internal/interceptor to . Err: https://go.uber.org/yarpc/internal/interceptor Not Found
[INFO]  --> Fetching updates for go.uber.org/yarpc/internal/request.
[WARN]  go.uber.org/yarpc/internal/request appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[WARN]  Unable to set version on go.uber.org/yarpc/internal/request to . Err: https://go.uber.org/yarpc/internal/request Not Found
[INFO]  --> Fetching updates for go.uber.org/yarpc/internal/sync.
[WARN]  go.uber.org/yarpc/internal/sync appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[WARN]  Unable to set version on go.uber.org/yarpc/internal/sync to . Err: https://go.uber.org/yarpc/internal/sync Not Found
[INFO]  --> Fetching updates for go.uber.org/yarpc/transport.
[WARN]  go.uber.org/yarpc/transport appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[WARN]  Unable to set version on go.uber.org/yarpc/transport to . Err: https://go.uber.org/yarpc/transport Not Found
[INFO]  --> Fetching updates for golang.org/x/net.
[INFO]  --> Setting version for golang.org/x/net to master.
[WARN]  Unable to set version on go.uber.org/yarpc/transport to . Err: https://go.uber.org/yarpc/transport Not Found
[WARN]  Unable to set version on go.uber.org/yarpc/transport to . Err: https://go.uber.org/yarpc/transport Not Found
[WARN]  Unable to set version on go.uber.org/yarpc/transport to . Err: https://go.uber.org/yarpc/transport Not Found
[INFO]  --> Fetching updates for go.uber.org/yarpc/internal/errors.
[WARN]  go.uber.org/yarpc/internal/errors appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[WARN]  Unable to set version on go.uber.org/yarpc/internal/errors to . Err: https://go.uber.org/yarpc/internal/errors Not Found
[WARN]  Unable to set version on go.uber.org/yarpc/transport to . Err: https://go.uber.org/yarpc/transport Not Found
[WARN]  Unable to set version on go.uber.org/yarpc/internal/errors to . Err: https://go.uber.org/yarpc/internal/errors Not Found
[WARN]  Unable to set version on go.uber.org/yarpc/internal/errors to . Err: https://go.uber.org/yarpc/internal/errors Not Found
[WARN]  Unable to set version on go.uber.org/yarpc/internal/errors to . Err: https://go.uber.org/yarpc/internal/errors Not Found
[WARN]  Unable to set version on go.uber.org/yarpc/internal/errors to . Err: https://go.uber.org/yarpc/internal/errors Not Found
[INFO]  Downloading dependencies. Please wait...
[INFO]  Setting references for remaining imports
[ERROR] Failed to set version on go.uber.org/yarpc/internal/filter to : https://go.uber.org/yarpc/internal/filter Not Found
[ERROR] Failed to set version on go.uber.org/yarpc/internal to : https://go.uber.org/yarpc/internal Not Found
[ERROR] Failed to set version on go.uber.org/yarpc/transport to : https://go.uber.org/yarpc/transport Not Found
[ERROR] Failed to set version on go.uber.org/yarpc/internal/errors to : https://go.uber.org/yarpc/internal/errors Not Found
[ERROR] Failed to set version on go.uber.org/yarpc/internal/request to : https://go.uber.org/yarpc/internal/request Not Found
[ERROR] Failed to set version on go.uber.org/yarpc/internal/interceptor to : https://go.uber.org/yarpc/internal/interceptor Not Found
[ERROR] Failed to set version on go.uber.org/yarpc/internal/baggage to : https://go.uber.org/yarpc/internal/baggage Not Found
[ERROR] Failed to set version on go.uber.org/yarpc/internal/sync to : https://go.uber.org/yarpc/internal/sync Not Found
[INFO]  Project relies on 11 dependencies.
An Error has occurred

Now you may be thinking "that's because you have a bad vendor directory". No, that's just because I already ran the command. Here is my deleting vendor and starting over.

oober - master! ❯ rm -rf vendor
oober - master! ❯ rm glide.lock
oober - master ❯ ls
glide.yaml main.go
oober - master ❯ glide up
[INFO]  Downloading dependencies. Please wait...
[INFO]  --> Fetching updates for go.uber.org/yarpc.
[UBER]  Gitolite GitHub mirror gitolite@code.uber.internal:github/yarpc/yarpc-go already exists
[UBER]  Rewrite github.com https://github.com/yarpc/yarpc-go to gitolite@code.uber.internal:github/yarpc/yarpc-go
[INFO]  --> Detected semantic version. Setting version for go.uber.org/yarpc to v0.3.1.
[INFO]  Resolving imports
[INFO]  Fetching github.com/opentracing/opentracing-go into /Users/ai/src/go/src/oober/vendor
[UBER]  Gitolite GitHub mirror gitolite@code.uber.internal:github/opentracing/opentracing-go already exists
[UBER]  Rewrite github.com https://github.com/opentracing/opentracing-go to gitolite@code.uber.internal:github/opentracing/opentracing-go
[INFO]  --> Detected semantic version. Setting version for github.com/opentracing/opentracing-go to v1.0.0.
[INFO]  --> Fetching updates for go.uber.org/yarpc/internal.
[WARN]  go.uber.org/yarpc/internal appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[WARN]  Unable to set version on go.uber.org/yarpc/internal to . Err: https://go.uber.org/yarpc/internal Not Found
[INFO]  --> Fetching updates for go.uber.org/yarpc/internal/baggage.
[WARN]  go.uber.org/yarpc/internal/baggage appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[WARN]  Unable to set version on go.uber.org/yarpc/internal/baggage to . Err: https://go.uber.org/yarpc/internal/baggage Not Found
[INFO]  --> Fetching updates for go.uber.org/yarpc/internal/filter.
[WARN]  go.uber.org/yarpc/internal/filter appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[WARN]  Unable to set version on go.uber.org/yarpc/internal/filter to . Err: https://go.uber.org/yarpc/internal/filter Not Found
[INFO]  --> Fetching updates for go.uber.org/yarpc/internal/interceptor.
[WARN]  go.uber.org/yarpc/internal/interceptor appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[WARN]  Unable to set version on go.uber.org/yarpc/internal/interceptor to . Err: https://go.uber.org/yarpc/internal/interceptor Not Found
[INFO]  --> Fetching updates for go.uber.org/yarpc/internal/request.
[WARN]  go.uber.org/yarpc/internal/request appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[WARN]  Unable to set version on go.uber.org/yarpc/internal/request to . Err: https://go.uber.org/yarpc/internal/request Not Found
[INFO]  --> Fetching updates for go.uber.org/yarpc/internal/sync.
[WARN]  go.uber.org/yarpc/internal/sync appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[WARN]  Unable to set version on go.uber.org/yarpc/internal/sync to . Err: https://go.uber.org/yarpc/internal/sync Not Found
[INFO]  --> Fetching updates for go.uber.org/yarpc/transport.
[WARN]  go.uber.org/yarpc/transport appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[WARN]  Unable to set version on go.uber.org/yarpc/transport to . Err: https://go.uber.org/yarpc/transport Not Found
[INFO]  Fetching golang.org/x/net/context into /Users/ai/src/go/src/oober/vendor
[UBER]  Rewrite golang.org https://golang.org/x/net to gitolite@code.uber.internal:googlesource/net
[INFO]  --> Setting version for golang.org/x/net to master.
[WARN]  Unable to set version on go.uber.org/yarpc/transport to . Err: https://go.uber.org/yarpc/transport Not Found
[WARN]  Unable to set version on go.uber.org/yarpc/transport to . Err: https://go.uber.org/yarpc/transport Not Found
[WARN]  Unable to set version on go.uber.org/yarpc/transport to . Err: https://go.uber.org/yarpc/transport Not Found
[INFO]  --> Fetching updates for go.uber.org/yarpc/internal/errors.
[WARN]  go.uber.org/yarpc/internal/errors appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[WARN]  Unable to set version on go.uber.org/yarpc/internal/errors to . Err: https://go.uber.org/yarpc/internal/errors Not Found
[WARN]  Unable to set version on go.uber.org/yarpc/transport to . Err: https://go.uber.org/yarpc/transport Not Found
[WARN]  Unable to set version on go.uber.org/yarpc/internal/errors to . Err: https://go.uber.org/yarpc/internal/errors Not Found
[WARN]  Unable to set version on go.uber.org/yarpc/internal/errors to . Err: https://go.uber.org/yarpc/internal/errors Not Found
[WARN]  Unable to set version on go.uber.org/yarpc/internal/errors to . Err: https://go.uber.org/yarpc/internal/errors Not Found
[WARN]  Unable to set version on go.uber.org/yarpc/internal/errors to . Err: https://go.uber.org/yarpc/internal/errors Not Found
[INFO]  Downloading dependencies. Please wait...
[INFO]  Setting references for remaining imports
[ERROR] Failed to set version on go.uber.org/yarpc/internal/sync to : https://go.uber.org/yarpc/internal/sync Not Found
[ERROR] Failed to set version on go.uber.org/yarpc/internal/errors to : https://go.uber.org/yarpc/internal/errors Not Found
[ERROR] Failed to set version on go.uber.org/yarpc/internal/filter to : https://go.uber.org/yarpc/internal/filter Not Found
[ERROR] Failed to set version on go.uber.org/yarpc/internal/interceptor to : https://go.uber.org/yarpc/internal/interceptor Not Found
[ERROR] Failed to set version on go.uber.org/yarpc/internal/request to : https://go.uber.org/yarpc/internal/request Not Found
[ERROR] Failed to set version on go.uber.org/yarpc/internal/baggage to : https://go.uber.org/yarpc/internal/baggage Not Found
[ERROR] Failed to set version on go.uber.org/yarpc/transport to : https://go.uber.org/yarpc/transport Not Found
[ERROR] Failed to set version on go.uber.org/yarpc/internal to : https://go.uber.org/yarpc/internal Not Found
[INFO]  Project relies on 11 dependencies.
An Error has occurred

@ascandella
Copy link
Author

cc @prashantv

@HelloGrayson
Copy link
Contributor

HelloGrayson commented Oct 1, 2016

In addition to working with Glib last night to fix uberfx via uber-go/fx#17, I just created a brand new project with go.uber.org/yarpc as a dep here:

https://github.com/breerly/brand-new-yarpc-project

This makes me think there is a problem with our internal fork of Glide.

If you don't want to be blocked on this, either try to use the latest non-Uber glide (0.12.2), or pin to our current recommended releases:

- package: github.com/yarpc/yarpc-go
   version: ~0.2
- package: github.com/thriftrw/thriftrw-go
   version: ~0.2

We announce new releases to our email list with a guide for upgrading between releases.

@ascandella
Copy link
Author

I just tested it. It's not related to our fork, but it is related to glide. v0.11.1 (internal or public) exhibits this issue. 0.12+ (internal or public) both work fine

https://gist.github.com/sectioneight/c440aa2411da62c432c74a6d53bde131

@ascandella
Copy link
Author

ascandella commented Oct 1, 2016

I'm not sure this is exactly closed, right? A lot of people are going to get caught up by this. Is there a workaround? Obviously people "should" be using the latest version of go-build/glide. but we need some way for people who run into this issue to discover the solution.

I can tell you from experience that sending an email to gophers@ is not sufficient, and we'll lose a massive amount of productivity if we don't think really hard about how to communicate this issue.

@HelloGrayson
Copy link
Contributor

@sectioneight cool

Wondering if there is a way to enforce at least >0.12 or blow up with an obvious message...

@HelloGrayson HelloGrayson reopened this Oct 1, 2016
@HelloGrayson HelloGrayson changed the title Unable to use go.uber.org/yarpc import w/ glide. Glide 0.11 doesn't work with go.uber.org Oct 1, 2016
@ascandella
Copy link
Author

Also I would like at least one more person to individually verify my results so we can say definitively that this issue is solved in new versions of Glide.

@HelloGrayson
Copy link
Contributor

HelloGrayson commented Oct 1, 2016

I have already ran into this issue - that's why I wanted glide 0.12 released internally. There is a phab ticket for that which I can get you offline.

I was planning on dealing with this with detailed instructions in our upgrade guide when we announce the release. Because you guys want to go on master, you're feeling the pain ahead of time.

@HelloGrayson
Copy link
Contributor

Creating an issue with Glide because it would be lovely, in addition to our release announcements and upgrade guide, to just enforce this with an obvious message:

Masterminds/glide#626

@prashantv
Copy link
Contributor

@breerly Regardless of whether there's a glide issue, there is definitely an issue with the vanity imports as well.

I've filed uber-go/sally#14 with more information. We should be returning the meta tags on not just the top level import, but all subpackages too,

$ curl -s go.uber.org/yarpc | head -10
<!DOCTYPE html>
<html>
    <head>
        <meta name="go-import" content="go.uber.org/yarpc git https://github.com/yarpc/yarpc-go">
        <meta name="go-source" content="go.uber.org/yarpc https://github.com/yarpc/yarpc-go https://github.com/yarpc/yarpc-go/tree/master{/dir} https://github.com/yarpc/yarpc-go/tree/master{/dir}/{file}#L{line}">
        <meta http-equiv="refresh" content="0; url=https://godoc.org/go.uber.org/yarpc">
    </head>
    <body>
        Nothing to see here. Please <a href="https://godoc.org/go.uber.org/yarpc">move along</a>.
    </body>

$ curl -s go.uber.org/yarpc/transport | head -10
<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8">
    <meta http-equiv="Content-Security-Policy" content="default-src 'none'; style-src 'unsafe-inline'; img-src data:; connect-src 'self'">
    <title>Page not found &middot; GitHub Pages</title>
    <style type="text/css" media="screen">
      body {
        background-color: #f1f1f1;
        margin: 0;

@HelloGrayson
Copy link
Contributor

@prashantv responded, let's have that conversation on that issue, since it's unrelated to this Glide 0.11 issue.

@abhinav
Copy link
Contributor

abhinav commented Dec 28, 2016

No longer an issue. Sally supports this now.

@abhinav abhinav closed this as completed Dec 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants