Contribute with me! Getting started with the tools of free software development by Jessica McKellar

Contribute with me! Getting started with the tools of free software development by Jessica McKellar

Afcfefa1f067d10bd021de0cc2e5e806?s=128

PyCon 2013

March 21, 2013
Tweet

Transcript

  1. 1.

    Contribute with me! Getting started with the tools of free

    software development Wednesday, March 20, 13
  2. 3.

    Why contribute to free software? • Give back to the

    community • People • Education • Work • Fun Wednesday, March 20, 13
  3. 5.

    Today Part I: the life cycle of a bug Part

    II: practicing the tools Part III: contributing to a toy project Part IV: next steps, contributing to a real project Wednesday, March 20, 13
  4. 8.

    • Report • Triage • Patch • Test • Review

    • Resolve Part I: Lifecycle of a bug Wednesday, March 20, 13
  5. 9.

    Report and triage: communication • mailing lists • IRC Report

    Triage Patch Test Review Resolve Wednesday, March 20, 13
  6. 10.
  7. 11.

    Report and triage: How to write a good bug report

    • Short, self-contained example • Explicit steps to reproduce • Input • Expected output • Actual output Report Triage Patch Test Review Resolve Demo! Wednesday, March 20, 13
  8. 13.

    Patch: revision control • Collaborative development • Managing changes /

    history • Like Wikipedia Demo! Report Triage Patch Test Review Resolve Wednesday, March 20, 13
  9. 14.
  10. 17.

    • Report • Triage • Patch • Test • Review

    • Resolve Part I: Lifecycle of a bug Wednesday, March 20, 13
  11. 18.

    • Command line navigation • Text editors • IRC http://bit.ly/open-source1

    Part II: practicing the tools Wednesday, March 20, 13
  12. 19.

    • Create an account on openhatch.org • Complete the diff/patch

    mission • Complete the git mission http://openhatch.org/missions Part II: practicing the tools Wednesday, March 20, 13
  13. 20.

    Bonus • Complete the OpenHatch tar training mission: http://openhatch.org/missions •

    Read about Python’s unittest module: http://docs.python.org/2/library/ unittest.html • Read about packaging and distributing your Python projects: http://guide.python-distribute.org Wednesday, March 20, 13
  14. 21.

    Part III: contributing to a toy project • projects hosted

    on github.com • ColorWall project: https://github.com/jesstesstest/ColorWall • Wordplay project: https://github.com/jesstesstest/Wordplay • demo projects Wednesday, March 20, 13
  15. 22.

    Finding bugs •ColorWall: Letters are sideways •Wordplay: Doesn’t work if

    you use upper-case letters Wednesday, March 20, 13
  16. 24.

    Writing a good bug report • Short, self-contained example •

    Explicit steps to reproduce • Input • Expected output • Actual output Wednesday, March 20, 13
  17. 25.

    Bonus • Add a project of yours to GitHub •

    Skim http://opensource.org/ licenses, read http://bit.ly/ open-source-licenses, and add a LICENSE file to your project • Submit a patch for a new ColorWall effect • Submit a patch to support blank tiles in Wordplay Wednesday, March 20, 13
  18. 27.

    Next steps: at PyCon • Join the sprints • Sunday:

    intro tutorial + project introductions • Monday - Thursday: sprinting • Great opportunity even if remote https://us.pycon.org/2013/community/sprints/ Wednesday, March 20, 13
  19. 28.

    Beginner tickets • Python http://bit.ly/beginner-python-tickets • Buildbot http://trac.buildbot.net/wiki/ BuildbotSprint2013 •

    Django http://bit.ly/beginner-django-tickets • Twisted https://bit.ly/easy-twisted-tickets Wednesday, March 20, 13
  20. 30.

    Next steps: Pick a project • Python mentors: http://pythonmentors.com •

    Django’s exceptionally detailed new-contributor guide: http://docs.djangoproject.com/ en/dev/internals/contributing/ • Google Summer of Code Wednesday, March 20, 13
  21. 31.

    Next steps: Work on a bug • Read new-contributor documentation

    • Check out the source code • Join the IRC channel • Browse the issue tracker • Look for “bitesized” or “easy” bugs • Ask OpenHatch for help! #openhatch Wednesday, March 20, 13