How can we improve Azure DevOps?

Add Golang support to VSTS Git

Over the past few years we at Yammer have been adopting Golang into our DevOps story and have found tremendous results. Previously we had been hosting all of our codebase on an internal Github Enterprise server. Now, however, we are migrating all of our code base and process up to Visual Studio Team Services.

We ran into a snag though involving Golang imports. Full details on the issue can be found here: http://ppanyukov.github.io/2017/02/01/golang-with-vsts-repos.html

The short of it is that the URL's for talking to repositories in VSTS are either unparsable by Golang (the Git SSH paths) or require embedded authentication (using Git over HTTPS). These two methods of retrieving source code break internal Git tools like go get and go install.

Our current workaround is to use Git to checkout our dependencies into their properly namespaced paths in the GOPATH and from there use vendoring.

However it would be nice for VSTS to support Golang imports natively.

51 votes
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)

    We’ll send you updates on this idea

    Kyle Gordon shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    2 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base