Monday, July 7, 2014

GitMinutes #30: Luca Milanesio on Gerrit Code Review

This is GitMinutes episode 30 where I’m talking to Luca Milanesio, a seasoned Gerrit contributor, and the co-founder of GerritForge.

Link to mp3

  Listen to the episode on YouTube

You may know Gerrit as being the code-review tool that powers some of the largest open source projects out there today, like Android, Chrome and the Eclipse foundation. It’s used by big companies like Google, Sony, Ericsson and many others. It’s a very powerful tool where you can push up your suggested changes and have them reviewed naturally, and you can also get feedback from continuous integration tools like Jenkins to make sure that your suggested changes don’t break the build. And Gerrit is the main thing we’ll talk about today.


Luca's Git pro-tip:
Use your Git local repopository as your journal and your Git commits as the explicit, simple and useful phrases of it. Before pushing, do a git rebase -i to review, re-organise and give sense to your Git history.

Outline/questions (if you think this is useful, let me know):

0:00 Welcome, intro
1:14 Thanks to DigitalOcean for sponsoring this episode!
2:33 Welcome to the show, Luca.
3:29 Tell us about the force push
5:10 Tell us how you ended up where you are today
7:06 What is
8:19 Is GitEnterprise like GitHub for companies?
14:50 Lets come back to codereview later
15:23 Is GerritHub = GitEnterprise = GerritForge?
17:39 Can everyone use GerritHub for Github stuff?
18:34 Are the GitHub repositories used as the backend for Github?
23:32 Let's take a step back and look at Gerrit from the perspective of a beginner
31:23 For which teams is Gerrit the right choice?
36:09 What about teams coming directly from SVN or something else starting with Git and Gerrit at the same time?
41:40 What are Topics about?
44:53 Where are the topics managed? Where is the master record?
46:01 I definitely see the need for topics with multi repo or Jenkins jobs
49:05 Is Gerrit a good choice if you have multiple interdependent repositories then?
51:12 About Facebooks big mercurial infrastructure
51:38 Gerrit will give you the advantages that Faceboo wanted, and smaller repos
53:30 How do you review topics within Gerrit compared to traditional commits?
58:42 Are multiple interdependent changes merged in one go or one commit at a time?
59:56 We went a bit off course there, topics are very interesting :)
1:00:28 Can you talk about the community and what's going on there?
1:02:41 Oh, Spotify is also using Gerrit?
1:08:22 Traditional code review is more blame game...
1:09:54 Gerrit style review is actually lowers the barrier for daring to submitting patches..
1:15:31 Pair programming vs Code Review
1:19:05 How to learn/introduce Gerrit in a company
1:23:58 Any questions I forgot to as you? (How the force push happened)
1:25:34 Anything you'd like to promote?
1:26:57 Let people know how they can get in touch with you.
1:27:17 Tell us your favorite Git pro-tip.

Monday, May 19, 2014

GitMinutes #29: James Moger on GitBlit

In this episode, we talk to James Moger, the author of GitBlit, an open-source Java-powered Git repository manager.

Link to mp3

This episode of GitMinutes is sponsored by DigitalOcean. Sign up using the promo-code GITMINUTES10 to receive 10$ worth of credit. Want to see how you can run GitBlit on your own DigitalOcean droplet? There's a screencast for that:

See how to set up GitBlit on DigitalOcean

Things we mentioned:
James' pro-tips:
Some things we didn't talk about, but I'd like to mention:

Extra pro-tip:  "git fetch -p".  It stands for prune. Will remove tracking refs from your clone that no longer exist in the remote but it will NOT remove any of your local branches.  It's a useful shortcut for cleaning up your clone so you can GC to reclaim space.

Listen to the episode on YouTube

Monday, April 14, 2014

GitMinutes #28: Johannes Schindelin on Git for Windows

In this episode we talk to Johannes Schindelin from the msysgit project, a tool used for building Git for Windows.

Link to mp3

Johannes is a mathematician with a degree in genetics. In his day job, he supports biologists with image processing and analysis. He is involved in a number of Open Source projects and he co-maintains Git for Windows with Sebastian Schuberth, Pat Thoyts and Erik Faye-Lund. He is from Germany, but currently lives in the Mid-West of the US.

Note: We briefly discussed libgit2 being licensed as BSD. This is not the case anymore: It has switched to GPLv2 with a linking exception,


Listen to the episode on YouTube

Monday, February 17, 2014

GitMinutes #27: Stefan Saasen from Atlassian

In this episode I’m talking to Stefan Saasen from Atlassian. We focus mainly on Stash, which is their on-premise Git repository manager, but we’ll also touch on their other products to see how they all work together.

Link to mp3

Stefan is the development lead for Atlassian Stash. He has worked on Atlassian Confluence, later with the OnDemand authentication system and finally on Stash, their Git hosting solution. He’s responsible for migrating the Confluence team from Subversion to Git, as well as a large number of Atlassian OnDemand customers.
Favorite Git pro tips:

Extend Git with git extras and git activity.

Listen to the episode on YouTube