Slide 1

Slide 1 text

The values and challenges of Open Source at source{d}

Slide 2

Slide 2 text

VP of Developer Relations [email protected] @francesc campoy

Slide 3

Slide 3 text

Agenda source{d} and Open Source Our MIssion - ML on Code - Code as Data Open Core Open Source Benefitting from Open Source Cooperation Contributions Protecting with Open Source Copyleft Licenses MIT, Apache v2, GPLs Q&A

Slide 4

Slide 4 text

source{d} and Open Source

Slide 5

Slide 5 text

source{d} and Open Source our mission Improving the Developer Experience through Machine Learning

Slide 6

Slide 6 text

source{d} and Open Source our mission Requires large datasets Results in trained models Examples: - Bug prediction - Automated Code Review ML on Code Large software repositories Source code *and* history of revisions Extracting metrics - Business Intelligence SQL, GraphQL, REST interfaces Code as Data

Slide 7

Slide 7 text

ML on Code Code as Data Code

Slide 8

Slide 8 text

source{d} and Open Source Open Core Open Source Core Tools & Services

Slide 9

Slide 9 text

benefitting from Open Source

Slide 10

Slide 10 text

benefitting from Open Source the tools we use

Slide 11

Slide 11 text

benefitting from Open Source contributing back go-git Git library for Go Similar to jgit or gitlib +2.7k stars on GitHub enry Language Classifier Higher performance & accuracy than GitHub’s linguist

Slide 12

Slide 12 text

benefitting from Open Source contributing back go-git Git library for Go Similar to jgit or gitlib +2.7k stars on GitHub enry Language Classifier Higher performance & accuracy than GitHub’s linguist babelish Universal Code Parser Universal ASTs Easily extensible

Slide 13

Slide 13 text

benefitting from Open Source contributing back go-git Git library for Go Similar to jgit or gitlib +2.7k stars on GitHub enry Language Classifier Higher performance & accuracy than GitHub’s linguist babelish Universal Code Parser Universal ASTs Easily extensible gitbase SQL interface for git Integrates go-git, enry, babelfish, and more Code as Data

Slide 14

Slide 14 text

benefitting from Open Source contributions to our projects

Slide 15

Slide 15 text

benefitting from Open Source “Open Sourcing our libraries makes better for everyone.” contributions to our projects

Slide 16

Slide 16 text

a quick history of Open Source

Slide 17

Slide 17 text

a quick history of Open Source Richard Stallman

Slide 18

Slide 18 text

a quick history of Open Source Xerox 9700

Slide 19

Slide 19 text

a quick history of Open Source Free Software Foundation

Slide 20

Slide 20 text

a quick history of Open Source GNU/Linux

Slide 21

Slide 21 text

protecting with open source

Slide 22

Slide 22 text

protecting with open source GNU General Public License v3 (GPL) source: tldrlegal.com

Slide 23

Slide 23 text

Viral Licensing

Slide 24

Slide 24 text

Apollo / Gemini

Slide 25

Slide 25 text

protecting with open source GNU Affero General Public License v3 (AGPL) source: tldrlegal.com

Slide 26

Slide 26 text

protecting with open source Apache License v2 source: tldrlegal.com

Slide 27

Slide 27 text

go-git

Slide 28

Slide 28 text

protecting with open source Open Data Commons Open Database License (ODbL) source: tldrlegal.com

Slide 29

Slide 29 text

Public Git Archive

Slide 30

Slide 30 text

protecting with open source Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) source: tldrlegal.com

Slide 31

Slide 31 text

Awesome Machine Learning On Source Code

Slide 32

Slide 32 text

protecting with open source MIT License source: tldrlegal.com

Slide 33

Slide 33 text

blog.sourced.tech

Slide 34

Slide 34 text

Checking licenses

Slide 35

Slide 35 text

No content

Slide 36

Slide 36 text

protecting with open source Developer Certificate of Origin This agreement states three things: 1. you offer the changes under the same license agreement as the project, and 2. you have the right to do that, 3. you did not steal somebody else’s work. ➜ git commit -s -m "adding some feature" ➜ git log -n 1 | cat commit 2cbd480cc1ea29c8e8193637c73eeb7ab92d0f86 Author: Francesc Campoy adding some feature Signed-off-by: Francesc Campoy

Slide 37

Slide 37 text

Review source{d} and Open Source Our MIssion - ML on Code - Code as Data Open Core Open Source Benefitting from Open Source Cooperation Contributions History of Free Software Protecting with Open Source Copyleft Licenses MIT, Apache v2, GPLs Q&A That’s now!

Slide 38

Slide 38 text

Q&A

Slide 39

Slide 39 text

References References ● sourced.tech / github.com/src-d ● tldrlegal.com ● The AGPL | MongoDB ● GNU Affero General Public License- GNU Project - Free Software Foundation ● What is Copyleft? - GNU Project - Free Software Foundation ● Why Open Source Misses the Point of Free Software - GNU Project - Free Software Foundation ● The Cathedral and the Bazaar - Wikipedia

Slide 40

Slide 40 text

Francesc Campoy [email protected] @francesc campoy