Closed (fixed)
Project:
Accessible Content
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Aug 2010 at 21:26 UTC
Updated:
21 Aug 2010 at 06:50 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
David Stosik commentedBy the way, uncompressing the library directly inside the module folder is not very elegant : mixing the module code with the library code, without any clear separation, doesn't seem good.
From my point of view, the best approach would be to follow the trend, and put the library inside sites/all/libraries/quail.
Regards,
David
Comment #2
simon georges commentedHere is a patch looking for the Quail library into the
sites/all/librariesdirectory.It works for me (and accessible_content is now installable using Drush Make), so don't hesitate to test it and provide feedback.
Regards,
Comment #3
Anonymous (not verified) commentedApplied the patch, but I suggest the sub-directory 'quail' be put into sites/all/libraries (so the mail file is available at sites/all/libraries/quail/quail.php), as opposed to the full quail directory itself, which has executable PHP code for things like SimpleTesting that should probably not be in a public directory.
Aside from that, tests seem to pass so I'm going to rewrite a few strings in reporting and commit to dev this evening.
Comment #4
Anonymous (not verified) commentedAdded this in dev under commit 403108. Will try to roll into a new version soon.
Comment #5
David Stosik commentedkevee, your suggestion keeping only the quail directory throws two issues :
- the LICENSE.txt and README.txt are lost
- I don't think Drush can handle only extracting a subpath of an archive.
Regards,
David
Comment #6
simon georges commentedI fully agree with David: if you only keep the quail directory, apart from the licensing issue, it prevents the installation using Drush Make, which is the whole point of the issue ;)
Regards,
Simon
Comment #7
Anonymous (not verified) commentedOK, then perhaps the best thing to do at this point is to have the full library installed and then in the install instructions let people know that the test and example files that come with the library are there also, and if they don't want them to be publicly available to put a .htaccess file in there.
For future releases of the library, I will add these instructions as well. I put in an issue at http://code.google.com/p/quail-lib/issues/detail?id=25. I'm on a phone right now, but I'll commit those changes to directories soon.
Comment #8
Anonymous (not verified) commentedAnother possible issue is that by default QUAIL is archived in a directory with a version number appended (like "quail-lib-0.3.8") - not being a big drush user myself, I was wondering if I could get feedback on that. I know you can do something like:
Would that suffice? If not, I'm going to have to change how QUAIL gets packaged, which was initially with version numbers appended to avoid confusion because the development cycle was very fast, but it's less so now.
Comment #9
simon georges commented@kevee, you're exactly right: when using Drush Make, if you add the line you mentionned, the file is extracted into a
quaildirectory. The lines I used to test are :Regards,
Comment #10
Anonymous (not verified) commentedJust committed this to dev. This change, along with the upgrade to handle either the BeautyTips 1.0 or 2.0 module will be rolled into a 1.1 release soon.
Comment #11
simon georges commentedThanks a lot !
Regards,
Simon