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 full-size slide

  2. @MentoredSprints mentored-sprints.dev

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

    View full-size slide

  3. @MentoredSprints mentored-sprints.dev

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

    View full-size slide

  4. Housekeeping
    01

    View full-size 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 full-size 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 full-size slide

  7. @MentoredSprints mentored-sprints.dev

    Be kind, respectful and open to help others

    View full-size slide

  8. Mentored sprints intro
    02

    View full-size slide

  9. @MentoredSprints mentored-sprints.dev

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

    View full-size 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 full-size slide

  11. @MentoredSprints mentored-sprints.dev

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

    View full-size 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 full-size 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 full-size slide

  14. @MentoredSprints mentored-sprints.dev

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

    View full-size slide

  15. @MentoredSprints mentored-sprints.dev

    Pair programming sprinting

    View full-size slide

  16. @MentoredSprints mentored-sprints.dev

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

    View full-size 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 full-size slide

  18. @MentoredSprints mentored-sprints.dev

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

    View full-size slide

  19. @MentoredSprints mentored-sprints.dev

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

    View full-size slide

  20. @MentoredSprints mentored-sprints.dev

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

    View full-size slide

  21. @MentoredSprints mentored-sprints.dev

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

    View full-size slide

  22. @MentoredSprints mentored-sprints.dev

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

    View full-size slide

  23. @MentoredSprints mentored-sprints.dev

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

    View full-size slide

  24. @MentoredSprints mentored-sprints.dev

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

    View full-size slide

  25. @MentoredSprints mentored-sprints.dev

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

    View full-size slide

  26. @MentoredSprints mentored-sprints.dev

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

    View full-size slide

  27. @MentoredSprints mentored-sprints.dev

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

    View full-size slide

  28. @MentoredSprints mentored-sprints.dev

    General mentors say hi
    󰗜

    View full-size slide

  29. Quick intro to contributions
    04

    View full-size slide

  30. @MentoredSprints mentored-sprints.dev

    Git vs github

    View full-size slide

  31. @MentoredSprints mentored-sprints.dev

    Git vs gitlab

    View full-size slide

  32. @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 full-size slide

  33. @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 full-size slide

  34. @MentoredSprints mentored-sprints.dev

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

    View full-size slide

  35. @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 full-size slide

  36. @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 full-size slide

  37. @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 full-size slide

  38. @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 full-size slide

  39. @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 full-size slide

  40. @MentoredSprints mentored-sprints.dev

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

    View full-size slide

  41. @MentoredSprints mentored-sprints.dev

    Sprinting time!

    View full-size slide

  42. @MentoredSprints mentored-sprints.dev

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

    View full-size slide