Comments

mitchell’s picture

The benefits include
- decreased burden in setup: it has a drush.bat for windows; and for linux, all you have to do is ln /usr/bin/php to drush.php
- its' already ported to D7 !!
- it's very close to being, or already is core-worthy
- many people already use it and are familiar with using it at the command line. this project could greatly extend its user base

swentel’s picture

Subscribing, I'll see if I can create a backend for plugin manager.

Edit:: this probably won't work at all with Drush.

chx’s picture

Status: Active » Closed (won't fix)

Another genius proposal! If drush is executed by the webserver then it will write PHP files by the webserver user which is exactly what plugin manager is written not to do.

Frando’s picture

The only way this could work is by having plugin manager somehow prepare everything from the UI and then having the user ssh into the machine and doing something like "drush pluginmanager apply". But then the difference to just using drush pm is quite minor.

mitchell’s picture

@Frando: as per your question in IRC about WordPress Automatic Upgrade, I found on its faq: http://wordpress.org/extend/plugins/wordpress-automatic-upgrade/faq/

Do I need to change permissions on files?

No WPAU will ask you for your FTP credentials and do it automatically.

mitchell’s picture

Status: Closed (won't fix) » Active

I'm setting this back to active because Frando's "drush pluginmanager apply" idea hasn't had a chance for evaluation. This also relates to running the command on cron. Here's catch__ and chx's discussion about running this on cron:

 <catch__> if we can queue stuff and have drush run via cron, that'd be pretty cool.
 <chx> because we created an automated mechanism again where you do something on a webserver and automatically files get written and eventually executed by Apahce
 <chx> not immediately
 <chx> but eventually
 <chx> so this needs quite some thought
 <catch__> chx: not by apache, run via php cli.
 <catch__> chx: extra cron job just for cron.
 <catch__> just for drush.
 <chx> catch__: there is a chain of actions here. you tell pm , i want this installed. cron runs , php file gets written. so if i can do a CSRFC attack against PM then you are toast...
 <chx> *CSRF
 <chx> so while Apache does not write PHP, indirectly it does
 <catch__> chx: yes of course - and ftp handles this by requiring user/password right?
 <chx> yes
 <chx> and password is not stored
 <chx> now, if you go indirect route then you must store
 <catch__> chx: OK, so seems like a solvable problem, just needs to be solid.
 <chx> not easy
 <catch__> chx: well, settings.php?
 <chx> I am not sure it's solveable
jabapyth’s picture

Status: Active » Closed (won't fix)

I dont think this makes sense as a backend, because Drush would almost definitely need to use a backend to modify/upload files; and since drush already has a function for installing/managing plugins, I'm going to say this is a wont fix.

frazras’s picture

Webenabled.com does a pretty nice job with a Drush frontend. Anybody here has any clue how they do it?

frazras’s picture

Status: Closed (won't fix) » Active

Just making this "re-active" re: Seeing that webeanbled.com did it quiet well. Therefore I am assuming there must be a safe way to accomplish this. Also interestingly their interface looks pretty close to Plugin Manager's interface.

Anonymous’s picture

Version: 6.x-1.x-dev » 6.x-2.x-dev
justindavis’s picture

subscribing.

jrowny’s picture

If you're feeling adventurous you can build this project with Flash Builder 4... http://code.google.com/p/drushpal/

It's a Drush GUI that uses SSH. Right now it only works on windows but it will not take much work to make it work on Linux/Mac. Current features are pretty limited, but it's getting there as I have free time. Code is pretty simple if anyone wants to jump in and help!
tech note: requires a server with SSH and Drush 4.4 installed.