Git Product home page Git Product logo

Comments (5)

bradenbest avatar bradenbest commented on May 23, 2024 1

I would actually argue that it's important to keep the versions up-to-date in development as well.

Hear me out...

What if you have to make a rollback, for example? It would be much easier to roll back from v0.4.46 to v0.4.37, than scroll through countless commits that all have the version number v0.4. What if you're not the only developer on the project? How are you going to tell the other guys which commit to roll back to when there are forty-six different versions all named v0.4 in this hypothetical scenario? It may seem silly, but when you're testing and editing, and you aren't sure which exact version you're using, it becomes a real pain in the ass. Whereas if you are in a commit titled v0.4.37, you know you're in the right one without having to compare commit signatures and double-check every last detail. Sure, git will probably handle this, making it a not-very-likely scenario, but the extra touch surely makes things easier, yeah?

And if you're wanting to distinguish between development and release versions, it's enough to just add "-release" to the end, e.g. v0.4-release, or to put "-dev" on development versions, i.e. v0.4.37-rc1, v0.4.46-dev, etc. Then your release can be either v0.4.37 or v0.4.

I mean, at the end of the day, it's your project; I'm just trying to suggest good practices. The way I see it, if you're willing to go as far as unit-testing, CI, and generous use of branches, what do you have to lose by putting that extra bit of diligence in your versioning?

from mal.

ryukinix avatar ryukinix commented on May 23, 2024

Sucks. I forgot a thing. I'll fix that now.

from mal.

ryukinix avatar ryukinix commented on May 23, 2024

Take a look into #91 and try update to the last version.

from mal.

bradenbest avatar bradenbest commented on May 23, 2024

Nice! I will never understand continuous-integration, but that was a quick fix. I notice you're forgetting to increment your patch number as per semver, though, which is making it hard to tell if I actually got the new version installed without testing the fix myself. For bugfixes and really minor changes, the patch number should be incremented, e.g. v0.4.1.

Just something to make it easier to differentiate, and provide some reassurance that the user didn't screw up the installation.

from mal.

ryukinix avatar ryukinix commented on May 23, 2024

Yes, actually we bunch that in the past a new version each merge on the master, taking the development first on dev branch, testing it a lot, get new stuff and publish a new version on master attached to a new git-tag/github-release.

For some historical reason, we dropped that and semantic versioning here is just used as OFFICIAL release as you can look at https://github.com/ryukinix/mal/releases

In another words, you are using a not official version, not official release, just by conveniance dropped on the master branch for easy install on development. For all sake usage, you should just get a release listed in the link above.

v0.4.0 was not released yet

from mal.

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.