www.atmire.com + Bram Luyten Ignace Deroost
Jul 15, 2015
OUTLINE
Version control and Git
Interactive walkthrough
Ten killer features
Companies
Open Source projects
Under the hood
What’s the key to your professor’s next promotion?
(Assuming he or she is not up for a Nobel Prize or a Fields Medal)
PUBLICATIONS
Originally on paper
Now largely digital
Content provided by academics
Reviews provided by academics
THE PUBLISHING INDUSTRY
Originally charged for shipping paper copies
Now charges for digital access
Private enterprise
OUR TAX MONEY
Pays for researchers to do research
Pays for researchers providing reviews
Pays publishers for access to scientific results that we funded in the first place?
DSPACE
A free and open source web platform
Used by universities and public institutions to offer free and open access to the (scientific) output they produce.
@mire provides DSpace installation, support, customization and training services.
THE WORLD BANKhttps://openknowledge.worldbank.org/
WORKING FOR @MIRE
Join our team of in Belgium or USA
Developer and Project Manager vacancies
Free snacks
WHAT ARE GIT AND GITHUB
Decentralized source code management protocol
Free web based software project hosting
Git is used as underlying source code management protocol
WHAT YOU NEED TO KNOW FOR NOW
Everything is local
Fast
Compact
Clever mechanisms to “merge” changes together
https://github.com/ryderr/git-poetry
USING GIT AND GITHUB
Creating an account on Github
Contributing through the Github Web UI
Installing Git on your laptop
Using Git on Windows
FORK THE PROJECT FOR THIS WORKSHOPhttps://github.com/bram-atmire/aft-workshop
MODIFYING THE CODE IN YOUR OWN FORKCreate a new branch. Do NOT work on master
Ignace - update screenshot
EXERCISE
Install the Mac, Windows or command line client
Clone the fork of the AFT workshop repository on your local machine
Edit the README.md file locally and commit
Push this to your own Github repository
Issue a pull request with your changes
SOMETHING A LITTLE MORE ADVANCED
http://bit.ly/learning-git
http://www.slideshare.net/fusion2011/github-githubgithub
TL;DR
Firm belief in simple tools
Developer freedom
Working asynchronously
Get rid of useless meetings
http://nvie.com/posts/a-successful-git-branching-model/
OPEN SOURCE CONTRIBUTION WORKFLOW
Lowering your own maintenance costs
Prestige and achievement
Giving & receiving community support
Learn from others
Fun
BUG TRACKING AND FEATURE REQUESTS
http://jira.duraspace.org/browse/DS
HIGHLEVEL DSPACE GITHUB WORKFLOW
“Fork”Contributor copies the DSpace code repository to his/her own Github account
“Clone”Checks out a local copy of the newly created fork
“Branch”Creates a branch for development work related to a particular issue in JIRA
“Commit”Modifying the code locally
“Publish Branch”Pushing your changes to your personal Github account
AFTER FIRING THE PULL REQUEST
Generally, code will be evaluated by 2 committers prior to inclusion
Further discussion about your approach can follow on JIRA or in Github comments
You can help the committers by doing your own evaluation on pull requests by others
GOOGLE CODE
°2006
project hosting service
people started moving to GitHub
2015: google migrates their own repositories to GitHub
25/01/2016: end of Google Code
TWITTER BOOTSTRAP PROJECT
Bootstrap: the most popular HTML, CSS, and JS framework for developing responsive, mobile first projects on the web.
https://github.com/twbs/bootstrap
http://www.slideshare.net/svenpeters/getting-git-right
Slide 29+
http://think-like-a-git.net/
https://training.github.com/kit/
https://try.github.io/
https://www.codeschool.com/courses/git-real
http://git-scm.com/book/en/v2
IMAGE CREDITS
https://lightandcoffee.files.wordpress.com/2012/07/keyboard-button-template.jpg
https://brettwgould.files.wordpress.com/2013/10/who-did-what.jpg
http://isabelrose.com/wp-content/uploads/2014/11/you-did-what-.jpg
http://www.boostsuite.com/wp-content/uploads/2010/04/undo.jpg
http://darkz0ne.net/wp-content/uploads/2015/03/Google-Code-wordmark.png
http://www.usabilitytalking.com/wp-content/uploads/2010/06/academic-hat.jpg