$30 off During Our Annual Pro Sale. View Details »

Contribute to CPython

Contribute to CPython

The presentation from SPbPython community / PiterPy meetup about a process of contribution to CPython, CPython GitHub repository's bots.

Delimitry

April 10, 2018
Tweet

More Decks by Delimitry

Other Decks in Programming

Transcript

  1. Contribute to CPython Dmitry Alimov 2018

  2. Quick Guide 1. Create an issue (on b.p.o.) that describes

    your change* 2. Create a new branch in Git 3. Work on changes (e.g. fix a bug or add a new feature) 4. Run tests and make patchcheck 5. Commit and push changes to your GitHub fork 6. Create Pull Request on GitHub to merge a branch from your fork 7. Review and address comments on your Pull Request 8. When your changes are merged, you can delete the PR branch 9. Celebrate contributing to CPython! :) * If an issue is trivial (e.g. typo fixes), or if an issue already exists, you can skip this step.
  3. CLA unsigned

  4. Python Contributor Agreement Form

  5. b.p.o. (bugs.python.org)

  6. CLA signed

  7. Create new issue on b.p.o. (bugs.python.org)

  8. Create pull request

  9. <!-- issue-number: bpo-32743 --> https://bugs.python.org/issue32743 <!-- /issue-number --> b.p.o. issue

    link added by bot: Pull request
  10. CPython repository bots

  11. None
  12. The Knights Who Say "Ni" https://github.com/python/the-knights-who-say-ni A bot to check

    if the author of a pull request to a Python project has signed the PSF CLA.
  13. The Knights Who Say "Ni" https://www.youtube.com/watch?v=zIV4poUZAQo

  14. Bedevere https://github.com/python/bedevere This bot is meant to help identify issues

    with a CPython pull request
  15. Bedevere https://www.youtube.com/watch?v=Nf_Y4MbUCLY&feature=youtu.be&t=4m7s

  16. Miss Islington https://github.com/python/miss-islington Bot for backporting CPython Pull Requests

  17. Miss Islington

  18. Last steps Close the issue on b.p.o. Delete the PR

    branch After merge Celebrate contributing to CPython! :)
  19. Questions https://t.me/spbpython https://t.me/piterpy_meetup 19

  20. Links http://delimitry.blogspot.com/2018/01/contribute-to-cpython.html https://devguide.python.org/ https://github.com/ https://github.com/python/cpython/ https://www.python.org/psf/contrib/contrib-form/ https://bugs.python.org/ http://eclecticdad.com/wp-content/uploads/2014/01/Monty_Python_Holy_Grail.jpg 20