Git Good: Using Github for Collaboration in Open Source Communities
Hari Sood, Sophia Batchelor, and Anne Lee Steele, Esther Plomp
https://github.com/alan-turing-institute/the-turing-way, @turingway, CC-BY 4.0, DOI: 10.5281/zenodo.6997522.
Introductions
https://github.com/alan-turing-institute/the-turing-way, <personal twitter>, @turingway, CC-BY 4.0, DOI: 10.5281/zenodo.<update>
Hari Sood
Research Application Manager
Alan Turing Institute
Core Contributor,
The Turing Way
Anne Lee Steele �Community Manager,
Alan Turing Institute
The Turing Way
Sophia Batchelor
Community Manager
Alan Turing Institute
Core Contributor, �The Turing Way
Esther Plomp�Data Steward, �Delft University of Technology, TNW. Core Contributor
The Turing Way
https://github.com/alan-turing-institute/the-turing-way, @turingway, CC-BY 4.0, DOI: 10.5281/zenodo.6997522.
https://github.com/alan-turing-institute/the-turing-way, <personal twitter>, @turingway, CC-BY 4.0, DOI: 10.5281/zenodo.<update>
Overview
https://github.com/alan-turing-institute/the-turing-way, <personal twitter>, @turingway, CC-BY 4.0, DOI: 10.5281/zenodo.<update>
Overview
https://github.com/alan-turing-institute/the-turing-way, @turingway, CC-BY 4.0, DOI: 10.5281/zenodo.6997522.
The Alan Turing Institute
Established in 2015 as the National Institute for Data Science and AI
The Alan Turing Institute
The Turing Way
https://github.com/alan-turing-institute/the-turing-way, @turingway, CC-BY 4.0, DOI: 10.5281/zenodo.6997522.
A Book
A Global Community
An Open Source Project
A Culture of Collaboration
An Open Source guide on Data Science
We involve and support a diverse community to make data science reproducible, ethical, collaborative and inclusive for everyone
What is open source?
https://github.com/alan-turing-institute/the-turing-way, @turingway, CC-BY 4.0, DOI: 10.5281/zenodo.6997522.
The Turing Way Guides
https://github.com/alan-turing-institute/the-turing-way, @turingway, CC-BY 4.0, DOI: 10.5281/zenodo.6997522.
Reproducibility
Project Design
Communication
Collaboration
Ethical Research
Community Handbook
The Turing Way
https://github.com/alan-turing-institute/the-turing-way, @turingway, CC-BY 4.0, DOI: 10.5281/zenodo.6997522.
2021
Project growth, 134+ chapters citation in peer reviewed articles, government reports and policies, new projects emerged as extension. 309 contributors
2018
Proposal by Kirstie Whitaker approved
2019
2020
Book Dash 2020,�Project expanded to five guides,
Community Handbook, social media, Translation started. 238 contributors.
Book launched with 10 members, 3 chapters, many workshops, 2 Book Dashes. Year ended with Several chapters by 67 contributors
Logo was designed with Scriberia
2022
250+ live chapters, 340+ contributors, 3000+ Twitter followers, 3000+ monthly visitors of the five guides.
�2 project leads, a community manager, 10+ part paid staff, volunteer members, 4 translation and localisation leads.
How we practice collaborative open source
Tools
https://github.com/alan-turing-institute/the-turing-way, @turingway, CC-BY 4.0, DOI: 10.5281/zenodo.6997522.
Practices
Systems
The Turing Way: Tools
Open Knowledge Management
Publication & citation
https://github.com/alan-turing-institute/the-turing-way, @turingway, CC-BY 4.0, DOI: 10.5281/zenodo.6997522.
Community engagement
Acknowledgement
The Turing Way: Practices
Community support
Review & Verification
Maintenance
https://github.com/alan-turing-institute/the-turing-way, @turingway, CC-BY 4.0, DOI: 10.5281/zenodo.6997522.
Localisation
The Turing Way: Systems
Open Research infrastructure
https://github.com/alan-turing-institute/the-turing-way, @turingway, CC-BY 4.0, DOI: 10.5281/zenodo.6997522.
Community infrastructure
Network infrastructure
The Turing Way: Systems
Open Research infrastructure
https://github.com/alan-turing-institute/the-turing-way, @turingway, CC-BY 4.0, DOI: 10.5281/zenodo.6997522.
Community infrastructure
Network infrastructure
Key Practices for Collaboration
https://github.com/alan-turing-institute/the-turing-way, @turingway, CC-BY 4.0, DOI: 10.5281/zenodo.6997522.
Develop & share
Share resources
Review and update
Maintain & improve
Make it global
Share best practices
Key Practices for Collaboration
https://github.com/alan-turing-institute/the-turing-way, @turingway, CC-BY 4.0, DOI: 10.5281/zenodo.6997522.
Develop & share
Share resources
Review and update
Maintain & improve
Make it global
Share best practices
Thanks to our community of contributors & users!
PAUSE!!!
Any questions?
Slide by Sophia Batchelor, https://zenodo.org/record/5070361
https://github.com/alan-turing-institute/the-turing-way, <personal twitter>, @turingway, CC-BY 4.0, DOI: 10.5281/zenodo.<update>
Overview
Let’s Git Good:
https://github.com/alan-turing-institute/the-turing-way, @turingway, CC-BY 4.0, DOI: 10.5281/zenodo.6997522.
Why use GitHub within your community?
https://github.com/alan-turing-institute/the-turing-way, @turingway, CC-BY 4.0, DOI: 10.5281/zenodo.6997522.
Collaborative
Documents
Image. The Turing Way project illustration by Scriberia. Used under a CC-BY 4.0 licence. DOI: 10.5281/zenodo.3332807.¶
There are challenges in developing collaborative documents...
Collaborative
Documents
Image. The Turing Way project illustration by Scriberia. Used under a CC-BY 4.0 licence. DOI: 10.5281/zenodo.3332807.¶
There are challenges in developing collaborative documents…
VERSIONS!
Images from Mozilla Science Lab, Illustration by Scriberia and The Turing Way
Image from Mozilla Science Lab: https://mozillascience.github.io/study-group-orientation/3.1-collab-vers-github.html
Revisions and Versions
Images from Mozilla Science Lab, Illustration by Scriberia and The Turing Way
Slide by Sophia Batchelor, https://zenodo.org/record/5070361
Collaboration on GitHub
Image from Mozilla Science Lab: https://mozillascience.github.io/study-group-orientation/3.1-collab-vers-github.html
Let’s dive in and set up our first repo…
GitHub Exercise 1.
PAUSE!!!
Do you have a GitHub Account?
Go to https://github.com/
Slide by Sophia Batchelor, https://zenodo.org/record/5070361
PAUSE!!!
Slide by Sophia Batchelor, https://zenodo.org/record/5070361
Creating a Repo.
“trial-repo”
Repository (Repo)
A project where all your files are, online or on your computer
Creating a Repo.
“trial-repo”
Repository (Repo)
A project where all your files are, online or on your computer
Markdown (.md) for formatting
Markdown: what’s that?
Markdown is a simple text “markup” language made for quickly writing formatted text
Great for blogs, documentation, and even writing papers.
You may have used it in HackMD.
Markdown (.md) for formatting
Create a README file
…let’s write it in style with Markdown
GitHub Exercise: Creating a README
Write whatever you would like!
…remember to title your file README.md to indicate the markdown file type.
You created your first repo.
CONGRATS!!
Slide by Sophia Batchelor, https://zenodo.org/record/5070361, https://tenor.com/view/flower-power-rainbow-yeah-gif-7304860
GitHub Vocab
Commit
Saving a version of file(s)
Branch & Fork
Branch & Fork
Fork & Pull Request.
If you don’t own a repo and aren’t an official collaborator:
Pull Request & Merge
Pull request
request to add your changes from a branch back into main.
Merge
act of incorporating new changes (commits) from one branch to another.
Pull Request & Merge
Pull request
request to add your changes from a branch back into main.
Merge
act of incorporating new changes (commits) from one branch to another.
Pull Request (PR) - 1
Task 1: Edit the file with your details and create a new branch.
Your branch
Your branch
Pull Request (PR) - 2
Task 2: Submit a Pull Request of your branch to main.
Your branch
Your branch
Let’s edit a page and submit a Pull Request (PR).
GitHub Exercise 2.
PAUSE!!!
Any questions?
Slide by Sophia Batchelor, https://zenodo.org/record/5070361
Merge
Merge
Review: Demo ☀️
Users with write access can approve and merge PRs
PAUSE!!!
Any questions?
Slide by Sophia Batchelor, https://zenodo.org/record/5070361
54
PAUSE!!!
MERGE CONFLICT!!
Slide by Sophia Batchelor, https://zenodo.org/record/5070361
What we’ve done �so far…
Image. The Turing Way project illustration by Scriberia. Used under a CC-BY 4.0 licence. DOI: 10.5281/zenodo.3332807.¶
https://github.com/alan-turing-institute/the-turing-way, <personal twitter>, @turingway, CC-BY 4.0, DOI: 10.5281/zenodo.<update>
Overview
You should have received an invite to the repository!
Contributing to �Open Source Projects
Image. Used under a CC-BY 4.0 licence. DOI: 10.5281/zenodo.3332807.¶
It’s hard work!
What is your experience with contributing to open source projects?
Issue vs Pull Request (PR)
Using Issue & PR Features
Contributing to The Turing Way
https://github.com/alan-turing-institute/the-turing-way, @turingway, CC-BY 4.0, DOI: 10.5281/zenodo.6997522.
The Turing Way: Github Repository
https://github.com/alan-turing-institute/the-turing-way, @turingway, CC-BY 4.0, DOI: 10.5281/zenodo.6997522.
We will be editing this together!
The Turing Way: Github Repository
https://github.com/alan-turing-institute/the-turing-way, @turingway, CC-BY 4.0, DOI: 10.5281/zenodo.6997522.
Community standards
Learn more about the project here
Learn more about contributing to the project
Community contributors
Contributing to The Turing Way: Issues
https://github.com/alan-turing-institute/the-turing-way, @turingway, CC-BY 4.0, DOI: 10.5281/zenodo.6997522.
Contributing to The Turing Way: Making a Pull Request
https://github.com/alan-turing-institute/the-turing-way, @turingway, CC-BY 4.0, DOI: 10.5281/zenodo.6997522.
Issue
Propose Changes
Contributing to The Turing Way: Making a Pull Request
https://github.com/alan-turing-institute/the-turing-way, @turingway, CC-BY 4.0, DOI: 10.5281/zenodo.6997522.
Draft Pull Request
Create Pull Request
Contributing to The Turing Way: Issues & Pull Requests
https://github.com/alan-turing-institute/the-turing-way, @turingway, CC-BY 4.0, DOI: 10.5281/zenodo.6951699.
Review Pull Request
Merge changes!
Contributing to The Turing Way: DEMO!
https://github.com/alan-turing-institute/the-turing-way, @turingway, CC-BY 4.0, DOI: 10.5281/zenodo.6997522.
Session 1: https://github.com/alan-turing-institute/the-turing-way/issues/2494
Session 2: https://github.com/alan-turing-institute/the-turing-way/issues/2493
Image. The Turing Way project illustration by Scriberia. Used under a CC-BY 4.0 licence. DOI: 10.5281/zenodo.3332807.¶
PAUSE!!!
Any questions?
Slide by Sophia Batchelor, https://zenodo.org/record/5070361
Let’s dive in!
https://github.com/alan-turing-institute/the-turing-way, @turingway, CC-BY 4.0, DOI: 10.5281/zenodo.6997522.
https://pad.carpentries.org/cc2022-git-good
If you finish early, feel free to find an issue you’re interested in working on: and get started!
Tips for the breakout rooms:
https://github.com/alan-turing-institute/the-turing-way, @turingway, CC-BY 4.0, DOI: 10.5281/zenodo.6997522.
https://pad.carpentries.org/cc2022-git-good
Main room: for anyone who missed a part of the workshop!
https://github.com/alan-turing-institute/the-turing-way, <personal twitter>, @turingway, CC-BY 4.0, DOI: 10.5281/zenodo.<update>
Overview
So you’ve learned how to contribute to an open source project…
https://github.com/alan-turing-institute/the-turing-way, @turingway, CC-BY 4.0, DOI: 10.5281/zenodo.6997522.
What we’ve accomplished
Image. The Turing Way project illustration by Scriberia. Used under a CC-BY 4.0 licence. DOI: 10.5281/zenodo.3332807.¶
Next steps
Image. The Turing Way project illustration by Scriberia. Used under a CC-BY 4.0 licence. DOI: 10.5281/zenodo.3332807.¶
Keep in touch with The Turing Way community!
Join a Community Event
- Collaboration Cafes
- Coworking Calls
- Fireside Chats
- Book Dash
- Community Share-out
https://github.com/alan-turing-institute/the-turing-way, @turingway, CC-BY 4.0, DOI: 10.5281/zenodo.6997522.
bit.ly/turingway
Get involved with the community
https://github.com/alan-turing-institute/the-turing-way, @turingway, CC-BY 4.0, DOI: 10.5281/zenodo.6951699.
bit.ly/turingway
https://zenodo.org/record/3332807
Acknowledgements:
Stay in Touch
– Book: the-turing-way.netlify.com
– Mastodon: https://fosstodon.org/@turingway
Contact us: e.plomp@tudelft.nl, hsood@turing.ac.uk, sbatchelor@turing.ac.uk, asteele@turing.ac.uk
@turingway, CC-BY 4.0, DOI: 10.5281/zenodo.6951699.
Thanks to our community of contributors & users!
Key Practices for Collaboration
https://github.com/alan-turing-institute/the-turing-way, @turingway, CC-BY 4.0, DOI: 10.5281/zenodo.6951699.
Develop & share
Share resources
Review and update
Maintain & improve
Make it global
Share best practices