|[sumo-dev] Strange version handling in SUMO 1.1.0 under ubuntu
it is not possible to install the latest release 1.1.0 build from the sumo-all tar ball without errors.
The install process has three errors like this
It seems that the install routines calls version.py, which in turn calls some git routines, which failed.
My understanding is:
If you create a tar-file for a release x.y.z, i would assume that
the version string x.y.z is hardcoded in one or more files or
the files to compute the version number are included in this tar ball.
You should be able to compile and install from a tar-src file
without git or svn or whatever is currently the version management
The generated sumo executable has no version
If I build sumo (version 1.0.1) the same way, it has a version string:
My proposal is:
When creating a tar file from git, you should copy a file containing the official version for this file (e.g. 1.1.0 or 1.1.0+xxxxxxxxx).
The script version.py reads this file, if it exists, and sets the correct version.
Description: S/MIME Cryptographic Signature
Back to the top