How To Contribute To Drupal Drupal - DrupalCon Paris

51
How to Contribute to Drupal (And become a Drupal ninja!)

description

 

Transcript of How To Contribute To Drupal Drupal - DrupalCon Paris

Page 1: How To Contribute To Drupal Drupal - DrupalCon Paris

How to Contribute to Drupal

(And become a Drupal ninja!)

Page 2: How To Contribute To Drupal Drupal - DrupalCon Paris

Stand up

Page 3: How To Contribute To Drupal Drupal - DrupalCon Paris

Can you name this character?

Page 4: How To Contribute To Drupal Drupal - DrupalCon Paris

Raphael(of Teenage Mutant Ninja Turtles)

Page 5: How To Contribute To Drupal Drupal - DrupalCon Paris

Stand up

(again)

Page 6: How To Contribute To Drupal Drupal - DrupalCon Paris

Do you contribute to Drupal?

Page 7: How To Contribute To Drupal Drupal - DrupalCon Paris

Follow along at

http://tinyurl.com/contribute-drupal

Page 8: How To Contribute To Drupal Drupal - DrupalCon Paris

Ways that anyone can contribute...

Page 9: How To Contribute To Drupal Drupal - DrupalCon Paris

Advocacy

Page 10: How To Contribute To Drupal Drupal - DrupalCon Paris

Get involved with your local Drupal community

on groups.drupal.org

Page 11: How To Contribute To Drupal Drupal - DrupalCon Paris

Translations

http://drupal.org/contribute/translationshttp://groups.drupal.org/[email protected]://localize.drupal.org/

Page 12: How To Contribute To Drupal Drupal - DrupalCon Paris

Graphics

Page 13: How To Contribute To Drupal Drupal - DrupalCon Paris

$$$ or €€€http://association.drupal.org

Page 14: How To Contribute To Drupal Drupal - DrupalCon Paris

Report problems with documentation.

http://drupal.org/handbook

Page 15: How To Contribute To Drupal Drupal - DrupalCon Paris

Provide usability feedback.

http://groups.drupal.org/usabilitydrupal.org Issue queue

Page 16: How To Contribute To Drupal Drupal - DrupalCon Paris

E.g.

Page 17: How To Contribute To Drupal Drupal - DrupalCon Paris

Help out with user support.

Page 18: How To Contribute To Drupal Drupal - DrupalCon Paris

Improve documentation

Page 19: How To Contribute To Drupal Drupal - DrupalCon Paris

How to help with documentation

Improve / fix text

Create new pages

Roll-in comments

Page 20: How To Contribute To Drupal Drupal - DrupalCon Paris

Issue queue house-cleaning.

Page 21: How To Contribute To Drupal Drupal - DrupalCon Paris

File feature requests.

Page 22: How To Contribute To Drupal Drupal - DrupalCon Paris

File bug reports.

Page 23: How To Contribute To Drupal Drupal - DrupalCon Paris

Bad bug reports

“It’s broke.”

“OMG!1! READ THIS!1!”

“You suck.”

"Make it work"

Page 24: How To Contribute To Drupal Drupal - DrupalCon Paris

Good bug reports

Search first.

What did you do?

What did you expect to happen?

What happened instead?

Page 25: How To Contribute To Drupal Drupal - DrupalCon Paris

Search first!

Page 26: How To Contribute To Drupal Drupal - DrupalCon Paris

Testing and reviewing patches.

Page 27: How To Contribute To Drupal Drupal - DrupalCon Paris

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()) {

Page 28: How To Contribute To Drupal Drupal - DrupalCon Paris

Finding a patchIssue queues

Novice tag; http://drupal.org/patch/novice

Play patch bingo

Page 29: How To Contribute To Drupal Drupal - DrupalCon Paris

Bad patch reviews

“+1”

“I haven’t read the issue, but...”

“I haven’t tested the patch, but...”

Page 30: How To Contribute To Drupal Drupal - DrupalCon Paris

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 ;)).

Page 31: How To Contribute To Drupal Drupal - DrupalCon Paris

Tools of the trade

cvs checkout drupalhttp://drupal.org/node/320 & 321

patch -p0 < patch.patchhttp://drupal.org/patch

Page 32: How To Contribute To Drupal Drupal - DrupalCon Paris

Demo

Let’s test a patch!

Page 33: How To Contribute To Drupal Drupal - DrupalCon Paris

Help with developer documentation.

Page 34: How To Contribute To Drupal Drupal - DrupalCon Paris

Contribute (to) modules & themes

Page 35: How To Contribute To Drupal Drupal - DrupalCon Paris

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. ;)

Page 36: How To Contribute To Drupal Drupal - DrupalCon Paris

Create patches.

Page 37: How To Contribute To Drupal Drupal - DrupalCon Paris

Tools of the TradeCoding standards http://drupal.org/coding-standardsCoder module http://drupal.org/project/coder

cvs checkoutcvs diff -up > my.patch

Thick skin ;)

Page 38: How To Contribute To Drupal Drupal - DrupalCon Paris

Demo: Let’s create a patch!

Page 39: How To Contribute To Drupal Drupal - DrupalCon Paris

Mentor new developers.

Page 40: How To Contribute To Drupal Drupal - DrupalCon Paris

Get involved with a specialist group on groups.drupal.org

Page 41: How To Contribute To Drupal Drupal - DrupalCon Paris

Organize development efforts.

Page 42: How To Contribute To Drupal Drupal - DrupalCon Paris

Wow, this sounds like an awful lot of work.

Why should I bother?

Page 43: How To Contribute To Drupal Drupal - DrupalCon Paris

Drupal is aDO-ocracy

Karma is the official currency.

Page 44: How To Contribute To Drupal Drupal - DrupalCon Paris

Saves time and money.

Page 45: How To Contribute To Drupal Drupal - DrupalCon Paris

Gets you more business and attracts

better people.http://buytaert.net/contributing-back-to-drupal

Page 46: How To Contribute To Drupal Drupal - DrupalCon Paris

More eyes & reviews on your code

Makes you a better programmer.

Page 47: How To Contribute To Drupal Drupal - DrupalCon Paris

Gives you direct input into the direction of

project.

Page 48: How To Contribute To Drupal Drupal - DrupalCon Paris

Stand up

Page 49: How To Contribute To Drupal Drupal - DrupalCon Paris

Do you know a way you can contribute to Drupal?

(not money)

Page 50: How To Contribute To Drupal Drupal - DrupalCon Paris

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

Page 51: How To Contribute To Drupal Drupal - DrupalCon Paris

Questions?