The second example for dog-dl is as follows:
'drush dog-dl https://github.com/kete/tiny_mce.git sites/all/libraries/tiny_mce' =>
'Initialize tiny_mce from github in sits/all/libraries'
I really like the possibility to be able to add external libraries or drupal projects from other repositories.
Unfortunately, drush pm-download doesn't support this at the moment.
A great solution would be to have one shared package handler for drush pm, drush dog and drush make that supports all of their options.
In the mean time, I started on a dog-dl implementation that is independent (though based on) of pm-download. If you're interested, I'm happy to share the code after running some more tests. Probably after Easter.
Comments
Comment #1
ChrisBryant commentedI'd like to know more about this as well and am happy to help with testing.
Comment #2
Anonymous (not verified) commentedLooks like Sam (sdboyer) is working on this in the custom-dl branch.
Comment #3
Anonymous (not verified) commentedFor anyone interested, I include the dog-dl code I made for myself.
I hope it can be useful for the dog-dl development
It supports the d.o. repository,
example: drush dog-dl --branch=devel libraries
local git repositories:
drush dog-dl --branch=devel /home/git/drupal/my_module.git sites/all/modules/my_module
and non-d.o. remote repositories
drush dog-dl --branch=devel https://github.com/kete/tiny_mce.git sites/all/libraries/tiny_mce
Specifying a local branch is required for this code