Git Product home page Git Product logo

Comments (4)

Vladar4 avatar Vladar4 commented on September 13, 2024

So how do I suppose to refer to the latest version of the sdl2_nim then if not with #head?

Changing ng2 nimble file each time I release a new bugfix for the sdl2_nim seems highly inefficient.

from nimgame2.

c-blake avatar c-blake commented on September 13, 2024

I sympathize with you not wanting to have frequent z releases in sdl2_nim-x.y.z, but since -- once installed -- nimble never updates an foo-#head install according to the nimble maintainers, this feature is not achieving what you actually want. Your end users need to always rm -rf .nimble/pkgs/sdl_nim-#head before installing nimgame2 (or anything else that depends on sdl2_nim@#head). If they don't they could be stuck in the distant past, and I think that is not common knowledge among nimble users. So, I think at least with the current nimble frequent z releases is your best bet. Tagging @genotrance for his recommendation. I was personally stunned that foo-#head is never updated as this is almost exactly the opposite of what is useful/expected (though it might become an expense end users would complain about).

from nimgame2.

genotrance avatar genotrance commented on September 13, 2024

See nim-lang/nimble#318. Nimble doesn't have lock files yet though an implementation is in the [works (https://github.com/nim-lang/nimble/issues/127). But who knows when that 5k diff will get merged.

Meanwhile, note that nimgame2 is also a library so it's lock file, if you decide to create one, will only apply to its tests, not to an end user who would need create their own lock file as well.

Nimble already installs the latest version of a package even if the required version is now old. #head just keeps your users stuck to one in the past.

from nimgame2.

Vladar4 avatar Vladar4 commented on September 13, 2024

Yeah, that's kinda counter-intuitive behavior.
I'll keep this open for now, will implement in the upcoming release.

from nimgame2.

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.