[GODRIVER-120] Alternative Import Path Created: 08/Nov/17  Updated: 28/Oct/23  Resolved: 22/Feb/19

Status: Closed
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0.0-rc1

Type: Improvement Priority: Major - P3
Reporter: Kristofer Brandow (Inactive) Assignee: Kristofer Brandow (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related

 Description   

Currently the Go driver's import path is github.com/10gen/mongo-go-driver. While we currently use GitHub as the canonical repository we might not want to keep it that way forever. Go supports remote import paths that aren't known source code hosting services, in fact mgo currently uses one (gopkg.in).

This raises two questions:

  • Should we create an alternative import for the new Go driver?
  • If so, what should that import path be?

For reference, the rules around go gettable import paths are here: https://golang.org/cmd/go/#hdr-Remote_import_paths



 Comments   
Comment by Githook User [ 22/Feb/19 ]

Author:

{'name': 'Kris Brandow', 'email': 'kris@mongodb.com', 'username': 'skriptble'}

Message: Update import path to go.mongodb.org/mongo-driver

GODRIVER-120

Change-Id: I59f3064384777bcde0816d2da2d1621144824e87
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/b07d0220ac446e807f73bccce17d32db10efb8a1

Comment by Githook User [ 22/Feb/19 ]

Author:

{'name': 'Kris Brandow', 'username': 'skriptble', 'email': 'kris@mongodb.com'}

Message: Update import path to go.mongodb.org/mongo-driver

GODRIVER-120

Change-Id: I372b191787e53f09852faf031677715adc680232
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/c74e64f6d28b7a82523f52dd5cd2f26d944abf66

Comment by Kristofer Brandow (Inactive) [ 12/Feb/19 ]

Code Review: https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/444268.

Comment by Scott L'Hommedieu (Inactive) [ 05/Feb/19 ]

filed TECHOPS-6671 to get some help

Comment by Ian Whalen (Inactive) [ 04/Feb/19 ]

scott.lhommedieu to work with someone to get us a website.

Comment by Kristofer Brandow (Inactive) [ 10/Jan/19 ]

I looked it up and we do not add a v1 to the import path for the initial version of the driver, but for v2 we will need to add it. For the import path, I think drivers.mongodb.org/go would be a good import path. We could also put GoDoc style documentation for the latest release there.

I also wouldn't mind if we flipped it around and did go.mongodb.org/driver, which could open the door to go.mongodb.org being the place where we put all of our open source Go libraries.

Comment by Kristofer Brandow (Inactive) [ 10/Jan/19 ]

Go reference: https://golang.org/cmd/go/#hdr-Remote_import_paths

Comment by Ian Whalen (Inactive) [ 10/Jan/19 ]

kris.brandow to propose a few specific paths.

Comment by Ian Whalen (Inactive) [ 10/Jan/19 ]

To do the bare minimum here we need someone to give us a redirect. just need one html file on the desired domain somewhere.

scott.lhommedieu to coordinate with docs to get that work done.

Comment by David Golden [ 13/Dec/17 ]

I'm deferring this to the beta release cycle.

Generated at Thu Feb 08 08:33:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.