I tried adding the lines recommended to add to a drush.make file to a drupal-org.make for a distro to be packaged on d.o:

libraries[profiler][download][type] = "get"
libraries[profiler][download][url] = "http://ftp.drupal.org/files/projects/profiler-7.x-2.0-beta1.tar.gz"

When I pushed my profile to d.o, the packager reported an error:

The library 'profiler' cannot be downloaded from [error]
http://ftp.drupal.org/files/projects/profiler-7.x-2.0-beta1.tar.gz,
the URL must be in the whitelist available at
http://drupal.org/packaging-whitelist.

It seems like there are a couple of possible solutions:

  1. Download this with git rather than ftp. I think this will bypass the packager checking to see if the library is on the whitelist.
  2. Add the library to http://drupal.org/packaging-whitelist.

Comments

btopro’s picture

This does work, I don't know if d.o. did something to correct the problem but we use profiler in the Nittany distro on d.o.

http://drupal.org/node/1687988
make file call:

libraries[profiler][download][type] = "get"
libraries[profiler][download][url] = "http://ftp.drupal.org/files/projects/profiler-7.x-2.0-beta1.tar.gz"
libraries[profiler][directory_name] = "profiler"
libraries[profiler][type] = "library"