Closed (works as designed)
Project:
Barracuda
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
18 Sep 2011 at 21:04 UTC
Updated:
20 Oct 2012 at 20:10 UTC
BOA only lets you run a subset of the drush commands. While the command you can run are documented if you run the 'help' command, they are mostly listed with their short name and it is hard to know what they do. It would be nice if there was documentation on what commands you can run with their descriptions.
Also, some commands don't work or exist. dbup, gm, mup, sm.
Comments
Comment #1
omega8cc commentedWe need to document only three aliases we introduced. All the rest is documented on the drush.ws website.
drush up*is denied for good reasons, but still available.It is a bit hidden in the configuration to discourage this insecure practice, as you should never run updates on live sites - instead you should create a new platform with updated modules and use Aegir migration task (first testing the migration on cloned site).
The correct commands are "drush mup", which is an alias for original "drush up" and "drush dbup" which is an alias for original "drush updatedb", but really, avoid using it, as it is completely against all Aegir best practices and has no roll-back option so you will run this on your own risk - "upgrade & pray it will not crash the site".
Of course both commands are still useful to create new platform with updated code - if you know what are you doing.
So here is a quick docs draft:
drush gmis an alias fordrush generate-makefile, see http://drupalcode.org/project/barracuda.git/commit/356caaadrush dbupis an alias fordrush updatedbdrush mupis an alias fordrush upcdrush smexisted in Drush 3 and is now replaced withdrush pmlin Drush 4 - we need to fix this one.Comment #2
chrowe commentedSome command are working but not listed. i.e. pmi, pml
Comment #3
omega8cc commentedYes, this is normal, because
drush *anything*is allowed, unlessdrush *something*is denied or hidden with non-standard aliases. We need to document it anyway.Both
drush pmianddrush pmlare now added to the list of displayed/allowed commands (in HEAD).Comment #4
omega8cc commentedThere is an excellent article about it: http://cms.about.com/od/omega8/a/Using-The-Shell-With-Omega8-Aegir-Web-H...