LCM version numbers |
There are different versions for different components of the software:
$lcm_version: Typically, versions will be in the form of [0-9].[0-9][1-9] (major.minor), where the major version number does not change often.
$lcm_db_version: Version of the structure of the database. This integer should be incremented every time the database is changed, and appropriate code should be associated to it in inc/inc_db_upgrade.php. This version is shown on the screen only if $debug is true (declared in inc_version.php).
$lcm_version_shown: This is the user-friendly version shown to the user. We can also add dev information, such as alpha, beta or cvs, or the $lcm_db_version.
$lcm_connect_version: Used to detect the login mecanism used by LCM. Useful only if, in the future, inc_connect.php needs to be modified (security fix, new feature, etc.).
Each LCM release is tagged in the CVS. So far, releases are tagged in the following format:
r_X_Y
The first release was LCM 0.2 (r_0_2) where $lcm_version was equal to 0.2. The next release following 0.2 will be either 0.2.1 (minor changes) or 0.4 (next stable release). Unstable releases are not tagged since they live only in the CVS.