Code Monkey home page Code Monkey logo

Comments (10)

pilhuhn avatar pilhuhn commented on July 26, 2024

This needs to go in to 0.2.2 and 0.3

from hawkular-client-ruby.

jkremser avatar jkremser commented on July 26, 2024

Fix for 0.2.x is in the 0.2.x branch and fix for 0.3.0 is addressed by PR #55

from hawkular-client-ruby.

abonas avatar abonas commented on July 26, 2024

@pilhuhn @Jiri-Kremser could you please explain the various versions/branches that you are managing for the gem? why is it not just released sequentially from the gem's master?

from hawkular-client-ruby.

pilhuhn avatar pilhuhn commented on July 26, 2024

from hawkular-client-ruby.

abonas avatar abonas commented on July 26, 2024

@pilhuhn afaik for incompatible changes, there's a need for a major version change.
e.g. X.Y.Z -> the X has to change.
please see here:
http://guides.rubygems.org/patterns/#semantic-versioning

from hawkular-client-ruby.

jkremser avatar jkremser commented on July 26, 2024

@abonas sure, we try to be compliant with the sem-ver. But we needed to fix the issue also for the pre 0.2.x versions. While master was already on 0.3.0.

I was wondering if this is a good thing to have the version set to 0.3.0 even though the 0.3.0 hasn't been released yet. So it's like 0.3.0-SNAPSHOT from maven rather than real 0.3.0

from hawkular-client-ruby.

abonas avatar abonas commented on July 26, 2024

Where do you want to set the version to 0.3.0? on master? from my experience - less common.
typically you would have several commits merged to master, then change the version and immediately release the gem. btw I hope you are releasing by (just faster than doing that via gem commands)
rake build & rake release

from hawkular-client-ruby.

abonas avatar abonas commented on July 26, 2024

and also, if the planned 0.3.0 is backwards incompatible, then it should be something like 1.0 and not 0.3.0.

from hawkular-client-ruby.

jkremser avatar jkremser commented on July 26, 2024

Where do you want to set the version to 0.3.0? on master? from my experience - less common.

cool, I like it more, but when I started working on hawkular-client-ruby the first was the case, so I used the same methodology.

and also, if the planned 0.3.0 is backwards incompatible, then it should be something like 1.0 and not 0.3.0.

Well, that's questionable, because the way semantic versioning works in Ruby is ... ehm, "special" :) Because it doesn't work the same way as commonly used http://semver.org in 1 particular case.

0.y.z

Ruby says the every breaking change should enforce the major++.

But according the semver.org:
Major version zero (0.y.z) is for initial development. Anything may change at any time. The public API should not be considered stable.
http://semver.org/#spec-item-4

So it depends if we want to use Ruby semantic versioning, or the "semver.org" semantic versioning :]

btw. Once the 1.0.0 is out, it should be the same.

from hawkular-client-ruby.

abonas avatar abonas commented on July 26, 2024

So it depends if we want to use Ruby semantic versioning, or the "semver.org" semantic versioning :]

btw. Once the 1.0.0 is out, it should be the same.

imo since this is a Ruby gem, it lives in "Ruby land" and is published on rubygems, the Ruby gem versioning rules should be applied. Understanding its versioning by other Ruby developers will be most likely done by Ruby ver rules and not other rules.

from hawkular-client-ruby.

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.