I've fallen into a quite hideous trap:
after upgrading google.golang.org/grpc, my app compiled, but paniced with
double "/debug/requests" handle registration in net/http.
This is caused by double import of golang.org/x/net/trace, two different
versions: one is in google.golang.org/grpc, the other is a mystery...
With the help of `go list -f {{.Deps}}` I've found that camlistore.org
vendored golang.org/x/net/trace!
This is reasonable, as Camlistore is a huge application, but I've just
imported parts of it (camlistore.org/pkg/client).
Why is the src/camlistore.org/vendor directory used when importing from
camlistore.org/pkg/client ? (Go 1.8rc3)
AFAIK the idiomatic way is to NOT vendor in libraries, only in the
application - Camlistore is both, at the moment...
What's your suggestion?
Shall we reorganize camlistore.org? (move vendor/ under
camlistore.org/cmd/vendor?)
Shall we modify go building to ignore vendor under subtrees (non-main
packages)?
Thanks,
Tamás Gulácsi
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.