Ericsson / CodeCompass

CodeCompass is a software comprehension tool for large scale software written in C/C++ and Java
https://codecompass.net
GNU General Public License v3.0
520 stars 102 forks source link

Introducing a sub-command for querying version #559

Open bruntib opened 2 years ago

bruntib commented 2 years ago

We should introduce a sub-command (CodeCompass_version) or flag (CodeCompass_parser --version, CodeCompass_webserver --version) which prints CodeCompass version. The output should contain some version info and commit ID if available. Let's discuss the details.

mcserep commented 2 years ago

Just a remark to this issue and the discussion on today's meeting: version numbers can be automatically incremented with tools, given that the commit messages follow a couple of simple rules.
https://www.conventionalcommits.org/

Changelogs can also be automatically generated this way. I use Conventional Commits on a few other projects and it works really well. Of course it is not mandatory to solve this issue, but I will leave it here, in case some of you are not familiar with it.