Entries Tagged with 'git' ↓

Integrating TeamCity with Gerrit using PowerShell – Part 1

Introduction Right now, I’m in a project where we use Google’s gerrit for code review, and JetBrains Team City for CI. Both of these tools are good by themselves, but if they could combine their powers, we’d gain a lot in terms of reviewing capabilities, offloading the burden of verifying the build to Team City (compiling, running unit tests, anlysing code etc.) , while developers focus on actually reviewing. In this three-part series, I’ll show how this can be set…

Automatic issue tags in Git commit messages

If you’re working on a project, chances are you’re also using some kind of issue tracker (like Jira or Trac). Most modern issue trackers allow integration with version control systems such as Git, so that it’s possible to view any commits attached to a certain issue. This works by the issue tracker parsing the commit message and looking for certain patterns corresponding to issues. Jira for example identifies it’s issues through the pattern “FOO-n”, where “n” is a number and…

Configure Git, Like a Boss

A simple Continuous Integration and Deployment workflow with ASP.NET MVC, GitHub and Jenkins

This tutorial describes the process of setting up a simple ASP.NET MVC Web Application with Entity Framework and Code First Migrations and a workflow for developing, testing, staging and deploying the application with full automation using GitHub, Jenkins and IIS. Setting up a development machine First of all, make sure you have installed the following software: Git for Windows or GitHub for Windows. .NET 4 (or higher). Version 4.5 is required if you are using EF5. Visual Studio 2010 (or…

‘git add –p’ is awesome

Continuous Deployment, Versioning and Git

So you have heard about continuous delivery and continuous deployment and you are eager to try, but your manager is afraid that you will lose traceability of the project. How can frequent updates of your binaries be tracked in a rapidly progressive environment, where every commit is a potential release? Artifact Version vs. Commit The traditional Java community way of version handling with a three digit number, potentially followed by a build number or a qualifier, e.g. 1.2.3.RELEASE, works well…

Finding with Git

Deploying a Clojure web app on Heroku

Heroku is a cloud application platform for Ruby/Rails and Node.js. However, the Cedar stack on Heroku makes it possible to deploy other types of applications. In this blog entry, I will first describe how to write a simple Clojure web app using the Ring library and the build tool Leiningen. Then I will show how to deploy this Clojure web app on Heroku, using nothing but Git. I will make a change and see how to deploy that. I will also show how to easily roll back to a previous release.

Using Git with Subversion

Under the Hood of 'git clone'

When you clone a git repository, everything is automatically setup to allow you to fetch, pull, push to and from the remote repository, origin. But what is really going on? git remote is configured with a few lines of configuration in the config file inside the .git/ directory. Here’s how it works: Create a new repository, called base, add a file to it, then commit. Clone this repository, called klon. Initialize a new repository, called kopy. The difference in configuration…

Maven automatic build versioning and Git against Subversion