Why Your Enterprise Needs a Git Strategy (Part 1)

Git Strategy 1 image

A governed adoption of Git can help speed up software development, while ensuring the security of source code. In the first of a two-part blog series we assess the status of Git in the enterprise and discuss major challenges to its adoption. Git is the world’s leading distributed source code management (SCM) system. In a recent CollabNet survey, 87% of the 838 respondents polled indicated that their enterprises either already use or have plans to deploy Git. With its flexibility, speed, and powerful branching and merging capabilities, Git represents an opportunity for global enterprises to drive productivity and accelerate application …

Read More »

Gerrit Productivity Hacks – Plugin For Gmail

diffy_gmail

Today, as a part of Gerrit Productivity Hacks Series, I would like to point you to a relatively new Google Chrome extension: Gerrit Plugin for Gmail, which can significantly speed up your code review process. How does it work? Here is an excerpt from the plugin page: This Chrome extension aims to implement a very basic Gerrit workflow into your Gmail, based on the emails Gerrit sends. Specifically, It formats your Gerrit messages in Gmail. New changes and patch sets will include colored, unified diffs of the changes. Makes Gerrit emails easier to read by removing noise and highlighting important …

Read More »

Gerrit Hackathon at Google HQ… next one is coming

As always after the Gerrit User Summit, a Gerrit hackathon took place. This time it was a five days event (9-11 November 2015), where members of the Gerrit community could work together, fully focused on making Gerrit a better software. 2015 edition gathered 15 participants from various companies like Google, SAP, Sony Mobile, Qualcomm, OpenStack, Axis Communications, Gerritforge and of course CollabNet. Hackathons are really intensive periods of time for Gerrit project: over 400 patches were merged, three releases (2.11.5 and two release candidates of 2.12) were performed, countless number of open changes and patchsets were pushed for review. This …

Read More »

Gerrit Productivity Hacks – Configure Jenkins to stop hammering your Gerrit server

Jenkins

As part of productivity hack blog series, this post is aimed towards Gerrit admins/Jenkins CI owners. This post will talk about how they can configure/tune systems they’re maintaining such that Gerrit servers will have less load caused by CI systems and make them capable of serving human users better. Jenkins usage pattern which can create load on Gerrit server Constant/Frequent Polling We all understand importance and benefits of a good Continuous Integration system. It all begins immediately with having a new source code change in the source code repository. We would want our CI system such as Jenkins to grab …

Read More »

CollabNet @ Gerrit User Summit 2015

gus2015

On Saturday, November 7 and Sunday, November 8 the Gerrit User Summit took place in Mountain View, CA. This quite exclusive (invite only) event is organized by Google annually. It gives an unique opportunity for Gerrit users and admins to meet and share their knowledge and experience about using Gerrit Code Review system. It also gives you great insights into the future of Gerrit so you might be less surprised by the newest release. 🙂 This year there was over 60 participants from various companies. Apart from CollabNet and – of course – Google, other important names were present: AMD, …

Read More »

Gerrit Productivity Hacks – Add Default Reviewer

We often get requests from the TeamForge users who’re using Git Integration for the one very common use case:  “How can I add a default reviewer to the code review request ? ” Well, answer became much simpler with Gerrit’s  Reviewer plugin  and Gerrit 2.11 with which plugin can be configured per project with the comfort of Gerrit webUI. Installation The verified version of the plugin can be downloaded or install directly. Download and install wget https://s3-ap-southeast-1.amazonaws.com/ctf-dev-environment-vagrant/reviewers.jar ssh -p 29418 <USERNAME>@<GERRIT_HOST>  gerrit plugin install -n reviewers.jar  -< reviewers.jar Direct install ssh -p 29418 <USERNAME>@<GERRIT_HOST>  gerrit plugin install -n reviewers.jar  – …

Read More »

Installing Jenkins for Use with TeamForge

This week I was working with a customer, helping to set up a sandbox environment for them, including helping them to build a local Jenkins server to use with TeamForge.  I’ve done this a few times now, but every time I end up back in the same places, figuring out the same things over again so this time, I’m going to document it for me, and for you.  There’s a pretty good chance, I think, that I’ll end up doing this again for a proof of concept with a prospective customer one day, so having this information handy will be… …

Read More »

So You Want to Centralize?

“7 Steps to Centralize Your Enterprise” So you want to centralize your enterprise? Smart choice – but it’s important to take some factors into consideration if you want to have success. Developers need to ensure representation from each geographic location; understand current development processes and tools; and comprehend the biggest challenges. Furthermore, you need to be aware of, and sensitive to, your project teams’ preferences for existing tools and aversion to change. Before we get started into our list of the “7 Steps to Start Centralization,” let’s tackle the question you are probably asking – “What is centralization, anyway?” Centralization …

Read More »

10 Things You Should Know About Git Replication in the Enterprise

featuredimage

1. Git is distributed, isn’t replication a concept for centralized version control systems? You’re right, Git is a distributed version control system. However, most enterprises require their developers to synch their local work with central, “blessed” repositories. Those central synch points make sure no work is lost if a laptop gets stolen or damaged and developers only have to only know one place where they have to go to learn about their colleagues’ work results. The same applies to build/CI servers like Jenkins that will monitor and pull the latest source code from the blessed repository as well. Consequently, most …

Read More »

Stash your Trash – Keep GIT clean with Gerrit 2.10

Stash your Trash - Keep GIT clean - CollabNet

Garbage collection is really important, not just in the real world but also within your Git repositories. If you have lots of development activities going on, chances are very high that your Git clone and push operations will get slower and slower. Fortunately, the cure is simple: Run git garbage collection (git gc). We have seen examples where running gc cut clone and push times by more than 99 percent. Same goes for code browsing activities as well – Run git gc and list your branches online within milliseconds instead of seconds again. If Git garbage collection has so many …

Read More »