Upgrade to Pro — share decks privately, control downloads, hide ads and more …

How to contribute to Symfony
 and why 
you should give it a try

How to contribute to Symfony
 and why 
you should give it a try

Valentin Udaltsov

November 21, 2019
Tweet

Other Decks in Programming

Transcript

  1. @vudaltsov
    How to contribute to Symfony
    and why
    You should give it a try
    1

    View full-size slide

  2. @vudaltsov
    Valentin Udaltsov
    Russia, Moscow
    2

    View full-size slide

  3. @vudaltsov
    My first attempt to contribute
    4

    View full-size slide

  4. @vudaltsov
    Today
    6

    View full-size slide

  5. @vudaltsov
    EU-FOSSA Hackathon
    7

    View full-size slide

  6. @vudaltsov
    Motivation to
    contribute to OSS
    8

    View full-size slide

  7. @vudaltsov
    To give back
    9

    View full-size slide

  8. @vudaltsov
    10

    View full-size slide

  9. @vudaltsov
    For recognition
    11

    View full-size slide

  10. @vudaltsov
    12

    View full-size slide

  11. @vudaltsov
    To become an
    in-demand employee
    13

    View full-size slide

  12. @vudaltsov
    14

    View full-size slide

  13. @vudaltsov
    Code
    Glue code
    15

    View full-size slide

  14. @vudaltsov
    Contributing is a way to
    master your tools
    16

    View full-size slide

  15. @vudaltsov
    Symfony
    is the best PHP ecosystem
    to contribute to
    17

    View full-size slide

  16. @vudaltsov
    Documentation
    18

    View full-size slide

  17. @vudaltsov
    Maintenance
    19

    View full-size slide

  18. @vudaltsov
    20
    Diverse community

    View full-size slide

  19. @vudaltsov
    What to contribute?
    21

    View full-size slide

  20. @vudaltsov
    Step 1. Become a bug hunter
    22

    View full-size slide

  21. @vudaltsov
    1. Check the docs
    2. Google it
    3. Ask colleagues
    4. Google it again
    5. Ask in Slack #support
    6. Make a reproducer
    7. Submit a bug
    23

    View full-size slide

  22. @vudaltsov
    24
    1
    2

    View full-size slide

  23. @vudaltsov
    Step 2. Involve yourself
    through observation
    25

    View full-size slide

  24. @vudaltsov
    https://symfony.com/blog/
    26

    View full-size slide

  25. @vudaltsov
    27

    View full-size slide

  26. @vudaltsov
    28

    View full-size slide

  27. @vudaltsov
    Subscribe to new releases
    29

    View full-size slide

  28. @vudaltsov
    Check new issues & PRs
    30

    View full-size slide

  29. @vudaltsov
    31

    View full-size slide

  30. @vudaltsov
    32

    View full-size slide

  31. @vudaltsov
    33

    View full-size slide

  32. @vudaltsov
    Step 4. Comment & review
    34

    View full-size slide

  33. @vudaltsov
    Step 5. Solve an issue
    35

    View full-size slide

  34. @vudaltsov
    36
    1
    2
    3
    4

    View full-size slide

  35. @vudaltsov
    37

    View full-size slide

  36. @vudaltsov
    Resolve a recent issue:
    chances are it's easier
    38

    View full-size slide

  37. @vudaltsov
    How to contribute
    39

    View full-size slide

  38. @vudaltsov
    40
    1
    2

    View full-size slide

  39. @vudaltsov
    41
    ?

    View full-size slide

  40. @vudaltsov
    Patch
    X.Y.Z
    4.3.7 → 4.3.8
    42

    View full-size slide

  41. @vudaltsov
    Minor
    X.Y.Z
    4.2.9 → 4.3.0
    43

    View full-size slide

  42. @vudaltsov
    Major
    X.Y.Z
    4.4.0 → 5.0.0
    44

    View full-size slide

  43. @vudaltsov
    45

    View full-size slide

  44. @vudaltsov
    Submit bug fixes
    to the lowest branch they apply
    46

    View full-size slide

  45. @vudaltsov
    Submit features
    to the master branch
    47

    View full-size slide

  46. @vudaltsov
    Mind the code style
    48

    View full-size slide

  47. @vudaltsov
    49

    View full-size slide

  48. @vudaltsov
    50

    View full-size slide

  49. @vudaltsov
    51

    View full-size slide

  50. @vudaltsov
    Add unit tests
    52

    View full-size slide

  51. @vudaltsov
    53

    View full-size slide

  52. @vudaltsov
    54

    View full-size slide

  53. @vudaltsov
    55

    View full-size slide

  54. @vudaltsov
    56

    View full-size slide

  55. @vudaltsov
    57

    View full-size slide

  56. @vudaltsov
    Rebase when branch changes
    58

    View full-size slide

  57. @vudaltsov
    59

    View full-size slide

  58. @vudaltsov
    60
    1

    View full-size slide

  59. @vudaltsov
    61
    2
    3

    View full-size slide

  60. @vudaltsov
    Welcome comments & review.
    React positively in any case
    62

    View full-size slide

  61. @vudaltsov
    Be patient...
    63

    View full-size slide

  62. @vudaltsov
    ...but stay in touch!
    64

    View full-size slide

  63. @vudaltsov
    Some useful articles to read
    65
    1. Releases calendar
    https://symfony.com/releases
    2. Official contributing documentation
    https://symfony.com/doc/current/contributing/index.html
    3. Merging vs rebasing
    https://www.atlassian.com/git/tutorials/merging-vs-rebasing
    4. Working with forks
    https://help.github.com/en/github/collaborating-with-issues-and-pull-
    requests/working-with-forks

    View full-size slide

  64. @vudaltsov
    Thank you!
    See you at the Hackday!
    66

    View full-size slide