Hi, thanks for all of the hard work putting the drush_extras stuff back into drush. I'm hoping the cvs stuff will be moved back as well? It would be a great boon for sites wanting to do large updates across multiple sites.
Hi, thanks for all of the hard work putting the drush_extras stuff back into drush. I'm hoping the cvs stuff will be moved back as well? It would be a great boon for sites wanting to do large updates across multiple sites.
Comments
Comment #1
moshe weitzman commentedpm commands will move very soon.
Comment #2
chrisschaub commentedThanks Moshe, great stuff. I'll definitely help test it out.
Comment #3
webchickDoes this mean that it'll be possible to check out an initial copy of Drupal core from CVS with Drush?
That's the one feature I'm sorely missing right now. :(
Comment #4
owen barton commentedI was working on moving the "PM" commands from extras to core today, and have them pretty much working. If folks want to help out, please test and review #415108: Conditional include API which should really go in first. I'll reopen this issue as a placeholder.
@webchick - yes, drush will download drupal core with you, either via wget or CVS if you have drush_extras available - it will also download themes, translations and install profiles too. At least, the last working version did, but things are moving pretty fast so I can't say for sure about HEAD (...one day we'll have tests hay) if it isn't right now you could always copy the pm.cvs.drush.inc from extras to the core directory and that should work just as well.
Comment #5
moshe weitzman commentedgreat news ... feel free to move dl command and associated helper functions into your pm file.
Comment #6
dugh commentedsubscribe
Comment #7
timmillwoodSounds good, I rolled my own script to do it, (see http://millwoodonline.co.uk/streamline-drupal-cvs-checkout) but if Drush could do it, that would be better.
Comment #8
owen barton commentedCommitted a first pass at these. Still need to do some refinement to get the engine help and options working correctly, and to split out some of the commands into their own files, but it should all be pretty straightforward now. Note that the --handler parameter is now --package-handler.
Comment #9
moshe weitzman commentedpm info command gives Fatal error: Call to undefined function pm_get_project_info(). i think we just need a drush_include() call.
dl command is duplicated with pm_dl(). same for wget. seems like the ones in core can be dropped. use core dl's help and examples though.
Comment #10
owen barton commentedFixed those 2 issues and another one with refresh. I am sure there are some more in there to discover though, once we start using it in earnest!
Comment #11
moshe weitzman commentedMinor bug in disable command? See below.
Also, status modules command can't be run because we execute status command instead. I think we said that this is a known issue and we have to rename status modules.
Update bug? See below:
Comment #12
moshe weitzman commentedComment #13
moshe weitzman commentedBoth issues have been resolved. First was a problem with a .info that I had enabled.