Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

version tagging #3

Open
tommens opened this issue Aug 31, 2020 · 4 comments
Open

version tagging #3

tommens opened this issue Aug 31, 2020 · 4 comments

Comments

@tommens
Copy link
Contributor

tommens commented Aug 31, 2020

@mehdigolzadeh, could you add git version tags to the respective commits of BoDeGa that correspond to a specific version? It will be easier to keep track of which version is being used, or to keep track of bug reporting that may be for a specific version. Currently, I have not seen any way of knowing which version of BoDeGa is being used.

I would therefore suggest:
(1) to use git version tags whenever a new version is becoming available;
(2) to add the version number information in the bodega tool (when you run it, or ask for help with bodega -h or perhaps even bodega --version, it could report the version number)
(3) mention the version number in the readme file, and update this version number each time a new version is becoming available.

@tommens
Copy link
Contributor Author

tommens commented Sep 3, 2020

I noticed that we have our first tagged and released version marked as such on the GitHub repository (0.2.2), which is good. The current README file, however, mentions 0.2.3, and I do not find this tag yet, can you add it as well?

@mehdigolzadeh
Copy link
Owner

Not all versions require tag. I think its better to tag stable versions.

@tommens
Copy link
Contributor Author

tommens commented Sep 3, 2020 via email

@AlexandreDecan
Copy link
Collaborator

There are two possibilities:

  1. Keep the master branch stable, always, and do the development on a new branch (e.g. "devel"). As such, the master will always be the latest stable version available. Only increment the version number when you merge devel into master.

  2. Do the development on the "master" branch, and tag each stable release (= each time a new, non pre-release, version number is defined in setup.py). Only use pre-release numbers for non-stable releases (e.g 0.2.1-a1, 0.2.1-a2, etc.). For convenience, add a "latest" tag on the latest stable release, and add this tag in the installation instructions (so that the latest stable version will always be installed if someone execute these instructions, instead of the latest commit by default).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants