I've seen other modules which are dependant on third party libraries incorperate this, so it is not impossible.
Essentially, make a drush chosen-dl command which downloads the chosen library for the drupal install. The really nice ones i've seen have arguments to allow one to have it choose the site specific folder for libraries as the location (/sites/site-name/libraries).
Also, potentially include an update command to remove the existing library and download the latest; something like drush chosen-up. The commands given here are likely better used as aliases for the commands, imho.
This would also help correct issues of having the library one directory too deep as per #1230354, since you could make any command line statements execute during the download of it.
The makefile approach is good for brand new drupal installs; this would ease integration in an already established site, should someone find this module at a later point in the development cycle.
Comments
Comment #0.0
tnanek commentedUpdating syntax, accidentally thought markdown would be recognized.
Comment #1
polOk I take care of this ;-)
Comment #2
Cyclodex commentedhowdy, this is really old now :)
Any Feedback? Did you have any progress! Would be really cool :D
Comment #3
polUnfortunately not a lot of time these days, I'll try my best to do it this week.
Comment #4
Cyclodex commentedOh, yea I know! It is really hard. I also try my best to get this project a bit more freshness :D
I am cleaning up the issue list, making some commits and changes. Hopefully we will got soon a new release, and if you really can commit this in the next week this would be great! But I would also like it if you need 2 or 3 weeks, to have your help would just be great!
Thanks a lot!
Comment #5
Cyclodex commentedHey Pol. I just tested this, and have found an other issue which is now closed too.
For me it looks like this is already working fine! Especially after the latest change from today : http://drupalcode.org/project/chosen.git/commit/31b7aef
If you have the latest version of chosen module, you can simply do:
drush make --no-core sites/all/modules/chosen/chosen.makeWhich will download the chosen library. Can you please test and give feedback if that is working for you ?
Note:
Be sure you are using the latest drush version!(5.4) And only test this on a dev server! An older version of drush just deleted my whole modules directory after this. No idea why :) But with the new one it seems to work fine.
So not sure what you intended to do, but this looks already pretty nice for me.
Comment #6
kalman.hosszu commentedI tested it, it works.
Comment #7.0
(not verified) commentedThought issue numbers turned into links automatically.