Skip to content
This repository has been archived by the owner on May 9, 2021. It is now read-only.

New import path breaks functionality #415

Closed
gerbenjacobs opened this issue Oct 11, 2018 · 11 comments · Fixed by kubernetes/kompose#1073
Closed

New import path breaks functionality #415

gerbenjacobs opened this issue Oct 11, 2018 · 11 comments · Fixed by kubernetes/kompose#1073

Comments

@gerbenjacobs
Copy link

So the changes from this commit breaks functionality for one of my projects:

package github.com/golang/lint/golint: code in directory /go/src/github.com/golang/lint/golint expects import "golang.org/x/lint/golint"

Are we supposed to use the path golang.org/x/lint/golint?

@dgryski
Copy link

dgryski commented Oct 11, 2018

Yes. The official path was was updated back in February: ead987a .

This patch just enforces it.

nathan-jenan-rancher added a commit to nathan-jenan-rancher/kontainer-engine that referenced this issue Oct 11, 2018
nathan-jenan-rancher added a commit to nathan-jenan-rancher/kontainer-engine that referenced this issue Oct 11, 2018
nixpanic added a commit to nixpanic/external-storage that referenced this issue Oct 11, 2018
Travis currently fails with this error:

    +go get -u github.com/golang/lint/golint
    package github.com/golang/lint/golint: code in directory /home/travis/gopath/src/github.com/golang/lint/golint expects import "golang.org/x/lint/golint"

See-also: golang/lint#415
nixpanic added a commit to nixpanic/external-storage that referenced this issue Oct 11, 2018
Travis currently fails with this error:

    +go get -u github.com/golang/lint/golint
    package github.com/golang/lint/golint: code in directory /home/travis/gopath/src/github.com/golang/lint/golint expects import "golang.org/x/lint/golint"

It seems 'github.com/golang/lint/golint' is the old path, and now
'golang.org/x/lint/golint' should be used.

See-also: golang/lint#415
nathan-jenan-rancher added a commit to nathan-jenan-rancher/kontainer-engine that referenced this issue Oct 11, 2018
cjellick pushed a commit to rancher/kontainer-engine that referenced this issue Oct 11, 2018
This was referenced Oct 12, 2018
andybons referenced this issue Oct 12, 2018
Change-Id: I3062f23e143916f0c87ec0a043f0682b8c01612a
Reviewed-on: https://go-review.googlesource.com/c/141597
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
agrahamlincoln pushed a commit to agrahamlincoln/cortex that referenced this issue Oct 15, 2018
See: golang/lint#415

Signed-off-by: Graham Rounds <graham@platform9.com>
ivan-section-io added a commit to ivan-section-io/qdisc that referenced this issue Apr 30, 2019
matthewhartstonge added a commit to matthewhartstonge/gaurun-client that referenced this issue May 9, 2019
tadaskay added a commit to mysteriumnetwork/node that referenced this issue May 20, 2019
tadaskay added a commit to mysteriumnetwork/node that referenced this issue May 21, 2019
oceyral pushed a commit to oceyral/authz that referenced this issue Jun 27, 2019
Update as per official golang lint changes: golang/lint#415
liron-l pushed a commit to twistlock/authz that referenced this issue Jun 27, 2019
Update as per official golang lint changes: golang/lint#415
@laoshaw
Copy link

laoshaw commented Jul 13, 2019

is this fixed? using 1.13beta1 and did "go get -u github.com/golang/lint/golint" and still see this

@andybons
Copy link
Member

@laoshaw that import path won’t work anymore. The correct invocation is

go get -u golang.org/x/lint/golint

philkuz added a commit to philkuz/arcanist that referenced this issue Jul 16, 2019
Old path no longer works and throws a missing package error. 
See [this issue](golang/lint#415).
philkuz added a commit to philkuz/arcanist that referenced this issue Jul 16, 2019
Go updated the path for the linter, broke the old path for linter. [This issue](golang/lint#415) confirms the change.
marksliva pushed a commit to marksliva/gpupgrade that referenced this issue Sep 5, 2019
Update the lint dependency to one that works.
golang/lint#415
ankon added a commit to Collaborne/ingress that referenced this issue Nov 19, 2019
While there: Update the golint reference to 'golang.org/x/lint/golint' as per golang/lint#415.
petemoore added a commit to taskcluster/taskcluster that referenced this issue Feb 6, 2020
mojozinc pushed a commit to mojozinc/jsonui that referenced this issue Feb 18, 2020
mojozinc pushed a commit to mojozinc/jsonui that referenced this issue Feb 18, 2020
ablarry pushed a commit to ablarry/golang-codebuild-aws that referenced this issue Aug 5, 2020
juamedgod pushed a commit to juamedgod/bcrypt-cli that referenced this issue Mar 25, 2021
Ref: golang/lint#415

Also upgrade Go version in Dockerfile
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants