Hi,

we are using Azure Devops server
Version Azure DevOps Server 2020 Update 1.1
on premise.

The server is not accessible from the internet.
The web server uses integrated authentication for access.

Browsing a git repository from a web browser looks like this:
https://servername.yada.yada/tfs/CompanyCollection/_git/aconcreteProject

I can successfully use git with ssh enabled. For the above aconcreteProject
git remote -v says:

origin
 ssh://servername.yada.yada:22/tfs/CompanyCollection/aconcreteProject/_git/
aconcreteProject   (fetch)

push and fetch work without issues.

When I run

go install
servername.yada.yada/tfs/CompanyCollection/_git/aconcreteProject@latest

it responds with

go: servername.yada.yada/tfs/CompanyCollection/_git/aconcreteProject@latest:
unrecognized import path "
servername.yada.yada/tfs/CompanyCollection/_git/aconcreteProject  ":
reading
https://servername.yada.yada/tfs/CompanyCollection/_git/aconcreteProject?go-get=1:
401 Unauthorized

I have not yet setup environment variable GOPRIVATE
I have not yet setup insteadOf in .gitignore (to actually use ssh instead
of https)

Will I be able to use Devops Server 2020 Update 1.1 to go get / go install
packages?
What do I have to set GOPRIVATE to, if my intention is to finally arrive at
an import prefix of
servername.yada.yada//tfs/CompanyCollection/aconcreteProject
(do I have to hint go get to use git and append .git?)

Thanks!

-- 
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 golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAH4isRwzKhBHiwCA965TdcgzfQDgkp%2BEc5RpANiwQdk4OiR5EA%40mail.gmail.com.

Reply via email to