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

Mentored Sprints - 2023

Mentored Sprints - 2023

Tania Allard

April 22, 2023
Tweet

More Decks by Tania Allard

Other Decks in Technology

Transcript

  1. @MentoredSprints mentored-sprints.dev

    Welcome to
    PyCon
    mentored
    sprints
    Pycon 2023

    View Slide

  2. @MentoredSprints mentored-sprints.dev

    General housekeeping Projects’ intro
    Mentored sprints intro
    Intro to open source
    contributions
    1
    2
    3
    4
    Agenda

    View Slide

  3. @MentoredSprints mentored-sprints.dev

    Your onsite mentored sprints team
    Zac hatfield-dodds Cheuk ho Tania Allard

    View Slide

  4. Housekeeping
    01

    View Slide

  5. @MentoredSprints mentored-sprints.dev

    All in local times
    ● 1:30 pm - Kick off
    ● 2:00 pm - Sprints start (roughly)
    ● 3:45-4:15 pm - Afternoon break
    ● 5:00 pm Wrap up
    Schedule

    View Slide

  6. @MentoredSprints mentored-sprints.dev

    Code of conduct
    We want every attendee to feel welcome and have an enjoyable,
    fulfilling experience at PyCon, even in a virtual event.
    Please familiarize yourself with PyCon Code of Conduct and
    Attendee Procedure For Reporting Code of Conduct Incidents:
    https://us.pycon.org/2023/about/code-of-conduct/
    Report any incidents to [email protected]

    View Slide

  7. @MentoredSprints mentored-sprints.dev

    Be kind, respectful and open to help others

    View Slide

  8. Mentored sprints intro
    02

    View Slide

  9. @MentoredSprints mentored-sprints.dev

    Build a
    community
    Give back to
    open source
    Empower
    folks and
    foster
    inclusion
    Our goals

    View Slide

  10. @MentoredSprints mentored-sprints.dev

    In a nutshell
    The Turing Way project illustration by
    Scriberia. Zenodo:
    http://doi.org/10.5281/zenodo.3695300

    View Slide

  11. @MentoredSprints mentored-sprints.dev

    🔖 https://mentored-sprints.netlify.app/
    These slides: https://bit.ly/mentoredsprints-22
    Links to keep
    handy

    View Slide

  12. @MentoredSprints mentored-sprints.dev

    How do sprints work?
    Choose
    project
    Pair up
    with
    someone
    Find an
    issue item
    to work on
    hands-on
    Get
    contributing 🎉
    Check in with
    your mentor and
    let folks know
    you are working
    on it
    Projects intro
    soon
    Optional*

    View Slide

  13. @MentoredSprints mentored-sprints.dev

    ● Ask for help as needed
    ● Be mindful and considerate
    ● Struggling with an issue?
    They are the best to help
    with debugging and setup
    issues
    Notes about
    mentors
    https://mentored-sprints.netlify.app/participants/02-asking-questions/

    View Slide

  14. @MentoredSprints mentored-sprints.dev

    General mentors
    General questions - Python, Git
    They will be around for the sprint
    󰗜

    View Slide

  15. @MentoredSprints mentored-sprints.dev

    Pair programming sprinting

    View Slide

  16. @MentoredSprints mentored-sprints.dev

    Can I help others?
    Of course! Pair sprinting is encouraged.

    View Slide

  17. @MentoredSprints mentored-sprints.dev

    Finding a sprint buddy
    󰟲 Someone interested in the same project
    👀 An extra pair of eyes are helpful
    󰢂 Ask first-some may not be comfortable
    with close contact/ interactions

    View Slide

  18. projects
    03

    View Slide

  19. @MentoredSprints mentored-sprints.dev

    Python arcade
    https://github.com/pythonarcade/arcade
    Mentor: Darren Eberly

    View Slide

  20. @MentoredSprints mentored-sprints.dev

    Numpy
    https://github.com/numpy/numpy
    Mentor: Inessa Pawson

    View Slide

  21. @MentoredSprints mentored-sprints.dev

    Python
    https://github.com/python/cpython
    Mentors: Lysandros Nikolaus
    Filipe Lains
    CAM Gerlach

    View Slide

  22. @MentoredSprints mentored-sprints.dev

    SOSW
    https://github.com/sosw/sosw
    Mentor: Nikolay

    View Slide

  23. @MentoredSprints mentored-sprints.dev

    pip & Furo
    https://github.com/pypa/pip
    https://github.com/pradyunsg/furo
    Mentor: Pradyun

    View Slide

  24. @MentoredSprints mentored-sprints.dev

    Pyopensci
    https://github.com/pyopensci
    Mentors: Lea Wasser
    David Nichols

    View Slide

  25. @MentoredSprints mentored-sprints.dev

    GDsfactory
    https://github.com/gdsfactory/gdsfactory
    Mentor: Skandar Chandrasekar

    View Slide

  26. @MentoredSprints mentored-sprints.dev

    GNU mailman
    https://gitlab.com/groups/mailman
    Mentor: Mark Shapiro

    View Slide

  27. @MentoredSprints mentored-sprints.dev

    Nebari
    https://github.com/nebari-dev/nebari
    https://github.com/nebari-dev/nebari-docs
    Mentor: Darhas Pothina

    View Slide

  28. @MentoredSprints mentored-sprints.dev

    hypothesis
    https://github.com/HypothesisWorks/hypoth
    esis
    Mentor: Zac Hatfield-Dodds

    View Slide

  29. @MentoredSprints mentored-sprints.dev

    General mentors say hi
    󰗜

    View Slide

  30. Quick intro to contributions
    04

    View Slide

  31. @MentoredSprints mentored-sprints.dev

    Git vs github

    View Slide

  32. @MentoredSprints mentored-sprints.dev

    Git vs gitlab

    View Slide

  33. @MentoredSprints mentored-sprints.dev

    What makes a folder a “git repository”? 📁
    ● Only one thing – the existence of a hidden .git
    directory.
    ● Once this is present you can use the git status
    command

    View Slide

  34. @MentoredSprints mentored-sprints.dev

    Forks 🍴
    ● Since you want to contribute back to the project we have to
    make a fork
    ● A fork is your own copy of the source code that we will work
    on
    Repo_A -
    some GitHub account
    Repo_A_fork -
    your GitHub account
    https://bit.ly/mentoredsprints-23

    View Slide

  35. @MentoredSprints mentored-sprints.dev

    Forks 🍴
    Repo_A -
    some GitHub account
    Repo_A_fork -
    your GitHub account

    View Slide

  36. @MentoredSprints mentored-sprints.dev

    cloning 󰰁
    ● After making a fork you need to clone it locally
    Repo_A -
    some GitHub
    account
    Repo_A_fork
    -
    your GitHub
    account
    Your personal
    Computer
    (a.k.a local)
    Example:
    $ git clone
    https://github.com/scipy/scipy
    .git

    View Slide

  37. @MentoredSprints mentored-sprints.dev

    working 󰟲
    ● You work on your fork
    Repo_A -
    some GitHub
    account
    Repo_A_fork
    -
    your GitHub
    account
    Your personal
    Computer
    (a.k.a local)
    Push to your
    Fork - i.e. add
    changes ✨

    View Slide

  38. @MentoredSprints mentored-sprints.dev

    This is how we ask the maintainers to incorporate our changes into the original
    repository
    PR (Pull request) 🎁
    Repo_A -
    some GitHub
    account
    Repo_A_fork -
    your GitHub account

    View Slide

  39. @MentoredSprints mentored-sprints.dev

    1. Find and issue or item to work on
    2. Fork the repo and clone it locally
    3. Make a new branch git branch new_branch
    4. Change to new branch git switch new_branch
    5. Work on changes
    6. Run tests
    7. Commit and push changes (sync your fork and clone)
    8. Open a PR (from your remote fork)
    9. Review and address comments
    10. Celebrate when your PR is merged 🎉
    PR lifecycle

    View Slide

  40. @MentoredSprints mentored-sprints.dev

    1. NumPy
    2. PyOpensci
    3. Pyarcade
    4. CPython
    5. Hypothesis / pytest
    6. Pip / furo
    7. Nebari
    8. GNU mailman
    projects

    View Slide

  41. @MentoredSprints mentored-sprints.dev

    You do not have to memorise this
    We have mentors here today!
    The best part

    View Slide

  42. @MentoredSprints mentored-sprints.dev

    Sprinting time!

    View Slide

  43. @MentoredSprints mentored-sprints.dev

    Reach out to:
    [email protected]
    https://mentored-sprints.dev
    https://twitter.com/MentoredSprints
    Have fun!

    View Slide