65
Knocking Down Blockers Ian Varley Architect ivarley@salesforce .com @thefutureian Transforming your company into an open source contributor Regina Burkebile Director, Engineering Marketing rburkebile@salesforce. com @rburkebile

Knocking Down Blockers: Transforming your company into an open source contributor

Embed Size (px)

Citation preview

Page 1: Knocking Down Blockers: Transforming your company into an open source contributor

Knocking Down Blockers

Ian VarleyArchitect

[email protected]@thefutureian

Transforming your company into an open source contributor

Regina BurkebileDirector, Engineering Marketing

[email protected]@rburkebile

Ian Varley
[email protected] What do you think about adding a touch of transparency to these blue cross bars? I think it makes it look more slick / professional.
Regina Burkebile
What should this timeline be?
Regina Burkebile
Page 2: Knocking Down Blockers: Transforming your company into an open source contributor

Subject: 93 days

Page 4: Knocking Down Blockers: Transforming your company into an open source contributor

Photo credit: Grumpy-cat CC-BY-SA-4.0

Salesforce engineering has always been generally pro-

open-source: using, creating, and contributing.

Page 5: Knocking Down Blockers: Transforming your company into an open source contributor

Photo credit: Grumpy-cat CC-BY-SA-4.0

But our process had just sort of “evolved”, without

a conscious plan.

Page 6: Knocking Down Blockers: Transforming your company into an open source contributor

Are you my mother?

But as an ad hoc process, it wasn’t very stable. It was frequently orphaned when individuals moved on.

Page 7: Knocking Down Blockers: Transforming your company into an open source contributor

Then, when questions arose,

nobody was there to answer.

Photo credit: Cricket: CC BY-SA 3.0

Page 8: Knocking Down Blockers: Transforming your company into an open source contributor

Attempts to open source code kept

running into BLOCKERS.

Page 9: Knocking Down Blockers: Transforming your company into an open source contributor

There were 4 key challenges: Licensing, IP, Security, Approvals

Rather than just being bummed, we decided to fix it.

Page 10: Knocking Down Blockers: Transforming your company into an open source contributor

There were 4 key challenges: Licensing, IP, Security, ApprovalsBut, to fix something you must understand it.

Page 11: Knocking Down Blockers: Transforming your company into an open source contributor

So let’s talk through what we found were the

4 key blockers.● Licensing● Intellectual Property● Security● Strategy

Regina Burkebile
[email protected] are you still planning to add more around IP, security, and strategy? We need to get this over to Kristina.
Ian Varley
Yup, adding as soon as I can.
Page 12: Knocking Down Blockers: Transforming your company into an open source contributor

IP key message

#1: Licensing

Regina Burkebile
[email protected] are you attached to this one or can we replace with a more hi res license plate image?
Ian Varley
I like this one because it's funny. It doesn't seem all that pixelated does it?
Regina Burkebile
I was terrible at bumper stumpers lol... what does the license plate say?
Ian Varley
https://en.wikipedia.org/wiki/Cthulhu
Regina Burkebile
Lol... must be engineer humor. I still don't get it ;).
Ian Varley
Cthulhu is, like, a demon god from space who will come eat all the humans. So what's extra funny here is the "Kids First" bit. :)
Page 13: Knocking Down Blockers: Transforming your company into an open source contributor

Do licenses matter?They do if you have anything to protect.

¯\_(ツ )_/¯

Page 14: Knocking Down Blockers: Transforming your company into an open source contributor

Turns out, licenses do actually say different things.

Page 15: Knocking Down Blockers: Transforming your company into an open source contributor

Developers had been using any license they liked.But, turns out, they do actually say different things.Permissive Restrictive

Page 16: Knocking Down Blockers: Transforming your company into an open source contributor

Some licenses include explicit patent grants.

Page 17: Knocking Down Blockers: Transforming your company into an open source contributor

Some licenses are even viral, meaning that you could be signing up to open source more than you meant to.

Page 18: Knocking Down Blockers: Transforming your company into an open source contributor

For that reason, it’s not just about YOUR license.It’s also the other software you use as dependencies.

Page 19: Knocking Down Blockers: Transforming your company into an open source contributor

A license can actually say anything. It’s a legal document. Outside the “well known” ones, it requires legal review.

Page 20: Knocking Down Blockers: Transforming your company into an open source contributor

Key tip: have your legal team vet well-known licenses in advance, and save explicit review for exceptions.

Page 21: Knocking Down Blockers: Transforming your company into an open source contributor

IP key message

#2: Intellectual Property

copyrightpatent

trademark

Page 22: Knocking Down Blockers: Transforming your company into an open source contributor

A license can actually say anything. It’s a legal document. Outside the “well known” ones, it requires legal review.

All work is copyright by default.

If someone “gives” you some code without any official representation, they can later claim you didn’t have right to it.

That’s why CLAs exist.

Page 23: Knocking Down Blockers: Transforming your company into an open source contributor

Patents are tricky.

(This typically only applies to larger

companies.)

If you have a portfolio, even one only meant for defense, it makes the approvals harder.

Page 24: Knocking Down Blockers: Transforming your company into an open source contributor

The point is, open source IS giving up IP (by definition). The legal team is involved to make set the boundaries.

Page 25: Knocking Down Blockers: Transforming your company into an open source contributor

Key tip: get to know your IP team, and learn what they care about protecting

Page 26: Knocking Down Blockers: Transforming your company into an open source contributor

#3: Security

Page 27: Knocking Down Blockers: Transforming your company into an open source contributor

Ultimately, open source is more secure, because there are more eyes on it.

Page 28: Knocking Down Blockers: Transforming your company into an open source contributor

But, for newer or smaller projects, you don’t immediately get that benefit. So diligence is required!

Page 29: Knocking Down Blockers: Transforming your company into an open source contributor

Tip: don’t rely solely on review by experts. Educate all engineers to be vigilant about security.

Page 30: Knocking Down Blockers: Transforming your company into an open source contributor

Make source code scanning part of

your release process as well.

(See: Providence)

Page 31: Knocking Down Blockers: Transforming your company into an open source contributor

#4: Strategy

Page 32: Knocking Down Blockers: Transforming your company into an open source contributor

There is that small matter of making money.

Page 33: Knocking Down Blockers: Transforming your company into an open source contributor

Some of your software is certainly “differentiating”.

Page 34: Knocking Down Blockers: Transforming your company into an open source contributor

But, let’s face it. A LOT of software is a commodity now. (Databases, web servers, operating systems …)

Page 35: Knocking Down Blockers: Transforming your company into an open source contributor

How do you decide what to share and what’s

proprietary?

Page 36: Knocking Down Blockers: Transforming your company into an open source contributor

A new common approach is “Closed Core”

(HT Andy Oram)

Open source a lot of the code, but keep the key central

technology closed.

Page 37: Knocking Down Blockers: Transforming your company into an open source contributor

Key tip: talk to your execs and find what’s strategic to release, and what’s important to keep proprietary.

Page 38: Knocking Down Blockers: Transforming your company into an open source contributor

So, because of all these blockers, approvals were taking way longer than acceptable.

93DAYS

Page 39: Knocking Down Blockers: Transforming your company into an open source contributor

Say hello to the OSS Core team...

Photo credit: Megadrivefanboy

Page 40: Knocking Down Blockers: Transforming your company into an open source contributor

<<< OSS Core Mascot (aka my kid)

Regina Burkebile
Need to replace with real OSS core team.
Regina Burkebile
[email protected] do you think you could help grab our OSS core team's pics from GUS and drop them in here? No need to include names.
Page 41: Knocking Down Blockers: Transforming your company into an open source contributor

“If you feed them well… they will come.”

Page 42: Knocking Down Blockers: Transforming your company into an open source contributor

Taskmaster kept things on track.

Photo credit: Twitter CC-BY-SA-4.0

Page 43: Knocking Down Blockers: Transforming your company into an open source contributor

Silence is not an option.

Photo credit: Twitter CC-BY-SA-4.0

Page 44: Knocking Down Blockers: Transforming your company into an open source contributor

Perception Realityvs.Photo credit: A very excited puppy CC BY 2.0

Page 45: Knocking Down Blockers: Transforming your company into an open source contributor

“Holla for help!”

Page 47: Knocking Down Blockers: Transforming your company into an open source contributor

Then, we met with our “frenemies”...

Page 48: Knocking Down Blockers: Transforming your company into an open source contributor

Photo: Roger H. Goun CC0 2.0 license

Turned out they weren’t enemies

at all!

Regina Burkebile
Replace with legal selfie
Page 49: Knocking Down Blockers: Transforming your company into an open source contributor

We learned legal was experiencing their fair share of pain.

Photo credit: Twitter CC-BY-SA-4.0

Page 50: Knocking Down Blockers: Transforming your company into an open source contributor

Empathy was key—putting ourselves in each others’ shoes.

Page 51: Knocking Down Blockers: Transforming your company into an open source contributor

+We shared a common goal and wanted to work together!

Photo credit: JefferyGoldman CC-BY-SA-4.0

Page 52: Knocking Down Blockers: Transforming your company into an open source contributor

We also shared common needs.

1

2

Visibility

Consistent Tracking

Page 53: Knocking Down Blockers: Transforming your company into an open source contributor

Fortunately, there was an “app” for that.

Page 54: Knocking Down Blockers: Transforming your company into an open source contributor

We agreed on a 5 business day response time.

93DAYS DAYS

5

Page 55: Knocking Down Blockers: Transforming your company into an open source contributor

Bi-weekly OSS Core Meetings

● Discuss process improvements (i.e. automate approval workflow, track CLAs, etc.)

Bi-weekly Legal Meetings

● Discuss pending approvals

● Check in on process and potential improvements

Ad hoc Legal Meetings

● Open door to discuss any potential blockers/pain points that we can solve together.

Page 56: Knocking Down Blockers: Transforming your company into an open source contributor

We actually took the time to write things down in a guide for engineers.

Page 57: Knocking Down Blockers: Transforming your company into an open source contributor

We created a green / yellow / red light model, to make contributions faster and easier.

Page 58: Knocking Down Blockers: Transforming your company into an open source contributor

V

V

M

O

M

ISION

ALUES

ETHODS

BSTACLES

ETRICS

+ = <3

Page 59: Knocking Down Blockers: Transforming your company into an open source contributor

If you paid attention to nothing else...

Page 60: Knocking Down Blockers: Transforming your company into an open source contributor

3 steps to grow an OSS culture at your company

1

Understand the blockers 2

3Find common

ground

Create visibility and accountability

Page 61: Knocking Down Blockers: Transforming your company into an open source contributor

While there is a lot more work to do, we have moved to much greener pastures.

Page 62: Knocking Down Blockers: Transforming your company into an open source contributor

And, we’re committed to helping others, too. So, we’re announcing today that we’re joining the TODO group.

+

Page 63: Knocking Down Blockers: Transforming your company into an open source contributor

Questions?

Page 64: Knocking Down Blockers: Transforming your company into an open source contributor

Connect with us.

Salesforce Engineering Salesforce + Open Source = <3

@SalesforceEng @SalesforceEng

Page 65: Knocking Down Blockers: Transforming your company into an open source contributor

thank y u