Coder Social home page Coder Social logo

Comments (15)

Noksa avatar Noksa commented on May 14, 2024 1

Haha, sorry for that :)
And thanks a lot for your patience and help. Now it works!
I hope it was the last issue from me.

from ergo.

halturin avatar halturin commented on May 14, 2024

It seems the recent change caused this issue (Golang doc says we should read the channel if Stop() returns 'false', but it freezes in a certain case). Golang got a new timer behavior in the latest releases. It a bit confused me. Im going to fix it right away.

from ergo.

halturin avatar halturin commented on May 14, 2024

fixed and republished v1.2.2

from ergo.

Noksa avatar Noksa commented on May 14, 2024

Oh thanks, you are so fast :)

from ergo.

halturin avatar halturin commented on May 14, 2024

just warming up before the work πŸ˜„

from ergo.

Noksa avatar Noksa commented on May 14, 2024

I tried to remove the entire ~/go/pkg/mod directory and used go clean -modcache.
But I can't download the last version which was republished.
I even tried go get github.com/halturin/ergo@92cfd8f212cfef9ef2a9eb68dabbb7132bdb6f3a but still have the old version.

Do you know how I can download republished version?

PS: Dependencies in golang are evil...

from ergo.

halturin avatar halturin commented on May 14, 2024

It's weird. v1.2.2 points to 92cfd8f commit which is the latest one https://github.com/halturin/ergo/releases/tag/v1.2.2

Try to check out here $GOPATH/src/github.com

ps: might be it wasn't a good idea to update the release tag.

from ergo.

Noksa avatar Noksa commented on May 14, 2024

Yeah, I can't figure out why golang still downloads previous version even if I use the latest commit's hash

from ergo.

halturin avatar halturin commented on May 14, 2024

I think i know. Along with go.mod there is go.sum which is points to the outdated commit. remove this file. it should be autogenerated.

from ergo.

Noksa avatar Noksa commented on May 14, 2024

It didn't help :(

I also tried it within a docker container (so it is like a fresh install) and got the same behavior. It's really weird

from ergo.

Noksa avatar Noksa commented on May 14, 2024

I found some info about republishing: https://golang.org/doc/modules/publishing

Note: Don't change a tagged version of a module after publishing it. 
For developers using the module, Go tools authenticate a downloaded module against the first downloaded copy. 
If the two differ, Go tools will return a security error. 
Instead of changing the code for a previously published version, publish a new version.

from ergo.

halturin avatar halturin commented on May 14, 2024

Just created a new tag - v1.2.2.1. Hope it fixes this problem.

from ergo.

Noksa avatar Noksa commented on May 14, 2024

I think no πŸ˜„
Golang uses https://semver.org/ to version modules.
This version is incorrect and golang can't use it :(

from ergo.

halturin avatar halturin commented on May 14, 2024

what a beautiful day :). created another one - v1.2.3.

from ergo.

halturin avatar halturin commented on May 14, 2024

It's ok; it was my fault. I should have paid more attention making the new release. Thanks for your reports. They make 'ergo' stable and more solid.

from ergo.

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.