drush dl moduleName assumes the download is coming from drupal.org. The url to the xml release information is hard coded to be drupal.org. How about a command line option to override that. To say, point it to a feature server or some other location supplying the proper xml information.
Comments
Comment #1
moshe weitzman commentedfeatures module has drush integration. lets start there.
Comment #2
moshe weitzman commentedI should clarify - i want a lifecycle plan from the features folks about what drush functionality is needed from the core drush commands. it might make sense to do what you describe for dl command then let enable/disable commands do their thing. and after that you use feature specific commands for revert and stuff?
Comment #3
moshe weitzman commentedComment #4
mfer commentedI would expect the drush core commands to just treat them like any other module/theme. So "drush dl" would just download them. Anything specific to features should be in features.
A second use case is a company has company specific module(s) or theme(s) that aren't on drupal.org. These modules could be custom to specific internals in the company or a theme that has proprietary company images in it. They have a place providing the proper xml and want to use drush to download them to the site they are working on.
Ideally, I'd just like a command line option to switch to a different server.
Comment #5
moshe weitzman commentedCommitted a --source option where one can specify a URL.