|
eZ Publish
[trunk]
|
Go to the source code of this file.
Functions | |
| exportSVNVersion ($version, $exportPath) | |
| handleExportVersionList ($basePath, $exportBasePath, $subdir, &$fileList, &$missingFileList, &$exportMissingFileList, &$conflictFileList, &$scannedDirs, $useInfoFiles, $versionList) | |
| handleVersionList ($basePath, $subdir, &$fileList, &$missingFileList, &$conflictFileList, &$scannedDirs, $useInfoFiles, $versionList) | |
Variables | |
| $branches = array() | |
| $branches [] = '4.1' | |
| $cli = eZCLI::instance() | |
| $conflictFileList = array() | |
| if(!function_exists( 'md5_file')) if(!$options['no-verify-branches']) | $currentBranch = eZPublishSDK::VERSION_MAJOR . '.' . eZPublishSDK::VERSION_MINOR |
| $dbTypes = array() | |
| $dbTypes [] = 'mysql' | |
| $exportMissingFileList = array() | |
| $fileList = array() | |
| $lowestExportVersion = '4.3' | |
| $missingFileList = array() | |
| $options | |
| $scannedDirs = array() | |
| $script | |
| $versions = array() | |
| $versions ['4.1'] = $versions41 | |
| $versions ['4.2'] = $versions42 | |
| $versions ['4.3'] = $versions43 | |
| $versions ['4.4'] = $versions44 | |
| $versions ['4.5'] = $versions45 | |
| $versions ['4.6'] = $versions46 | |
| $versions ['4.7'] = $versions47 | |
| $versions ['5.0'] = $versions50 | |
| $versions41 | |
| $versions42 | |
| $versions43 | |
| $versions44 | |
| $versions45 | |
| $versions46 | |
| $versions47 | |
| $versions50 | |
| exportSVNVersion | ( | $ | version, |
| $ | exportPath | ||
| ) |
Definition at line 255 of file checkdbfiles.php.
| handleExportVersionList | ( | $ | basePath, |
| $ | exportBasePath, | ||
| $ | subdir, | ||
| &$ | fileList, | ||
| &$ | missingFileList, | ||
| &$ | exportMissingFileList, | ||
| &$ | conflictFileList, | ||
| &$ | scannedDirs, | ||
| $ | useInfoFiles, | ||
| $ | versionList | ||
| ) |
Definition at line 206 of file checkdbfiles.php.
| handleVersionList | ( | $ | basePath, |
| $ | subdir, | ||
| &$ | fileList, | ||
| &$ | missingFileList, | ||
| &$ | conflictFileList, | ||
| &$ | scannedDirs, | ||
| $ | useInfoFiles, | ||
| $ | versionList | ||
| ) |
Definition at line 155 of file checkdbfiles.php.
| $branches = array() |
Definition at line 46 of file checkdbfiles.php.
| $branches[] = '4.1' |
Definition at line 47 of file checkdbfiles.php.
| $cli = eZCLI::instance() |
Definition at line 14 of file checkdbfiles.php.
| $conflictFileList = array() |
Definition at line 151 of file checkdbfiles.php.
Referenced by handleExportVersionList().
| if (!function_exists( 'md5_file')) if (!$options['no-verify-branches']) $currentBranch = eZPublishSDK::VERSION_MAJOR . '.' . eZPublishSDK::VERSION_MINOR |
Definition at line 304 of file checkdbfiles.php.
| $dbTypes = array() |
Definition at line 42 of file checkdbfiles.php.
| $dbTypes[] = 'mysql' |
Definition at line 43 of file checkdbfiles.php.
| $exportMissingFileList = array() |
Definition at line 152 of file checkdbfiles.php.
Referenced by handleExportVersionList().
| $fileList = array() |
Definition at line 149 of file checkdbfiles.php.
Referenced by eZExtensionPackageHandler\addExtension(), eZAutoloadGenerator\buildAutoloadArrays(), eZPackage\domStructure(), eZPackage\exportToArchive(), eZSetupTestFilePermissions(), eZPackageType\fetchObjectAttributeHTTPInput(), eZPackage\fetchPackages(), eZAutoloadGenerator\getClassFileList(), eZDBPackageHandler\handleParameters(), eZFilePackageHandler\handleParameters(), handleVersionList(), eZPackage\import(), eZStepCreateSites\initializePackage(), eZFilePackageHandler\install(), eZPackageOperator\modify(), eZDir\recursiveList(), and eZPackage\thumbnailList().
| $lowestExportVersion = '4.3' |
Definition at line 53 of file checkdbfiles.php.
| $missingFileList = array() |
Definition at line 150 of file checkdbfiles.php.
Referenced by handleVersionList().
| $options |
$script->getOptions( "[no-verify-branches][export-path:]", "", array( 'no-verify-branches' => "Do not verify the content of the files with previous branches (To avoid SVN usage)", 'export-path' => "Directory to use for doing SVN exports." ) )
Definition at line 35 of file checkdbfiles.php.
| $scannedDirs = array() |
Definition at line 153 of file checkdbfiles.php.
Referenced by handleVersionList().
eZScript::instance( array( 'description' => ( "eZ Publish DB file verifier\n\n" . "Checks the database update files and gives a report on them.\n" . "It will show which files are missing and which should not be present.\n" . "\n" . "For each file with problems it will output a status and the filepath\n" . "The status will be one of these:\n" . " '?' file is not defined in upgrade path\n" . " '!' file defined in upgrade path but missing on filesystem\n" . " 'A' file is present in working copy but not in the original stable branch\n" . " 'C' file data conflicts with the original stable branch\n" . "\n" . "Example output:\n" . " checkdbfiles.php\n" . " ? update/database/mysql/3.5/dbupdate-3.5.0-to-3.5.1.sql" ), 'use-session' => false, 'use-modules' => false, 'use-extensions' => true ) )
Definition at line 15 of file checkdbfiles.php.
| $versions = array() |
Definition at line 62 of file checkdbfiles.php.
Referenced by eZContentObject\copy(), eZContentObject\createNewVersion(), eZContentObjectPackageHandler\explainInstallItem(), eZContentObjectVersion\fetchLatestUserDraft(), eZContentObjectVersion\fetchUserDraft(), eZContentObjectVersion\hasConflicts(), eZContentObject\nextVersion(), eZWebDAVServer\outputOptions(), eZContentObject\previousVersion(), eZCache\purgeImageAliasForObject(), eZContentObjectVersion\removeVersions(), eZContentObject\serialize(), eZContentObjectVersion\statusList(), and eZContentObject\unserialize().
| $versions['4.1'] = $versions41 |
Definition at line 140 of file checkdbfiles.php.
| $versions['4.2'] = $versions42 |
Definition at line 141 of file checkdbfiles.php.
| $versions['4.3'] = $versions43 |
Definition at line 142 of file checkdbfiles.php.
| $versions['4.4'] = $versions44 |
Definition at line 143 of file checkdbfiles.php.
| $versions['4.5'] = $versions45 |
Definition at line 144 of file checkdbfiles.php.
| $versions['4.6'] = $versions46 |
Definition at line 145 of file checkdbfiles.php.
| $versions['4.7'] = $versions47 |
Definition at line 146 of file checkdbfiles.php.
| $versions['5.0'] = $versions50 |
Definition at line 147 of file checkdbfiles.php.
| $versions41 |
array( 'unstable' => array( array( '4.0.0', '4.1.0alpha1' ), array( '4.1.0alpha1', '4.1.0alpha2' ), array( '4.1.0alpha2', '4.1.0beta1' ), array( '4.1.0beta1', '4.1.0rc1' ), array( '4.1.0rc1', '4.1.0' ) ), 'unstable_subdir' => 'unstable', 'stable' => array( array( '4.0.0', '4.1.0' ) ) )
Definition at line 63 of file checkdbfiles.php.
| $versions42 |
array( 'unstable' => array( array( '4.1.0', '4.2.0alpha1' ), array( '4.2.0alpha1', '4.2.0beta1' ), array( '4.2.0beta1', '4.2.0rc1' ), array( '4.2.0rc1', '4.2.0rc2' ), array( '4.2.0rc2', '4.2.0' ), ), 'unstable_subdir' => 'unstable', 'stable' => array( array( '4.1.0', '4.2.0' ) ) )
Definition at line 71 of file checkdbfiles.php.
| $versions43 |
array( 'unstable' => array( array( '4.2.0', '4.3.0alpha1' ), array( '4.3.0alpha1', '4.3.0beta1' ), array( '4.3.0beta1', '4.3.0beta2' ), array( '4.3.0beta2', '4.3.0rc1' ), array( '4.3.0rc1', '4.3.0' ), ), 'unstable_subdir' => 'unstable', 'stable' => array( array( '4.2.0', '4.3.0' ) ), )
Definition at line 81 of file checkdbfiles.php.
| $versions44 |
array( 'unstable' => array( array( '4.3.0', '4.4.0alpha1' ), array( '4.4.0alpha1', '4.4.0alpha2' ), array( '4.4.0alpha2', '4.4.0alpha3' ), array( '4.4.0alpha3', '4.4.0alpha4' ), array( '4.4.0alpha4', '4.4.0alpha5' ), array( '4.4.0alpha5', '4.4.0beta1' ), array( '4.4.0beta1', '4.4.0beta2' ), array( '4.4.0beta2', '4.4.0beta3' ), array( '4.4.0beta3', '4.4.0' ), ), 'unstable_subdir' => 'unstable', 'stable' => array( array( '4.3.0', '4.4.0' ) ), )
Definition at line 91 of file checkdbfiles.php.
| $versions45 |
array( 'unstable' => array( array( '4.4.0', '4.5.0alpha1' ), array( '4.5.0alpha1', '4.5.0beta1' ), array( '4.5.0beta1', '4.5.0beta2' ), array( '4.5.0beta2', '4.5.0' ), ), 'unstable_subdir' => 'unstable', 'stable' => array( array( '4.4.0', '4.5.0' ) ), )
Definition at line 106 of file checkdbfiles.php.
| $versions46 |
array( 'unstable' => array( array( '4.5.0', '4.6.0alpha1' ), array( '4.6.0alpha1', '4.6.0beta1' ), array( '4.6.0beta1', '4.6.0rc1' ), array( '4.6.0rc1', '4.6.0' ), ), 'unstable_subdir' => 'unstable', 'stable' => array( array( '4.5.0', '4.6.0' ) ), )
Definition at line 115 of file checkdbfiles.php.
| $versions47 |
array( 'unstable' => array( array( '4.6.0', '4.7.0alpha1' ), array( '4.7.0alpha1', '4.7.0beta1' ), array( '4.7.0beta1', '4.7.0rc1' ), array( '4.7.0rc1', '4.7.0' ), ), 'unstable_subdir' => 'unstable', 'stable' => array( array( '4.6.0', '4.7.0' ) ), )
Definition at line 124 of file checkdbfiles.php.
| $versions50 |
array( 'unstable' => array( array( '4.7.0', '5.0.0alpha1' ), ), 'unstable_subdir' => 'unstable', 'stable' => array( ), )
Definition at line 133 of file checkdbfiles.php.