Git Product home page Git Product logo

Comments (6)

Zolko-123 avatar Zolko-123 commented on May 18, 2024 1

Hi, I added a release, the snapshot of the current version. Is this what you had in mind ?

from freecad_assembly4.

Zolko-123 avatar Zolko-123 commented on May 18, 2024 1

I created a branch called "development" and I'll make all updates there, and when time comes I'll merge them into "master". This means that "master" will be untouched and the merge should be easy. I have to update the examples and tutorials, so it's not really in the workbench code anyway.

Let's how this goes. Thank-you for your help.

from freecad_assembly4.

luzpaz avatar luzpaz commented on May 18, 2024

Yes, this is great. BTW, I think MacOS uses ~/.FreeCAD/Mod/ as well (like Linux)

from freecad_assembly4.

Zolko-123 avatar Zolko-123 commented on May 18, 2024

Hi,

may-be I misunderstand some things: what is the difference between Tags and Releases ?

Specifically, I'd like to have a "Stable" "release" (if that's the correct name) which would always be referred-to by the Addon Manager, and have the "Development" main repository with the latest stuff that would be the rolling master branch (I might confuse names)

Is it possible to have a "Stable" release, but that points to a Tag, and the value of this Tag can be updated ? Thus, I could set "Tags" when I think it's ready (v0.7.x...) and I would always point the "Stable" release towards the latest "Tag", and still work and update the master / development branch as I see fit.

This way, the Addon Manager could point to the "Stable" release of Assembly4, which would prevent people seeing every minor update I do, and only update when there really are some news.

Do I understand that correctly ?
Could you may-be give some advice on how to do that, and/or suggest a better organisation ?

Cheers,

Zoltan

from freecad_assembly4.

luzpaz avatar luzpaz commented on May 18, 2024

I'm not an expert on this and don't know enough on the subject to advise you what is the best approach. What I've seen is that people use a master branch as their main (default) branch and then have a development branch they develop on. When the time comes they merge the development branch in to master. Then continue hacking on the development branch until the time comes to merge again.

Tags vs Releases are pretty much the same thing (there are differences) but in general Releases are glorified tags. They are a way to record milestones in the code that you can easily refer back to.

from freecad_assembly4.

luzpaz avatar luzpaz commented on May 18, 2024

I'll keep an eye out to see if there is a better way to do this... or perhaps someone can weigh in. I didn't think about the issue with links breaking in documentation because of developing in a separate branch. I wonder how devs get around that?

from freecad_assembly4.

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.