Staking Your Claim In Open Source

79
Staking Your Claim in OSS How To Succeed at Open Source Development Wednesday, October 13, 2010

description

Talk given at Mountain.rb

Transcript of Staking Your Claim In Open Source

Page 1: Staking Your Claim In Open Source

Staking Your Claim in OSS

How To Succeed at Open Source Development

Wednesday, October 13, 2010

Page 2: Staking Your Claim In Open Source

Evan Phoenix

Rubinius

Engine Yard

Wednesday, October 13, 2010

Page 3: Staking Your Claim In Open Source

4 Laws/Guidelines

Wednesday, October 13, 2010

Page 4: Staking Your Claim In Open Source

1Contributors are a privilege

Wednesday, October 13, 2010

Page 5: Staking Your Claim In Open Source

2“No” is an acceptable answer

Wednesday, October 13, 2010

Page 6: Staking Your Claim In Open Source

3Responsibility is power

Wednesday, October 13, 2010

Page 7: Staking Your Claim In Open Source

4Communicate.A lot.

Wednesday, October 13, 2010

Page 8: Staking Your Claim In Open Source

Be nice.

Wednesday, October 13, 2010

Page 9: Staking Your Claim In Open Source

They’re doing you a favor.

Wednesday, October 13, 2010

Page 10: Staking Your Claim In Open Source

Keep your cool

Wednesday, October 13, 2010

Page 11: Staking Your Claim In Open Source

Case Study 1:The unwanted feature

Wednesday, October 13, 2010

Page 12: Staking Your Claim In Open Source

“I added the ability to avoid flushing the

toilet!”

Contributor:

Wednesday, October 13, 2010

Page 13: Staking Your Claim In Open Source

Wednesday, October 13, 2010

Page 14: Staking Your Claim In Open Source

“What an idiot.”

What you might think:

Wednesday, October 13, 2010

Page 15: Staking Your Claim In Open Source

Deep Breath.Chillax.

Apply the laws.

Wednesday, October 13, 2010

Page 16: Staking Your Claim In Open Source

“Great! But we’re not ready to integrate

that.”

What you say:

Wednesday, October 13, 2010

Page 17: Staking Your Claim In Open Source

•Why they want it.

•Why you don’t.

Talk about:

Wednesday, October 13, 2010

Page 18: Staking Your Claim In Open Source

Forking for all theright reasons

Wednesday, October 13, 2010

Page 19: Staking Your Claim In Open Source

Fork for love,not for hate

Wednesday, October 13, 2010

Page 20: Staking Your Claim In Open Source

“The other devs are assholes.”

Bad Reason:

Wednesday, October 13, 2010

Page 21: Staking Your Claim In Open Source

“I want to experiment with something new.”

Good Reason:

Wednesday, October 13, 2010

Page 22: Staking Your Claim In Open Source

Fork in public

Wednesday, October 13, 2010

Page 23: Staking Your Claim In Open Source

Be the forks friend

Wednesday, October 13, 2010

Page 24: Staking Your Claim In Open Source

Process

Wednesday, October 13, 2010

Page 25: Staking Your Claim In Open Source

Too much process=

contributor pain

Wednesday, October 13, 2010

Page 26: Staking Your Claim In Open Source

Too little process=

project pain

Wednesday, October 13, 2010

Page 27: Staking Your Claim In Open Source

Avoid complicatedsetup/workflow

Wednesday, October 13, 2010

Page 28: Staking Your Claim In Open Source

Premature process is the root of

all frustration

Wednesday, October 13, 2010

Page 29: Staking Your Claim In Open Source

Case Study 2:Controlling the Chaos

Wednesday, October 13, 2010

Page 30: Staking Your Claim In Open Source

“Here are 10 new patches!”

Contributor:

Wednesday, October 13, 2010

Page 31: Staking Your Claim In Open Source

Wednesday, October 13, 2010

Page 32: Staking Your Claim In Open Source

“These patches overlap with stuff we

already wrote,”

Committer:

Wednesday, October 13, 2010

Page 33: Staking Your Claim In Open Source

“And they introduce 5 new

dependencies...”

Committer:

Wednesday, October 13, 2010

Page 34: Staking Your Claim In Open Source

“And they’re in a completely different

style.”

Committer:

Wednesday, October 13, 2010

Page 35: Staking Your Claim In Open Source

Wednesday, October 13, 2010

Page 36: Staking Your Claim In Open Source

Remember the laws.

Wednesday, October 13, 2010

Page 37: Staking Your Claim In Open Source

Use this as a teachable moment

Wednesday, October 13, 2010

Page 38: Staking Your Claim In Open Source

“Thanks for all the hard work, we need to discuss this first.”

Committer:

Wednesday, October 13, 2010

Page 39: Staking Your Claim In Open Source

Discuss

•How to keep patches up to date

• Architecture integration

• Adhering to style guide

Wednesday, October 13, 2010

Page 40: Staking Your Claim In Open Source

Revise Process

•How and when to submit patches

• Document architecture and style guide

Wednesday, October 13, 2010

Page 41: Staking Your Claim In Open Source

Worst Case

Wednesday, October 13, 2010

Page 42: Staking Your Claim In Open Source

“I’m not willing to change for you.”

Contributor:

Wednesday, October 13, 2010

Page 43: Staking Your Claim In Open Source

“Sorry to hear that, have a good life.”

Committer:

Wednesday, October 13, 2010

Page 44: Staking Your Claim In Open Source

Best Case

Wednesday, October 13, 2010

Page 45: Staking Your Claim In Open Source

Common Case

Wednesday, October 13, 2010

Page 46: Staking Your Claim In Open Source

“No problem, I’ll get right on that.”

Contributor:

Wednesday, October 13, 2010

Page 47: Staking Your Claim In Open Source

Enthusiasmis

Transformative

Wednesday, October 13, 2010

Page 48: Staking Your Claim In Open Source

Easy Wins

Wednesday, October 13, 2010

Page 49: Staking Your Claim In Open Source

“How can I help?”

Wednesday, October 13, 2010

Page 50: Staking Your Claim In Open Source

Simple goals,easy tasks

Wednesday, October 13, 2010

Page 51: Staking Your Claim In Open Source

Run this command,fix what is broken.

Wednesday, October 13, 2010

Page 52: Staking Your Claim In Open Source

Rubinius&

RubySpec

Wednesday, October 13, 2010

Page 53: Staking Your Claim In Open Source

90%+ committers

Wednesday, October 13, 2010

Page 54: Staking Your Claim In Open Source

Dirkjan Bussink

Wednesday, October 13, 2010

Page 55: Staking Your Claim In Open Source

Wednesday, October 13, 2010

Page 56: Staking Your Claim In Open Source

commit 5386d9299360b5f1ede14392b97da6dc7163ed00Author: Dirkjan Bussink <[email protected]>Date: Tue Jan 8 20:29:01 2008 +0100

Added Process::POSIX safety checks

kernel/core/process.rb | 87 +++++++++++++++++++++++++++++++++++------------ 1 files changed, 65 insertions(+), 22 deletions(-)

Wednesday, October 13, 2010

Page 57: Staking Your Claim In Open Source

446 commits

Wednesday, October 13, 2010

Page 58: Staking Your Claim In Open Source

Easy wins are agateway drug.

Wednesday, October 13, 2010

Page 59: Staking Your Claim In Open Source

No Core Team

Wednesday, October 13, 2010

Page 60: Staking Your Claim In Open Source

Trust is transformative

Wednesday, October 13, 2010

Page 61: Staking Your Claim In Open Source

Rubinius

Wednesday, October 13, 2010

Page 62: Staking Your Claim In Open Source

One Patch==

Commit Privileges

Wednesday, October 13, 2010

Page 63: Staking Your Claim In Open Source

Responsibility>

Privilege

Wednesday, October 13, 2010

Page 64: Staking Your Claim In Open Source

“There will be chaos.”

Skeptic:

Wednesday, October 13, 2010

Page 65: Staking Your Claim In Open Source

> 10 reverts

Wednesday, October 13, 2010

Page 66: Staking Your Claim In Open Source

Why?

Wednesday, October 13, 2010

Page 67: Staking Your Claim In Open Source

Responsibility.

Wednesday, October 13, 2010

Page 68: Staking Your Claim In Open Source

But...

Wednesday, October 13, 2010

Page 69: Staking Your Claim In Open Source

Conflicts with “No”

Wednesday, October 13, 2010

Page 70: Staking Your Claim In Open Source

Communicate about features

Wednesday, October 13, 2010

Page 71: Staking Your Claim In Open Source

Advocate forks/branches for new

features

Wednesday, October 13, 2010

Page 72: Staking Your Claim In Open Source

As a contributor...

Wednesday, October 13, 2010

Page 73: Staking Your Claim In Open Source

Remember these laws.

Wednesday, October 13, 2010

Page 74: Staking Your Claim In Open Source

Don’t take it personally.

Wednesday, October 13, 2010

Page 75: Staking Your Claim In Open Source

OSS is asocial contract

Wednesday, October 13, 2010

Page 76: Staking Your Claim In Open Source

Contributors wantto succeed

Wednesday, October 13, 2010

Page 77: Staking Your Claim In Open Source

Contributors wantto respect

Wednesday, October 13, 2010

Page 78: Staking Your Claim In Open Source

Give respect,get respect.

Wednesday, October 13, 2010

Page 79: Staking Your Claim In Open Source

We all just wantto be loved.

Wednesday, October 13, 2010