|
eZ Publish
[4.2]
|
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.1' | |
| $missingFileList = array() | |
| $options | |
| $scannedDirs = array() | |
| $script | |
| $versions = array() | |
| $versions ['4.1'] = $versions41 | |
| $versions ['4.2'] = $versions42 | |
| $versions41 | |
| $versions42 | |
| exportSVNVersion | ( | $ | version, |
| $ | exportPath | ||
| ) |
Definition at line 207 of file checkdbfiles.php.
| handleExportVersionList | ( | $ | basePath, |
| $ | exportBasePath, | ||
| $ | subdir, | ||
| &$ | fileList, | ||
| &$ | missingFileList, | ||
| &$ | exportMissingFileList, | ||
| &$ | conflictFileList, | ||
| &$ | scannedDirs, | ||
| $ | useInfoFiles, | ||
| $ | versionList | ||
| ) |
Definition at line 158 of file checkdbfiles.php.
| handleVersionList | ( | $ | basePath, |
| $ | subdir, | ||
| &$ | fileList, | ||
| &$ | missingFileList, | ||
| &$ | conflictFileList, | ||
| &$ | scannedDirs, | ||
| $ | useInfoFiles, | ||
| $ | versionList | ||
| ) |
Definition at line 107 of file checkdbfiles.php.
| $branches = array() |
Definition at line 64 of file checkdbfiles.php.
| $branches[] = '4.1' |
Definition at line 65 of file checkdbfiles.php.
| $cli = eZCLI::instance() |
Definition at line 32 of file checkdbfiles.php.
| $conflictFileList = array() |
Definition at line 103 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 256 of file checkdbfiles.php.
| $dbTypes = array() |
Definition at line 60 of file checkdbfiles.php.
| $dbTypes[] = 'mysql' |
Definition at line 61 of file checkdbfiles.php.
| $exportMissingFileList = array() |
Definition at line 104 of file checkdbfiles.php.
Referenced by handleExportVersionList().
| $fileList = array() |
Definition at line 101 of file checkdbfiles.php.
Referenced by eZExtensionPackageHandler\addExtension(), eZAutoloadGenerator\buildAutoloadArrays(), eZPackage\domStructure(), eZPackage\exportToArchive(), eZPackageType\fetchObjectAttributeHTTPInput(), eZPackage\fetchPackages(), eZAutoloadGenerator\getClassFileList(), eZDBPackageHandler\handleParameters(), eZFilePackageHandler\handleParameters(), handleVersionList(), eZPackage\import(), eZFilePackageHandler\install(), eZPackageOperator\modify(), eZDir\recursiveList(), and eZPackage\thumbnailList().
| $lowestExportVersion = '4.1' |
Definition at line 69 of file checkdbfiles.php.
| $missingFileList = array() |
Definition at line 102 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 53 of file checkdbfiles.php.
| $scannedDirs = array() |
Definition at line 105 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 33 of file checkdbfiles.php.
| $versions = array() |
Definition at line 78 of file checkdbfiles.php.
Referenced by eZContentObject\copy(), eZContentObject\createNewVersion(), eZContentObjectPackageHandler\explainInstallItem(), eZContentObjectVersion\fetchUserDraft(), eZContentObjectVersion\hasConflicts(), eZContentObject\nextVersion(), eZWebDAVServer\outputOptions(), eZContentObject\previousVersion(), eZContentObjectVersion\removeVersions(), eZContentObject\serialize(), eZContentObjectVersion\statusList(), and eZContentObject\unserialize().
| $versions['4.1'] = $versions41 |
Definition at line 98 of file checkdbfiles.php.
| $versions['4.2'] = $versions42 |
Definition at line 99 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 79 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.2.0', '4.2.1' ), ) )
Definition at line 87 of file checkdbfiles.php.