Functions | |
| _multi_recommended_version ($core, $project= 'drupal', $float=FALSE, $path=FALSE) | |
| _multi_released_versions ($core, $project= 'drupal') | |
| _multi_check_project ($core, $project= 'drupal') | |
| _multi_check_project | ( | $ | core, | |
| $ | project = 'drupal' | |||
| ) |
Check if the combination of the specified core compatibility and the specified project exists on drupal.org.
| $core | Core compatibility / drupal major version (5, 6, 7 and so forth) but also possible for versions before drupal 5 like drupal-4.7.x or image-4.7.x etc without error | |
| $project | Name of the project. Default 'drupal' |
Definition at line 162 of file multi.inc.
Referenced by drush_multi_create_validate().
| _multi_recommended_version | ( | $ | core, | |
| $ | project = 'drupal', |
|||
| $ | float = FALSE, |
|||
| $ | path = FALSE | |||
| ) |
Get the recommended version of a specified project from a file or an url
| $core | Core compatibility / drupal major version (5, 6, 7 and so forth) but also possible for versions before drupal 5 like drupal/4.7.x or image/4.7.x etc without error | |
| $project | Name of the project. Default 'drupal' | |
| $float | Modifies return value. If TRUE it returns the recommended version of supplied project as float. Default FALSE | |
| $path | Path to xml file which contains the release history. This could be an absolute path to file on your filesystem or an url. Default 'http://updates.drupal.org/release-history/' combined with supplied $project, '/', supplied $core and '.x'. |
[name] => drupal 6.14 [version] => 6.14 [tag] => DRUPAL-6-14 [version_major] => 6 [version_patch] => 14 [status] => published [release_link] => http://drupal.org/node/579476 [download_link] => http://ftp.drupal.org/files/projects/drupal-6.14.tar.gz [date] => 1253130028 [mdhash] => 014bb453a8d0adb0233c763e40d63859 [filesize] => 1082687
Definition at line 81 of file multi.inc.
Referenced by _multi_nagios_root(), drush_multi_create(), drush_multi_drupalupdate_validate(), and multi_status().
| _multi_released_versions | ( | $ | core, | |
| $ | project = 'drupal' | |||
| ) |
Returns all released minor versions of the specified major version and project from drupal.org in form of ${PROJECT}'-'${MAJOR}.${MINOR} or or FALSE via drush_set_error() if no release history was found for the requested project.
| $core | Core compatibility / drupal major version (5, 6, 7 and so forth) but also possible for versions before drupal 5 like drupal/4.7.x or image/4.7.x etc without error | |
| $project | Name of the project, Default 'drupal' |
1.5.8