egit wird erwachsen git, github und gerrit – alles in der ide += dr. stefan lay (sap ag)...

18
EGit wird erwachsen Git, Github und Gerrit – alles in der IDE + = Dr. Stefan Lay (SAP AG) [email protected] Twitter: @stefanlay

Upload: faith-corcoran

Post on 28-Mar-2015

228 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: EGit wird erwachsen Git, Github und Gerrit – alles in der IDE += Dr. Stefan Lay (SAP AG) stefan.lay@sap.com Twitter: @stefanlay

EGit wird erwachsen Git, Github und Gerrit – alles in der IDE

+ =Dr. Stefan Lay (SAP AG)[email protected]: @stefanlay

Page 2: EGit wird erwachsen Git, Github und Gerrit – alles in der IDE += Dr. Stefan Lay (SAP AG) stefan.lay@sap.com Twitter: @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  

Page 3: EGit wird erwachsen Git, Github und Gerrit – alles in der IDE += Dr. Stefan Lay (SAP AG) stefan.lay@sap.com Twitter: @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

Enabling contributions

Page 4: EGit wird erwachsen Git, Github und Gerrit – alles in der IDE += Dr. Stefan Lay (SAP AG) stefan.lay@sap.com Twitter: @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

Enabling contributions

Missing Domain knowledge

Complex (integration) test setup

Difficult tool chain

Page 5: EGit wird erwachsen Git, Github und Gerrit – alles in der IDE += Dr. Stefan Lay (SAP AG) stefan.lay@sap.com Twitter: @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

Enabling contributions

Missing Domain knowledge→ Tool-supported code review

Complex (integration) test setup

Difficult tool chain

Page 6: EGit wird erwachsen Git, Github und Gerrit – alles in der IDE += Dr. Stefan Lay (SAP AG) stefan.lay@sap.com Twitter: @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

Enabling contributions

Missing Domain knowledge→ Tool-supported code review

Complex (integration) test setup→ Run validation centrally before submitting to master branch

Difficult tool chain

Page 7: EGit wird erwachsen Git, Github und Gerrit – alles in der IDE += Dr. Stefan Lay (SAP AG) stefan.lay@sap.com Twitter: @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

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

Page 8: EGit wird erwachsen Git, Github und Gerrit – alles in der IDE += Dr. Stefan Lay (SAP AG) stefan.lay@sap.com Twitter: @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

Enabling contributions

Page 9: EGit wird erwachsen Git, Github und Gerrit – alles in der IDE += Dr. Stefan Lay (SAP AG) stefan.lay@sap.com Twitter: @stefanlay

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

Page 10: EGit wird erwachsen Git, Github und Gerrit – alles in der IDE += Dr. Stefan Lay (SAP AG) stefan.lay@sap.com Twitter: @stefanlay

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

Page 11: EGit wird erwachsen Git, Github und Gerrit – alles in der IDE += Dr. Stefan Lay (SAP AG) stefan.lay@sap.com Twitter: @stefanlay

Features in EGit 2.0

Page 12: EGit wird erwachsen Git, Github und Gerrit – alles in der IDE += Dr. Stefan Lay (SAP AG) stefan.lay@sap.com Twitter: @stefanlay

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

Page 13: EGit wird erwachsen Git, Github und Gerrit – alles in der IDE += Dr. Stefan Lay (SAP AG) stefan.lay@sap.com Twitter: @stefanlay

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

Page 14: EGit wird erwachsen Git, Github und Gerrit – alles in der IDE += Dr. Stefan Lay (SAP AG) stefan.lay@sap.com Twitter: @stefanlay

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

Page 15: EGit wird erwachsen Git, Github und Gerrit – alles in der IDE += Dr. Stefan Lay (SAP AG) stefan.lay@sap.com Twitter: @stefanlay

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

Page 16: EGit wird erwachsen Git, Github und Gerrit – alles in der IDE += Dr. Stefan Lay (SAP AG) stefan.lay@sap.com Twitter: @stefanlay

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

Page 17: EGit wird erwachsen Git, Github und Gerrit – alles in der IDE += Dr. Stefan Lay (SAP AG) stefan.lay@sap.com Twitter: @stefanlay

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

Page 18: EGit wird erwachsen Git, Github und Gerrit – alles in der IDE += Dr. Stefan Lay (SAP AG) stefan.lay@sap.com Twitter: @stefanlay

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