function release_info_get_releases

6.x release_info_get_releases($requests)
5.x release_info_get_releases($requests)

Obtain releases info for given requests and fill in status information.


$requests: An array of project names optionally with a version.

3 calls to release_info_get_releases()
drush_check_self_update in includes/
Check to see if a newer version of drush is available
drush_pm_releases in commands/pm/
Command callback. Show available releases for given project(s).
release_info_print_releasenotes in commands/pm/release_info/
Prints release notes for given projects.


commands/pm/release_info/, line 85
Drush release info engine for and compatible services.


function release_info_get_releases($requests) {
  $info = array();

  foreach ($requests as $name => $request) {
    $xml = updatexml_get_release_history_xml($request);
    if (!$xml) {

    $project_info = updatexml_get_releases_from_xml($xml, $name);
    $info[$name] = $project_info;

  return $info;