egit wird erwachsen git, github und gerrit – alles in der ide += dr. stefan lay (sap ag)...
TRANSCRIPT
EGit wird erwachsen Git, Github und Gerrit – alles in der IDE
+ =Dr. Stefan Lay (SAP AG)[email protected]: @stefanlay
Git and Eclipse: News from EGit, Gerrit and Github integration | © 2011 by Stefan Lay, SAP AGEgit wird erwachsen | © 2012 by S. Lay, SAP AG
Agenda
Example workflow: Contributing to a cloud application
New Features in EGit 2.0
Q & A
Git and Eclipse: News from EGit, Gerrit and Github integration | © 2011 by Stefan Lay, SAP AGEgit wird erwachsen | © 2012 by S. Lay, SAP AG
Enabling contributions
Git and Eclipse: News from EGit, Gerrit and Github integration | © 2011 by Stefan Lay, SAP AGEgit wird erwachsen | © 2012 by S. Lay, SAP AG
Enabling contributions
Missing Domain knowledge
Complex (integration) test setup
Difficult tool chain
Git and Eclipse: News from EGit, Gerrit and Github integration | © 2011 by Stefan Lay, SAP AGEgit wird erwachsen | © 2012 by S. Lay, SAP AG
Enabling contributions
Missing Domain knowledge→ Tool-supported code review
Complex (integration) test setup
Difficult tool chain
Git and Eclipse: News from EGit, Gerrit and Github integration | © 2011 by Stefan Lay, SAP AGEgit wird erwachsen | © 2012 by S. Lay, SAP AG
Enabling contributions
Missing Domain knowledge→ Tool-supported code review
Complex (integration) test setup→ Run validation centrally before submitting to master branch
Difficult tool chain
Git and Eclipse: News from EGit, Gerrit and Github integration | © 2011 by Stefan Lay, SAP AGEgit wird erwachsen | © 2012 by S. Lay, SAP AG
Enabling contributions
Missing Domain knowledge→ Tool-supported code review
Complex (integration) test setup→ Run validation centrally before submitting to master branch
Difficult tool chain→ IDE integration
Git and Eclipse: News from EGit, Gerrit and Github integration | © 2011 by Stefan Lay, SAP AGEgit wird erwachsen | © 2012 by S. Lay, SAP AG
Enabling contributions
Git and Eclipse: News from EGit, Gerrit and Github integration | © 2011 by Stefan Lay, SAP AG
DEMO
Egit wird erwachsen | © 2012 by S. Lay, SAP AG
Git and Eclipse: News from EGit, Gerrit and Github integration | © 2011 by Stefan Lay, SAP AG
Jenkins
Developer PC
Gerrit
git gitgitgit
Developer PC
gitgit
- Clone repository - Push changes Verify changes
- Deploy to test instance- Run integration tests- Deploy to production
git
Egit wird erwachsen | © 2012 by S. Lay, SAP AG
Features in EGit 2.0
Git and Eclipse: News from EGit, Gerrit and Github integration | © 2011 by Stefan Lay, SAP AG
Git @ Eclipse
Egit wird erwachsen | © 2012 by S. Lay, SAP AG
Source: http://www.eclipse.org/projects/scmcountdown.php
Git and Eclipse: News from EGit, Gerrit and Github integration | © 2011 by Stefan Lay, SAP AG
History of Git, JGit and EGit2005 Linus Torvalds initiates Git2006 Shawn Pearce initiates JGit
2009 Eclipse decides for Git JGit/EGit move to eclipse.org
3/2011 Eclipse Community Award: Most innovative new feature
6/2011 EGit/JGit Release 1.0 (Eclipse Indigo)
1/2012 Gerrit available for all projects hosted at eclipse
6/2012 EGit/JGit Release 2.0 (Eclipse Juno)
Egit wird erwachsen | © 2012 by S. Lay, SAP AG
Git and Eclipse: News from EGit, Gerrit and Github integration | © 2011 by Stefan Lay, SAP AG
Features in EGit 2.0
Git Features• Reflog View• Stash Support• Submodules Support• Blame on historic versions• Push a single branch/tag/commit
Other features• Repository Import Extension Point• Improved Github integration• Import git repository from installed plugin• Workspace patches
Egit wird erwachsen | © 2012 by S. Lay, SAP AG
Git and Eclipse: News from EGit, Gerrit and Github integration | © 2011 by Stefan Lay, SAP AG
DEMO: Features in EGit 2.0
Egit wird erwachsen | © 2012 by S. Lay, SAP AG
Git and Eclipse: News from EGit, Gerrit and Github integration | © 2011 by Stefan Lay, SAP AG
Gerrit Code Review
Gerrit developed at http://code.google.com/p/gerrit
https://review.source.android.com/Gerrit for Android projects (also Gerrit)
Egit wird erwachsen | © 2012 by S. Lay, SAP AG
Git and Eclipse: News from EGit, Gerrit and Github integration | © 2011 by Stefan Lay, SAP AG
Git Resources
Ask questions on the EGit forum or egit-dev/jgit-dev lists
http://git-scm.com/documentation is your friend
If you want comedy, watch Linus' talk at Googlehttp://www.youtube.com/watch?v=4XpnKHJAok8
Read the Pro Git book - http://progit.org/book/
Egit wird erwachsen | © 2012 by S. Lay, SAP AG
Git and Eclipse: News from EGit, Gerrit and Github integration | © 2011 by Stefan Lay, SAP AG
Useful Links
Github Mylyn Connectorhttp://download.eclipse.org/egit/github/updates-nightly
Gerrit Mylyn Connectorhttp://download.eclipse.org/mylyn/snapshots/weekly
Egit wird erwachsen | © 2012 by S. Lay, SAP AG