Implements the possibility of updating a version and creating releases from it.
Located in /code/framework/EVS/EVSVersion.php (line 43)
Stores the configuration information from config.ini, README, AUTHORS, RELEASE, INSTALL, FAQ and ddl.sql.
Gets filled by loadConfig.
An instance of EVS. Gets set inside the costructor method.
Whether it is current version or a release. See the tutorial for details. Gets set inside the costructor method.
Whether it is a current development version or not. See the tutorial for details. Gets set inside the costructor method.
Whether it is the latest current development version. See the tutorial for details. Gets set in the method init.
Whether it is the latest current version. See the tutorial for details. Gets set in the method init.
Whether it is the latest development release. See the tutorial for details. Gets set in the method init.
Whether it is the latest stable release. See the tutorial for details. Gets set in the method init.
Whether it is a release or a current version. See the tutorial for details. Gets set inside the costructor method.
Whether it is a current stable version or not. See the tutorial for details. Gets set inside the costructor method.
The major version number. Gets set inside the costructor method.
The minor version number. Gets set inside the costructor method.
The next major version number. Gets set inside the costructor method.
The complete version number of the next major release. Gets set inside the costructor method.
The next minor version number. Gets set inside the costructor method.
The complete version number of the next minor release. Gets set inside the costructor method.
The next patchlevel version number. Gets set inside the costructor method.
The complete version number of the next patchlevel release. Gets set inside the costructor method.
The patchlevel version number. Gets set inside the costructor method.
An instance of EVSProject. Gets set inside the costructor method.
The absolute path to the directory where the version is stored. Gets set inside the costructor method.
The version number or an empty string if the project was not created with versioning support. Gets set inside the costructor method.
Constructor method that sets most of the properties.
Returns a string containing the ChangeLog for this version.
This method reads in the file VERSION_ROOT/code/RELEASE and appends the return value of getChangelog called on the privious version. To determine which is the previous verison $this->getPreviousVersion() is called.
Reads and returns the version number of the previous release from the file VERSION_ROOT/PREVIOUS_RELEASE.
Sets the properties isLatestCurrentVersion, isLatestCurrentDevelopmentVersion, isLatestDevelopmentRelease, isLatestStableRelease.
Calling this method only makes sense after having loaded all versions of the project.
Loads the configuration information of this version into the associative array $this->config.
Acutally a new instance of RSDEngine is created with $this->versionDirectory as argument. This new instance is used to get the configuration information.
Makes a new major release based on this version.
Making new major releases is only possible from the latest current version. See the tutorial for details.
Makes a new minor release based on this version.
Making new minor releases is only possible from the latest current version. See the tutorial for details.
Makes a new minor release based on this version.
Making new patchlevel releases is only possible from a current versions. See the tutorial for details.
Saves the configuration information of this version.
Acutally a new instance of RSDEngine is created with $this->versionDirectory as argument. This new instance is used to save the configuration information by calling saveConfig.
Saves the version number of the previous release in the file VERSION_ROOT/PREVIOUS_RELEASE.
Writes the result of $this->getChangeLog() to the file VERSION_ROOT/code/CHANGELOG
Updates all @version tags found in any file under $this->versionDirectory.
Returns the major version number from the version number passed as argument.
Returns the minor version number from the version number passed as argument.
Returns the patchlevel version number from the version number passed as argument.
Documentation generated on Mon, 8 Dec 2003 13:10:35 +0100 by phpDocumentor 1.2.3