How to Contribute to Drupal (And become a Drupal ninja!)
Jan 27, 2015
How to Contribute to Drupal
(And become a Drupal ninja!)
Stand up
Can you name this character?
Raphael(of Teenage Mutant Ninja Turtles)
Stand up
(again)
Do you contribute to Drupal?
Follow along at
http://tinyurl.com/contribute-drupal
Ways that anyone can contribute...
Advocacy
Get involved with your local Drupal community
on groups.drupal.org
Translations
http://drupal.org/contribute/translationshttp://groups.drupal.org/[email protected]://localize.drupal.org/
Graphics
$$$ or €€€http://association.drupal.org
Report problems with documentation.
http://drupal.org/handbook
Provide usability feedback.
http://groups.drupal.org/usabilitydrupal.org Issue queue
E.g.
Help out with user support.
Improve documentation
How to help with documentation
Improve / fix text
Create new pages
Roll-in comments
Issue queue house-cleaning.
File feature requests.
File bug reports.
Bad bug reports
“It’s broke.”
“OMG!1! READ THIS!1!”
“You suck.”
"Make it work"
Good bug reports
Search first.
What did you do?
What did you expect to happen?
What happened instead?
Search first!
Testing and reviewing patches.
What is a “patch?”Index: modules/node/node.module===================================================================RCS file: /cvs/drupal/drupal/modules/node/node.module,vretrieving revision 1.1117diff -u -p -r1.1117 node.module--- modules/node/node.module 31 Aug 2009 17:06:09 -0000 1.1117+++ modules/node/node.module 2 Sep 2009 08:40:24 -0000@@ -1898,7 +1898,7 @@ function node_page_default() { else { drupal_set_title(t('Welcome to @site-name', array('@site-name' => variable_get('site_name', 'Drupal'))), PASS_THROUGH); - $default_message = '<p>' . t('No page content has been created yet.') . '</p>';+ $default_message = '<p>' . t('No front page content has been created yet.') . '</p>'; $default_links = array(); if (_node_add_access()) {
Finding a patchIssue queues
Novice tag; http://drupal.org/patch/novice
Play patch bingo
Bad patch reviews
“+1”
“I haven’t read the issue, but...”
“I haven’t tested the patch, but...”
Good patch reviewsDescribe what you did.
Describe your results.
Give your opinion about what this means, based on experience, background, etc.
Be as nit-picky as possible (within reason ;)).
Tools of the trade
cvs checkout drupalhttp://drupal.org/node/320 & 321
patch -p0 < patch.patchhttp://drupal.org/patch
Demo
Let’s test a patch!
Help with developer documentation.
Contribute (to) modules & themes
Become a code contributor
Search for existing similar code.
Apply for a CVS account.
Check-in your code.
Create a project.
Maintain your issue queue. ;)
Create patches.
Tools of the TradeCoding standards http://drupal.org/coding-standardsCoder module http://drupal.org/project/coder
cvs checkoutcvs diff -up > my.patch
Thick skin ;)
Demo: Let’s create a patch!
Mentor new developers.
Get involved with a specialist group on groups.drupal.org
Organize development efforts.
Wow, this sounds like an awful lot of work.
Why should I bother?
Drupal is aDO-ocracy
Karma is the official currency.
Saves time and money.
Gets you more business and attracts
better people.http://buytaert.net/contributing-back-to-drupal
More eyes & reviews on your code
Makes you a better programmer.
Gives you direct input into the direction of
project.
Stand up
Do you know a way you can contribute to Drupal?
(not money)
Useful links
These slides http://tinyurl.com/contribute-drupal
How to contribute: http://drupal.org/contribute
User groups: http://groups.drupal.org
Creating patches: http://drupal.org/patch/create
Finding patches: http://drupal.org/patch
Novice issues: http://tinyurl.com/drupalnovice
Contribute to documentation: http://drupal.org/contribute/documentation
Questions?