Gerrit Productivity Hacks – Flexible Logging: Set DEBUG level logging without Gerrit restart

diffy_logs

Many of us have been thrown into production issue, equipped (in the best case ;)) with only vague reproduction instructions and get stuck looking into logs and have only one wish: if I could only magically enable more detailed logging and replay the scenario… just without putting restart procedure into motion… One can argue for having DEBUG level enabled all the time but this is impractical for at least two reasons: too much information is as bad as too little and log files will explode with size. Well, our prayers were answered! Since CollabNet TeamForge Git Integration 8.6.1 release one …

Read More »

Summary of the 2016 Berlin Gerrit Hackathon

Gerrit-Is-Coming

Between 14th and 18th of March 2016, the second Berlin based Gerrit Hackathon took place. It was a joined effort of CollabNet and Elego to host it. Our event attracted 17 people from various companies, including five Gerrit maintainers. Here is the full list of participants: Dave Borowitz (maintainer) (Google), Saša Živkov (maintainer) (SAP), Edwin Kempin (maintainer) (Google), David Ostrovsky (maintainer) (Individual), Hugo Arès (maintainer) (Ericsson), Han-Wen Nienhuys (Google), Khai Do (OpenStack / IBM), Alan Tokaev (Individual), Sebastian Schuberth (Here), Martin Waitz (AREVA GmbH), Oswald Buddenhagen (Qt), Patrick Hobusch (Elego), Patrick Steinhardt (Elego), Eryk Szymanski (CollabNet), Jacek Centkowski (CollabNet), Johannes …

Read More »

Diffy flies to Berlin – Second Gerrit Hackathon at CollabNet and Elego

Gerrit-Is-Coming

Back in 2014 CollabNet and Elego were sponsoring the first Gerrit Hackathon in Berlin. It was considered one of the most productive hackathons (190+ patches merged) so far. Great features like inline-edit, secure-store and x-doc plugin have been the results of the first Berlin Hackathon, here is our full recap. As the hackathon was so successful, we are going to have the second edition of it next week. This time we have 16 participants from various companies like Google, SAP, HERE, Ericsson, OpenStack, Qt, CollabNet and Elego. The event starts on next Monday (March 14th) and will last for full …

Read More »

Gerrit Productivity Hacks – Inline Edit: Change Source Code from your Browser

diffy_inline_edit

Today, we will have a look at inline-edit, a neat Gerrit feature that allows you to change source code on the fly from your browser. This feature has been finished during the Gerrit Hackathon organized by CollabNet in Berlin and is available for all recent TeamForge versions. Inline-edit introduces buttons in Gerrit’s UI to create new Gerrit changes from scratch and edit source code of existing changes drive-by style. Editing an existing change – Modify source code adhoc from your browser Let’s start with something really quick and easy. We will just fix a typo by inline modification of an existing change. This is …

Read More »

Gerrit Productivity Hack – Handling Large Binary Files with Gerrit, Artifactory and Git LFS

featured_image

Handling large binary files with Git is a performance pain. You can work around the problem by some proper Gerrit tuning and restructuring your build scripts so that they fetch binaries from an artifact repository instead of having them part of the repo. With Git LFS, there is another approach available that does not require any changes to your build process or Git server configuration. The Gerrit and JGit communities are still working on built-in Git LFS support, but I thought it makes sense to show how Gerrit can be used with a separate Git LFS backend – Artifactory – …

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 »

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 »

Bulletproof, Military Grade Security – Visualizing the Access Control Mechanisms of Your SCM Solution

Who-can-access-What

Why visualize? Access control is probably not the most sexy or intuitive part of any SCM (source code management) solution. However, understanding how access control mechanisms work is crucial for any enterprise that has to protect its intellectual property. What makes things tricky is that any SCM solution on the planet claims to have proper, powerful, “military grade”, “bulletproof” access controls in place. Looking at the specifics, there are huge differences that can give you a competitive business advantage (or disadvantage). A framework that helps you to visualize the differences in the fine print is a way better approach to …

Read More »