GithubHelp home page GithubHelp logo

Missing "package" about go-package-store HOT 8 CLOSED

shurcool avatar shurcool commented on August 18, 2024
Missing "package"

from go-package-store.

Comments (8)

dmitshur avatar dmitshur commented on August 18, 2024

Hi, please try the go get -u github.com/shurcooL/Go-Package-Store command again, it should work.

I think it's a bug in go get -u where if package import paths change at the same time as packages are removed, it reports a problem incorrectly. I'll try to get it reported and fixed if so.

On a stylistic note, "gist7519227" is a rather meaningless name for a package, and that huge list of external gist "packages" creates exactly the brittleness seen here.

I agree about the name being poor, and I've been working on improving that, which is precisely why this happened. So it would actually be fine if I hadn't done anything. But I think it's worth improving the package names. You can see shurcooL/go@a9d7bb9 where I refactored and removed many of those low quality packages. Go Package Store still works after the refactor, so this is just a minor go get -u issue.

Let me know if running go get -u a second time does not fix it.

from go-package-store.

dmitshur avatar dmitshur commented on August 18, 2024

Also, the Travis build is passing, suggesting that it should work fine.

from go-package-store.

andrewslotin avatar andrewslotin commented on August 18, 2024

Hi!

I just tried to update my Go-Package-Store and got the same issue as @sethwklein, plus a similar error about github.com/shurcooL/go/gists/gist5286084 and I can confirm that retry helps. I assume that the problem is in $GOPATH/pkg/.../github.com/shurcooL/Go-Package-Store/presenter.a that left from a previous installation.

from go-package-store.

sethwklein avatar sethwklein commented on August 18, 2024

I retried now and it worked.

from go-package-store.

dmitshur avatar dmitshur commented on August 18, 2024

Thanks for confirming.

I will try to make a smaller reproducible case and submit/find a bug report for this go get issue and try to get it fixed. I plan to do more refactoring and package renaming, and I don't want it to keep happening for users.

from go-package-store.

dmitshur avatar dmitshur commented on August 18, 2024

By the way, @sethwklein, is there a reason you didn't use Go Package Store to update Go Package Store?

from go-package-store.

sethwklein avatar sethwklein commented on August 18, 2024

@shurcooL yes, I encountered the error while attempting to install Go Package Store.

from go-package-store.

dmitshur avatar dmitshur commented on August 18, 2024

I will try to make a smaller reproducible case and submit/find a bug report for this go get issue and try to get it fixed. I plan to do more refactoring and package renaming, and I don't want it to keep happening for users.

I've done so in golang/go#9224.

from go-package-store.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.