Share
Embed
The Bots of CPython
Presented at Global Maintainer Summit 2021
https://globalmaintainersummit.github.com/
Mariatta
June 09, 2021
Transcript
29 slides
-
Mariatta Wijaya @mariatta 2 Python Core Developer core-workflow, emoji, documentation
she/her Vancouver, Canada UTC - 7 Staff Software Engineer @ Uplight -
CORE-WORKFLOW https://github.com/python/core-workflow https://mail.python.org/mailman3/lists/core-workflow.python.org/ https://discuss.python.org/c/core-workflow/8 3 A place to discuss and
work on improvements to the Python core development workflow and the infrastructure that supports the workflow. Example: issue tracker, buildbots, tools, automations, bots, contributor experience, mentorship, issue triaging, documentation, etc @mariatta The Bots of CPython -
the-knights-who-say-ni Ni! “We also demand …. A SHRUBBERY!” Checks if
CLA has been signed. Applies [CLA signed] / [CLA not signed] labels 5 https://github.com/python/the-knights-who-say-ni @mariatta The Bots of CPython -
HOW IT WORKS 6 PR opened/re-opened Check if CLA was
signed Apply “CLA Signed” or “CLA not signed” label bugs.python.org @mariatta The Bots of CPython -
HOW IT WORKS 6 PR opened/re-opened Check if CLA was
signed Apply “CLA Signed” or “CLA not signed” label 👩💻 Signs CLA bugs.python.org @mariatta The Bots of CPython -
HOW IT WORKS 6 PR opened/re-opened Check if CLA was
signed Apply “CLA Signed” or “CLA not signed” label 👩💻 Signs CLA bugs.python.org ❌ No webhook @mariatta The Bots of CPython -
HOW IT WORKS 7 PR opened/re-opened Check if CLA was
Apply “CLA Signed” or “CLA not signed” label 👩💻 Signs CLA bugs.python.org @mariatta The Bots of CPython -
HOW IT WORKS 7 PR opened/re-opened Check if CLA was
Apply “CLA Signed” or “CLA not signed” label 👩💻 Signs CLA bugs.python.org Check Python CLA app 🤖 @mariatta The Bots of CPython -
HOW IT WORKS 7 PR opened/re-opened Check if CLA was
Apply “CLA Signed” or “CLA not signed” label 👩💻 Signs CLA bugs.python.org Checks CLA 👩💻 Check Python CLA app 🤖 @mariatta The Bots of CPython -
HOW IT WORKS 7 PR opened/re-opened Check if CLA was
Apply “CLA Signed” or “CLA not signed” label 👩💻 Signs CLA bugs.python.org Checks CLA 👩💻 Update “CLA Signed” label Check Python CLA app 🤖 @mariatta The Bots of CPython -
MAKING IT BETTER 8 https://github.com/python/core-workflow/issues/360 Proposed Improvements to CPython’s new
CLA Host Webhook when the CLA has been signed Allow the CLA to be signed on behalf of individual or organization Allow the CLA to be signed ahead of time b.p.o username should no longer be required Mobile-friendly UI “Allow-list”-ing https://github.com/edgedb/cla-bot @mariatta The Bots of CPython -
Bedevere Knows how to identify the witch “Nobody expects the
Spanish Inquisition!” Identifies missing issue number in PR title Identifies missing NEWS entry Automatically closes invalid PRs Labels PR based on type and stages 9 https://github.com/python/bedevere @mariatta The Bots of CPython -
HOW IT WORKS 12 Webhook event Apply label Post status
Close PR @mariatta The Bots of CPython -
HOW IT WORKS 12 Webhook event Apply label Post status
Close PR https://github.com/python/bedevere/issues/344 Move to GitHub Actions @mariatta The Bots of CPython -
Miss-islington a.k.a the witch / miss-skeleton for Halloween “I’m not
a witch! I’m not a witch!” Backports PRs to maintenance branches Automerges PRs 13 https://github.com/python/miss-islington @mariatta The Bots of CPython -
🤖 automerge 15 🤖 🆗 ✅ 🤖❌ @mariatta The Bots
of CPython -
MORE INFO 16 https://github.com/python/core-workflow https://github.com/python/cpython https://gidgethub.readthedocs.io https://github-app-tutorial.readthedocs.io/ CPython Core-workflow Gidgethub
GitHub App Tutorial - The Python Programming Language - Python’s Core-workflow - Async Python library for working with GitHub APIs - Tutorial for building GitHub Apps using gidgethub @mariatta The Bots of CPython