gwolf/dh-make-drupal — pull request #3 by skangas (2013-06-01 09:19:54+00:00)
Title: Prefer https over http

It seems drupal.org is new redirecting us to https. I got the following error:

$ dh-make-drupal -d 6 webform
/usr/lib/ruby/1.8/open-uri.rb:174:in `open_loop': redirection forbidden: http://drupal.org/project/webform -> https://drupal.org/project/webform (RuntimeError)
from /usr/lib/ruby/1.8/open-uri.rb:132:in `open_uri'
from /usr/lib/ruby/1.8/open-uri.rb:518:in `open'
from /usr/lib/ruby/1.8/open-uri.rb:30:in `open'
from /home/skangas/dh-make-drupal/dh-make-drupal:674:in `fetch_data'
from /home/skangas/dh-make-drupal/dh-make-drupal:734:in `for'
from /home/skangas/dh-make-drupal/dh-make-drupal:147:in `fetch_info'
from /home/skangas/dh-make-drupal/dh-make-drupal:99:in `initialize'
from /home/skangas/dh-make-drupal/dh-make-drupal:1107:in `new'
from /home/skangas/dh-make-drupal/dh-make-drupal:1107:in `run'
from /home/skangas/dh-make-drupal/dh-make-drupal:1121

To fix this, I changed it to use https directly instead.

Please consider this change for inclusion.

Best Regards,
Stefan Kangas