Closed (fixed)
Project:
Drupal.org Library Packaging Allowlist
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Jan 2012 at 11:33 UTC
Updated:
18 Jul 2012 at 15:29 UTC
Project URL: http://jacklmoore.com/colorbox
Licence: MIT (on the project page: “Released under the MIT License”)
Paths: http://jacklmoore.com/colorbox/colorbox.zip (download path shown on site) https://github.com/jackmoore/colorbox/zipball/* (path for automatically generated zip files on GitHub, which is more reliable)
Comments
Comment #1
sunThere's an important detail here, which we should ideally address in a more general sense:
Some external libraries provide a "latest official stable download URL" in addition to version-specific download URLs.
We should whitelist both URL patterns in that case.
Comment #2
geerlingguy commentedThe only problem is that the MIT license isn't listed under the GPL-compatible licenses, even though it seems to be listed on this project's page... I don't know if anyone ever decided whether or not we can include MIT-licensed code? We should probably work on this in #1360456: Finalize the criteria and process for the whitelist for external dependencies packaged with Drupal distributions.
Postponing for now... regex would be:
Comment #3
redndahead commentedUsually expat http://www.gnu.org/licenses/license-list.html#Expat
Or X11 http://www.gnu.org/licenses/license-list.html#X11License
Both are referred as MIT and both are gpl compatible.
Comment #4
redndahead commentedIn this case it is the Expat license.
Comment #5
geerlingguy commentedSounds good. greggles and somkottler helped clarify in IRC (in #drupal-contribute) as well.
Comment #6
geerlingguy commentedAdded ColorBox: http://drupal.org/node/1404260
Comment #8
osmanI need to define a specific revision due to issue #1370196: Drupal 6 jQuery version too old for Colorbox plugin version 1.3.19 and later
but I get the following error message instead:
There are a few libraries failing just like this because the defined RegEx patterns don't allow the download URLs I need to set.
my .make file:
I propose we add following pattern to whitelist too:
^https://github\.com/jackmoore/colorbox\.git$It works for both URLs:
https://github.com/jackmoore/colorbox.git
https://github.com/jackmoore/colorbox/zipball/master
Comment #9
geerlingguy commentedUpdated; post back if you still have any trouble. Thanks for the bug report!
Comment #11
osmanSorry to open this again.
Thanks for updating the pattern. I tested it locally with Drush 5.0 and it works.
I had the same Colorbox and Superfish white-listing pattern issues, and they both are resolved.
However, I still have issues creating a new distribution release. See #1507376: Packaging error messages
Any ideas?
Comment #12
Mark Theunissen commentedThe whitelist entries look fine, see http://drupal.org/node/1404260
Have you done a drush verify-makefile ? Does it build using drush make?
I'm closing this issue, reopen if you want the URLs changed for some reason.