When using ScanCode's develop branch and updating often, the version number in the source code / last tag in Git stays the same although potentially quite a lot of code has changed. A such it would be beneficial if scancode --version would report its Git commit in some way in order to determine the exact version, maybe by appending the output of git describe --tags. That would also solve the problem of keeping the source code in sync with Git tags, as the current source code reports "ScanCode version 2.0.0rc3" although the latest Git tag is "v2.0.0.rc2". Maybe baking the version info into ScanCode could be done as part of running configure?
When using ScanCode's
developbranch and updating often, the version number in the source code / last tag in Git stays the same although potentially quite a lot of code has changed. A such it would be beneficial ifscancode --versionwould report its Git commit in some way in order to determine the exact version, maybe by appending the output ofgit describe --tags. That would also solve the problem of keeping the source code in sync with Git tags, as the current source code reports "ScanCode version 2.0.0rc3" although the latest Git tag is "v2.0.0.rc2". Maybe baking the version info into ScanCode could be done as part of runningconfigure?