how to contribute to drupal

70
How to Contribute to Drupal A guide for everyone from “newbie” to “ninja”

Upload: wizzlern

Post on 20-Jun-2015

2.194 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: How to contribute to drupal

How to Contribute to Drupal

A guide for everyone from “newbie” to “ninja”

Page 2: How to contribute to drupal

Something to keep in mind...

Page 3: How to contribute to drupal

Open source users

Page 4: How to contribute to drupal

Spoiler: You want to be part of that 2%.

And we’ll bend over backwards to help you get there.

Page 5: How to contribute to drupal

Who am I

Page 6: How to contribute to drupal

Erik StielstraSutharsan

Page 7: How to contribute to drupal

Who are you

Page 8: How to contribute to drupal

What’s your sign?

Page 9: How to contribute to drupal

Newbie

Page 10: How to contribute to drupal

Your mission:Help other newbies not bash their heads against the

same stuff you had to.

Page 11: How to contribute to drupal

User

Page 12: How to contribute to drupal

Your mission:Guide and mentor the newbies to get them out of the

frustrated place.

Page 13: How to contribute to drupal

Site Builder

Page 14: How to contribute to drupal

Your mission:Provide “from the trenches” information to developers.

Page 15: How to contribute to drupal

Developer

Page 16: How to contribute to drupal

Your mission:Make Drupal more awesome!

Page 17: How to contribute to drupal

Ninja

Page 18: How to contribute to drupal

Your mission:Turn developers into fellow ninjas.

Page 19: How to contribute to drupal

How can you help?

Page 20: How to contribute to drupal

Ways that anyone can contribute...

Page 21: How to contribute to drupal

Advocacy

Page 22: How to contribute to drupal

Events

Page 23: How to contribute to drupal

Translations

Page 24: How to contribute to drupal

Graphics

Page 25: How to contribute to drupal

$$$

Page 26: How to contribute to drupal

Ways that newbies can contribute...

Page 27: How to contribute to drupal

Report problems with documentation.

Page 28: How to contribute to drupal

Provide usability feedback.

Page 29: How to contribute to drupal

Example

Page 30: How to contribute to drupal

Module list in 4.7.x

Page 31: How to contribute to drupal

Module list in 5.x

Page 32: How to contribute to drupal

Module list in 6.x

Page 33: How to contribute to drupal

Module list in 7.x

Page 34: How to contribute to drupal

Ways that users can contribute...

Page 35: How to contribute to drupal

Help out with user support.

Page 36: How to contribute to drupal

Improve documentation

Page 37: How to contribute to drupal

How to help with documentation

•Create an account on drupal.org

•Create new pages

• Improve/fix text

•Roll-in comments

Page 38: How to contribute to drupal

Hands-on: Create an account! :)

Page 39: How to contribute to drupal

Issue queue house-cleaning.

Page 40: How to contribute to drupal

Ways that site builders can contribute...

Page 41: How to contribute to drupal

File feature requests.

Page 42: How to contribute to drupal

File bug reports.

Page 43: How to contribute to drupal

Bad bug reports

•“It’s broke.”

•“OMG!1! READ THIS!1!”

•“You suck.”

Page 44: How to contribute to drupal

Good bug reports

•Search first.

•What did you do?

•What did you expect to happen?

•What happened instead?

Page 45: How to contribute to drupal

Testing and reviewing patches.

Page 46: How to contribute to drupal

What is a “patch?”

Index: modules/book/book.info===================================================================RCS file: /cvs/drupal/drupal/modules/book/book.info,vretrieving revision 1.4diff -u -p -r1.4 book.info--- modules/book/book.info 8 Jun 2007 05:50:53 -0000 1.4+++ modules/book/book.info 22 Jul 2007 16:54:33 -0000@@ -1,6 +1,6 @@ ; $Id: book.info,v 1.4 2007/06/08 05:50:53 dries Exp $ name = Book-description = Allows users to collaboratively author a book.+description = Allows users to structure site pages in a hierarchy or outline. package = Core - optional version = VERSION core = 6.x

Page 47: How to contribute to drupal

Bad patch reviews

•“+1”

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

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

Page 48: How to contribute to drupal

Good patch reviews

•Describe 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 49: How to contribute to drupal

Tools of the trade

•cvs checkout drupal

•http://drupal.org/node/320 & 321

•patch -p0 < patch.patch

•http://drupal.org/patch

Page 50: How to contribute to drupal

Demo: Let’s test a patch!

Page 51: How to contribute to drupal

Ways that developers can contribute

Mission: Make Drupal more awesome!

Page 52: How to contribute to drupal

Help with developer documentation.

Page 53: How to contribute to drupal

Contribute modules and themes.

Page 54: How to contribute to drupal

Steps to becoming a code contributor

•Search first.

•Apply for a CVS/Git account.

•Check-in your code.

•Create a project.

•Maintain your issue queue. ;)

Page 55: How to contribute to drupal

Create patches.

Page 56: How to contribute to drupal

Tools of the Trade

•Coding standards

•http://drupal.org/node/318

•cvs checkout drupal

•cvs diff -up > patch.patch

•drupal-actions-usability-cleanup-172773-81.patch

•Thick skin ;)

Page 57: How to contribute to drupal

Demo: Let’s create a patch!

Page 58: How to contribute to drupal

Ways that ninjas can contribute

Mission: Create more ninjas.

Page 59: How to contribute to drupal

Mentor new developers.

Page 60: How to contribute to drupal

Organize development efforts.

Page 61: How to contribute to drupal

Help maintain drupal.org.

Page 62: How to contribute to drupal

Wow, this sounds like an awful lot of work.

Why should I bother?

Page 63: How to contribute to drupal

Open source is a meritocracy.Karma is the official currency.

Page 64: How to contribute to drupal

Saves time and money.

Page 65: How to contribute to drupal

Gets you more business and attracts

better people.

Page 66: How to contribute to drupal

It means easier maintenance for your

sites.

Page 67: How to contribute to drupal

Makes you a better programmer.

Page 68: How to contribute to drupal

Gives you direct control over the

direction of project.

Page 69: How to contribute to drupal

Questions?

Page 70: How to contribute to drupal

www.wizzlern.nl

This work is licensed under aCreative Commons Attribution 3.0 Unported License.