GetDKAN / dkan

DKAN Open Data Portal
https://dkan.readthedocs.io/en/latest/index.html
GNU General Public License v2.0
373 stars 171 forks source link

Overwrite hook update status alter to point to DKAN releases on github instead of Drupal.org #261

Closed acouch closed 7 years ago

acouch commented 10 years ago

We can't keep DKAN on drupal.org so we should point back to github.

Some psuedo code:

function dkan_sitewide_update_status_alter(&$projects) {
  $tags = drupal_http_request('https://api.github.com/repos/NuCivic/dkan/tags');
  $tags = json_decode($tags->data);
  $dkan_tag = $tags[0]->name;
  $projects['dkan']['latest_version'] = $dkan_tag;
  $projects['dkan']['recommended'] = $dkan_tag;
  $projects['dkan']['link'] = 'http://github.com/nucivic/dkan';
}
asghaier commented 9 years ago

Hi acouch :)

This ticket should be closed because the following commit has completed the work :

commit dba09297884784a81abc3bb7c761ca3280ce7617 Author: Aaron Couch acinternets@gmail.com Date: Fri Oct 31 15:41:32 2014 -0500