GithubHelp home page GithubHelp logo

Comments (4)

mbryzek avatar mbryzek commented on August 22, 2024

I think you're right - but I'm a bit torn on this given how useful this is in development. Maybe we introduce a single "-SNAPSHOT" flag to indicate those are changed? Aligns to how we've done this elsewhere at gilt

from apibuilder.

brazir avatar brazir commented on August 22, 2024

The snapshot approach seems fine where the iterations are all generated as snapshot and then a single publish occurs for a version number.

from apibuilder.

xetorthio avatar xetorthio commented on August 22, 2024

We should follow semver probably. It is widely used in yhe opensource
community.
I am not sure how semver addresses this specific issue though. I will check.
On May 1, 2014 9:29 AM, "Rob" [email protected] wrote:

The snapshot approach seems fine where the iterations are all generated as
snapshot and then a single publish occurs for a version number.


Reply to this email directly or view it on GitHubhttps://github.com//issues/5#issuecomment-41909647
.

from apibuilder.

mbryzek avatar mbryzek commented on August 22, 2024

Internally, version is a string. This allows anybody to upload whatever version number they want.

If a version number starts with a "number" followed by "dot" repeated as many times - we can identify that version string and do proper sorting. So users who use semver versioning will get natural, proper ordering.

Users that use different ordering will get maybe wrong ordering but will still work. You can see the tests related to version numbers at:

api/test/lib/VersionSortKeySpec.scala

I think the open question here is at what point do we support locking the interface and no longer accepting changes to the published API. I'm not 100% sure yet what the best workflow for this is so let's leave this issue open for now

from apibuilder.

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.