Giter Site home page Giter Site logo

1.0 API Freeze about go-nmea HOT 7 CLOSED

adrianmo avatar adrianmo commented on August 22, 2024
1.0 API Freeze

from go-nmea.

Comments (7)

adrianmo avatar adrianmo commented on August 22, 2024

Great idea. Let's use semantic versioning (https://semver.org/).

Where should we keep track of the version in the library? In a constant inside the project?

Maybe we could use go generate to fill a version.go file with the version taken from the tag branch. This could be done automatically by the CI job.

Any other ideas?

from go-nmea.

icholy avatar icholy commented on August 22, 2024

The new versioned go proposal expects a git tag using semantic versioning with a v prefix.

git tag v1.0.0
git push --tags

from go-nmea.

adrianmo avatar adrianmo commented on August 22, 2024

I need to go. I'll read that proposal and get back to you tomorrow.

from go-nmea.

icholy avatar icholy commented on August 22, 2024

No rush.

edit: I don't think we need anything other than the git tag.

from go-nmea.

adrianmo avatar adrianmo commented on August 22, 2024

Sounds good. But instead of using git tag we could create a GitHub release with some release notes (new features, changes, bugfixes...) and that will create automatically a git tag.

I propose the following workflow:

When we want to release a version, we create a PR from a release/vX.Y.Z branch with:

  1. Only one change on a file called VERSION that will be on the project root directory and only contain the version to be released (e.g. 1.0.5)
  2. The release notes in the PR opening message. The release notes will have a similar format as the following projects:

Then, once both of us approve the PR, it will merged into master and we will create a GH release with the merged version and the agreed release notes.

How does it sound?

I think we could release 1.0.0 once we merge #28.

from go-nmea.

icholy avatar icholy commented on August 22, 2024

@adrianmo sounds good to me. We just need to make sure the git tag has a v prefix, so v1.0.0.

from go-nmea.

adrianmo avatar adrianmo commented on August 22, 2024

Sure, we will add that when creating the GH release.

from go-nmea.

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.