-
Notifications
You must be signed in to change notification settings - Fork 18.3k
Closed
Labels
FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.WaitingForInfoIssue is not actionable because of missing required information, which needs to be provided.Issue is not actionable because of missing required information, which needs to be provided.
Milestone
Description
What version of Go are you using (go version
)?
$ go version go version go1.14.9 linux/amd64
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env
)?
go env
Output
$ go env GO111MODULE="on" GOARCH="amd64" GOBIN="" GOCACHE="/home/ubuntu/.cache/go-build" GOENV="/home/ubuntu/.config/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOINSECURE="" GONOPROXY="bitbucket.org/project-name/second-repo" GONOSUMDB="bitbucket.org/project-name/second-repo" GOOS="linux" GOPATH="/home/ubuntu/go" GOPRIVATE="bitbucket.org/project-name/second-repo" GOPROXY="https://proxy.golang.org,direct" GOROOT="/usr/local/go" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64" GCCGO="gccgo" AR="ar" CC="gcc" CXX="g++" CGO_ENABLED="1" GOMOD="/home/ubuntu/repo-name/go.mod" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build436192813=/tmp/go-build -gno-record-gcc-switches"
What did you do?
I have added private key in bitbucket , and can clone using git@bitbucket.org:project-name/repo-name.git
added git config --global url."git@bitbucket.org:project-name".insteadOf "https://bitbucket.org/project-name"
also Added GOPRIVATE=bitbucket.org/project-name/second-repo
What did you expect to see?
I need to pull library from second repositary
What did you see instead?
go get bitbucket.org/project-name/second-repo: reading https://api.bitbucket.org/2.0/repositories/project-name/second-repo?fields=scm: 403 Forbidden
server response: Access denied. You must have write or admin access.
muhaarif and princesanjivy
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.WaitingForInfoIssue is not actionable because of missing required information, which needs to be provided.Issue is not actionable because of missing required information, which needs to be provided.