Slide 1

Slide 1 text

Diving in the Unknown depth of a project Andy Spearing © 2009

Slide 2

Slide 2 text

_toch toch Hi, I'm Christophe

Slide 3

Slide 3 text

@matylda © 2011 Intro

Slide 4

Slide 4 text

@matylda © 2011 The most common task

Slide 5

Slide 5 text

continuous typing

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

but continuous reading Jono Witts © 2008

Slide 8

Slide 8 text

Each written line is read at least 1 time Gavin St. Ours © 20013

Slide 9

Slide 9 text

● 300 dev days ● 14633 LOC ● 634595 Changed lines ● → 634595 / 14633 ~ 43 changed LOC / LOC

Slide 10

Slide 10 text

For 1 final line, I read at least 43 lines.

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

How to Dive into a project Stuart Hamilton © 2008

Slide 13

Slide 13 text

DO NOT Wander without a plan Felix Esteban © 2004

Slide 14

Slide 14 text

Journey Needs Plan Peter Southwood © 20011

Slide 15

Slide 15 text

Plan 1. Goal 2. Map 3. Equipment & Dive 4. Next? Peter Southwood © 20011

Slide 16

Slide 16 text

1. Goal Peter Southwood © 20011

Slide 17

Slide 17 text

➔ fix a bug ➔ implement a feature ➔ write some doc ➔ style the code ➔ refactor a small piece of code ➔ simply use it

Slide 18

Slide 18 text

No content

Slide 19

Slide 19 text

No content

Slide 20

Slide 20 text

~/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/net/http.rb:878:in `initialize': Connection refused - connect(2) (Errno::ECONNREFUSED) from ~/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/net/http.rb:878:in `open' from ~/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/net/http.rb:878:in `block in connect' from ~/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/timeout.rb:52:in `timeout' from ~/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/net/http.rb:877:in `connect' from ~/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/net/http.rb:862:in `do_start' from ~/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/net/http.rb:851:in `start' from ~/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/open-uri.rb:313:in `open_http' from ~/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/open-uri.rb:708:in `buffer_open' from ~/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/open-uri.rb:210:in `block in open_loop' from ~/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/open-uri.rb:208:in `catch' from ~/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/open-uri.rb:208:in `open_loop' from ~/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/open-uri.rb:149:in `open_uri' from ~/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/open-uri.rb:688:in `open' from ~/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/open-uri.rb:34:in `open' from -e:1:in `'

Slide 21

Slide 21 text

2. Map Peter Southwood © 20011

Slide 22

Slide 22 text

Find the Map ➔ Repository URI ➔ Project URI ➔ Intro Doc: README

Slide 23

Slide 23 text

Find the Map ● https://github.com/ruby/ruby ● https://bugs.ruby-lang.org/ ● https://github.com/ruby/ruby/blob/trunk/ README.md

Slide 24

Slide 24 text

Find the Legend

Slide 25

Slide 25 text

a Legend

Slide 26

Slide 26 text

Find the Legend ➔ CONTRIBUTING Guideline

Slide 27

Slide 27 text

Find the Legend ➔ CONTRIBUTING Guideline https://github.com/ruby/ruby/blob/trunk/ CONTRIBUTING.md

Slide 28

Slide 28 text

Find the Legend ➔ CONTRIBUTING Guideline https://github.com/ruby/ruby/blob/trunk/ CONTRIBUTING.md

Slide 29

Slide 29 text

Find the Legend ➔ CONTRIBUTING Guideline ➔ Directory Structure

Slide 30

Slide 30 text

Find the Legend ➔ CONTRIBUTING Guideline ➔ Directory Structure

Slide 31

Slide 31 text

Find the Legend ➔ CONTRIBUTING Guideline ➔ Directory Structure ➔ Talk to other contributors, maintainers

Slide 32

Slide 32 text

Find the Legend ➔ CONTRIBUTING Guideline ➔ Directory Structure ➔ Talk to other contributors, maintainers ➔ Participate to the dev meeting

Slide 33

Slide 33 text

If blocked? ➔ ASK!

Slide 34

Slide 34 text

Boris Dimitrov © 20009 3. Equipment & Dive

Slide 35

Slide 35 text

Get a Toolbelt ➔ Pick an Editor

Slide 36

Slide 36 text

No content

Slide 37

Slide 37 text

Get a Toolbelt ➔ Pick an Editor ➔ Bundle & Run Tests

Slide 38

Slide 38 text

Get a Toolbelt ➔ Pick an Editor ➔ Bundle & Run Tests ➔ Others

Slide 39

Slide 39 text

Get a Toolbelt ➔ ST3 ➔ Apply a Patch & Use it ➔ MRI WIKI DeveloperHowto ➔ Sign up to Ruby Redmine

Slide 40

Slide 40 text

Use your Toolbelt ➔ Run the App & Use it

Slide 41

Slide 41 text

No content

Slide 42

Slide 42 text

Use your Toolbelt ➔ Run the App & Use it ➔ Read & Edit the Code

Slide 43

Slide 43 text

➔ Find proxy management into open-uri.rb ➔ Understand how OpenURI.open_http works ➔ Spot the bug ➔ Fix it

Slide 44

Slide 44 text

No content

Slide 45

Slide 45 text

Use your Toolbelt ➔ Run the App & Use it ➔ Read & Edit the Code ➔ Report a bug ➔ Submit a contribution

Slide 46

Slide 46 text

No content

Slide 47

Slide 47 text

If blocked? ➔ ASK!

Slide 48

Slide 48 text

4. Next? Peter Southwood © 20011

Slide 49

Slide 49 text

How long? ➔ Keep it reasonable at first ➔ From ½ to 1 day

Slide 50

Slide 50 text

Find Next Goal ➔ Fix a bug ➔ Develop a feature ➔ Run Static Analysis Tools ➔ Review a PullRequest

Slide 51

Slide 51 text

Iterate ➔ :) Jean-Marc Kuffer © 2007

Slide 52

Slide 52 text

If blocked? ➔ ASK!

Slide 53

Slide 53 text

Outro 1. Goal 2. Map 3. Equipment & Dive

Slide 54

Slide 54 text

? _toch toch