Fresh Install and Mongo Driver
Dell Customer Communication
Hi all – I’m getting the GO repos for EdgeX installed on my machine, in particular so I can look at the single repo Fede created. In the process, I need to install the dependent packages and I am having an issue with the core-domain-go repo because of the following dependency:
The gopkg.in link isn’t even resolving anymore when I use glide so after some digging, I found that this is sourced in the following unmaintained project:
I thought I would just install this package but then I found that the owner merged in other dependencies from his mgo.v2-unstable branch, which I do not want.
auth.go:37:2: cannot find package "gopkg.in/mgo.v2-unstable/bson" in any of:
C:\Go\src\gopkg.in\mgo.v2-unstable\bson (from $GOROOT)
C:\Users\Trevor_Conn\go\src\gopkg.in\mgo.v2-unstable\bson (from $GOPATH)
auth.go:38:2: cannot find package "gopkg.in/mgo.v2-unstable/internal/scram" in any of:
C:\Go\src\gopkg.in\mgo.v2-unstable\internal\scram (from $GOROOT)
C:\Users\Trevor_Conn\go\src\gopkg.in\mgo.v2-unstable\internal\scram (from $GOPATH)
My question for the group is should we investigate an updated or new package for this requirement? There are several alternatives at the bottom of the old repo’s ReadMe, the closest being the following fork:
Since my environment is brand new, I could work on this and see if it’s viable unless anyone has an alternate solution.
Solutions Architect, Solution Selling
Dell | DCSG
Round Rock, TX USA
I can access the gopkg.in url and glide downloaded the package. Maybe there were some network issues. But anyway, we should investigate some of these alternatives to replace the package as nothing good can come from using an unmaintained package.
On 23/01/18 17:29, Trevor.Conn@... wrote: