Giter Site home page Giter Site logo

Git branching model about iroha-java HOT 3 CLOSED

mversic avatar mversic commented on July 27, 2024
Git branching model

from iroha-java.

Comments (3)

Mingela avatar Mingela commented on July 27, 2024

Considering there have been multiple Iroha tracks (DEV/STABLE/LTS) SDK referencing is a bit different from the link.
We're used to work as follows:

  1. sdk's iroha2-dev references iroha's iroha2-stable
  2. sdk's iroha2-main references iroha's iroha2-lts

It's hardly makes sense to build anything for iroha2-dev so for projects using Iroha there might be a need to have lts-SDK and the latest stable-SDK which both should be supported. Let's decide about the tags only policy later, for now just swap iroha1 with iroha2 content in terms of 'defaults'

from iroha-java.

nxsaken avatar nxsaken commented on July 27, 2024

Nothing needs to be done for now then.

from iroha-java.

mversic avatar mversic commented on July 27, 2024

@Mingela since you've made the iroha2-dev a default branch of your repository, it's the same as if you have main branch. Effectively your iroha2-dev branch is main branch from the perspective of git, it's just renamed. You are breaking convention a little bit here calling, what should be main branch, iroha2-dev.

If you rename iroha2-lts into main that will be confusing because you will have a main branch that is not default. Just try cloning the repository and see which branch git puts you in.

The way I see this is that you should have the following branches:

  1. the default branch that holds latest dev work for iroha2. Name it main or dev if you want to
  2. a branch that holds latest stable release of iroha2. I would call it stable
  3. a branch that holds latest lts release of iroha2. I would call it lts
  4. branch iroha1-main
  5. branch iroha1-stable
  6. branch iroha1-lts

Except for 1. and 4. I consider all other branches optional. I would say that whoever wants to build a release of iroha should checkout the corresponding tag and build it from there

from iroha-java.

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.