Skip to content
This repository has been archived by the owner. It is now read-only.

Where did golint go? #397

Closed
technoweenie opened this issue Apr 23, 2018 · 24 comments
Closed

Where did golint go? #397

technoweenie opened this issue Apr 23, 2018 · 24 comments

Comments

@technoweenie
Copy link

@technoweenie technoweenie commented Apr 23, 2018

$ go get -u golang.org/x/lint/golint
package golang.org/x/lint/golint: unrecognized import path "golang.org/x/lint/golint" (parse https://golang.org/x/lint/golint?go-get=1: no go-import meta tags ())

Seeing this locally and from our ci server.

@holladay-io
Copy link

@holladay-io holladay-io commented Apr 23, 2018

With additional verbosity:

go get -v -u golang.org/x/lint/golint
Fetching https://golang.org/x/lint/golint?go-get=1
Parsing meta tags from https://golang.org/x/lint/golint?go-get=1 (status code 404)
package golang.org/x/lint/golint: unrecognized import path "golang.org/x/lint/golint" (parse https://golang.org/x/lint/golint?go-get=1: no go-import meta tags ())

I believe it's related to https://golang.org/x/lint/golint returning 404 at the moment.

@holladay-io
Copy link

@holladay-io holladay-io commented Apr 23, 2018

I was able to work around this issue by cloning the repository manually:

mkdir -p $GOPATH/src/golang.org/x \
  && git clone https://github.com/golang/lint.git $GOPATH/src/golang.org/x/lint \
  && go get -u golang.org/x/lint/golint
northtyphoon pushed a commit to Azure/acr-builder that referenced this issue Apr 24, 2018
northtyphoon pushed a commit to Azure/acr-builder that referenced this issue Apr 24, 2018
Bin Du
* workaround golint missing issue
golang/lint#397
@dseevr
Copy link

@dseevr dseevr commented Apr 24, 2018

Consider adding --depth 1 on that git clone command, too. Shallow clone is sufficient to get around the issue

carolynvs added a commit to carolynvs/service-catalog that referenced this issue Apr 24, 2018
golint is not returning the metadata required by go get at the moment
and it's causing our build to fail. This installs golint without go get
until it's fixed.

golang/lint#397
carolynvs added a commit to carolynvs/service-catalog that referenced this issue Apr 24, 2018
golint is not returning the metadata required by go get at the moment
and it's causing our build to fail. This installs golint without go get
until it's fixed.

golang/lint#397
sgnn7 added a commit to cyberark/secretless-broker that referenced this issue Aug 22, 2018
Upstream published go module for golint had issues and since we don't
want to hardcode this in the go.mod file, we now specify the override in
the style_checker itself.

golang/lint#397
sgnn7 added a commit to cyberark/secretless-broker that referenced this issue Aug 23, 2018
Upstream published go module for golint had issues and since we don't
want to hardcode this in the go.mod file, we now specify the override in
the style_checker itself.

golang/lint#397
sgnn7 added a commit to cyberark/secretless-broker that referenced this issue Aug 27, 2018
Upstream published go module for golint had issues and since we don't
want to hardcode this in the go.mod file, we now specify the override in
the style_checker itself.

golang/lint#397
acofer added a commit to skuid/spec that referenced this issue Oct 12, 2018
@mvpmvh
Copy link

@mvpmvh mvpmvh commented Oct 14, 2018

I didn't fully understand the thread. This issue is closed. Is the "solution" to do a manual git clone now? Is there no more go get for this dependency?

@dmitshur
Copy link
Contributor

@dmitshur dmitshur commented Oct 14, 2018

@mvpmvh The issue is closed because it has been resolved. You can install golint via go get -u golang.org/x/lint/golint, as described in the README.

If there’s a new problem, please open a new issue.

rfranzke added a commit to gardener/gardener that referenced this issue Oct 14, 2018
lewismarshall pushed a commit to UKHomeOffice/kd that referenced this issue Oct 15, 2018
Lewis Marshall
lewismarshall added a commit to UKHomeOffice/kd that referenced this issue Oct 15, 2018
rfranzke added a commit to gardener/gardener that referenced this issue Oct 17, 2018
rustycl0ck added a commit to rustycl0ck/ansible-role-k8s-devkit that referenced this issue Oct 17, 2018
kashav added a commit to kashav/fsql that referenced this issue Oct 20, 2018
DewaldV added a commit to uswitch/kd that referenced this issue Feb 7, 2019
richardyuwen pushed a commit to richardyuwen/gardener that referenced this issue Mar 26, 2019
sschuberth added a commit to package-url/packageurl-go that referenced this issue Aug 27, 2019
As reported by the error in the CI build. Also see

golang/lint#397

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
sschuberth added a commit to package-url/packageurl-go that referenced this issue Aug 27, 2019
As reported by the error in the CI build. Also see

golang/lint#397

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
ashcrow added a commit to package-url/packageurl-go that referenced this issue Aug 28, 2019
As reported by the error in the CI build. Also see

golang/lint#397

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
joshbetz added a commit to joshbetz/config that referenced this issue Aug 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.