Drush IRC

Track: 
Drupal Community
Experience: 
Intermediate

Not everyone who uses Drupal to build websites has experience or comfort with command line to utilize the awesomeness of Drush. Relying on FTP to add modules and themes wastes time and money that could be devoted to more useful tasks, and also means missing out on all the other Drush tools that make Drupal site-building so much easier. Drush IRC inserts an IRC UI for Drush, making Drush commands available to any users comfortable with IRC. We have also addressed issues related to security and access.

Similar to Drush, Drush IRC is not a Drupal module, and is independent of Drupal versions. It is a set of scripts that allow users to execute Drush commands from IRC. On some system configurations, Drush can result in problematic file ownership issues. We wrote a small "Drush Command" to eliminate this issue.

DrupalCon Chicago will be the first place Drush IRC is publicly discussed. We are hoping the community has ideas on how to improve and extend Drush IRC. Please vote and attend to let us know your ideas. If our presentation is selected, we will dedicate time to contributing Drush IRC back to the community in time for DrupalCon Chicago.

Drush IRC System Requirements:

  • Eggdrop IRC bot
  • Drush installation accessible by the bot
  • Drupal site accessible by Drush

Example Usage:

Slurpee: !drush phamilydev.net dl views

Phamily-Bot: Result of command /usr/local/bin/drushhack -y -r /var/www/sites/phamilydev.net/htdocs dl views executed on dev
Project views (6.x-2.11) downloaded to /var/www/sites/phamilydev.net/htdocs/sites/all/modules/views. [success]

Slurpee: !drush phamilydev.net en views

Phamily-Bot: Result of command /usr/local/bin/drushhack -y -r /var/www/sites/phamilydev.net/htdocs en views executed on dev
The following projects will be enabled: views
Do you really want to continue? (y/n): y
views was enabled successfully. [ok]

Intended audience: 

Groups collaborating on a Drupal project. IRC users who also utilize Drush. Virtual companies which use IRC as their office. Developers who aren't allowed to have SSH access. System administrators who don't want to allow SSH access to developers. Developers, site builders, and themers who want to learn command line in a safe environment. Users with little or no command line experience, but want to try Drush.

Questions answered by this session
Question 1: 
What is Drush IRC?
Question 2: 
Why use Drush IRC?
Question 3: 
How to use Drush IRC?
Question 4: 
How to configure Drush IRC?
Question 5: 
How to add security levels to Drush IRC?
3.035715
Your rating: None Average: 3 (28 votes)

Comments

Wrong track?

This belongs in coder track, doesn't it?

Diamond Sponsors

 
Palantir.net
VPS NET

Platinum sponsors

 
workhabit
Trellon

Gold Sponsors

 
Drupal Connect
NorthPoint
Duo
Chapter Three
Microsoft
HotDrupal.com
Treehouse Agency