Auto-closing review requests when pushing changes

We’ve launched a new feature today for simplifying your code review workflow.

If you’re using GitHub, Bitbucket, or Google Code, RBCommons can now automatically close your review requests when you push your commits to your repository, making use of the service’s “post-commit” hooks. You’ll no longer need to click Close -> Submitted, saving time and keeping your dashboard clean.

 

Usage is simple

Once you’re set up (and we’ll go into that in a minute), all you need to do is include the following in your commit message:

Reviewed at https://rbcommons.com/s/<your-team>/r/<id>/

Or:

Review Request #<id>

Just commit, and your review request will be automatically closed, along with a message containing the commit revision and which branch it was committed to.

 

Setting this up

Setup depends on which service you’re using for your repositories, but we’ve worked to make it pretty simple.

We’ve added some new buttons to your Team Administration -> Repositories page. You’ll see a “Hooks” button next to any supported repository. Click that, and you’ll see instructions on turning this feature on for your repository. In just seconds, your repository will be set up!

This feature is still new, but has been undergoing testing for several weeks. If you hit any snags, let us know and we’ll help get you going.

Read More

Announcing support for Beanstalk and Bitbucket Git

We’re happy to announce that we’ve added support for two heavily requested code hosting services: Beanstalk, and Bitbucket Git repositories.

 

Welcome, Beanstalk!

Beanstalk is a code hosting and development service with support for Git and Subversion. It integrates with a variety of services and offers easy deployment to servers. They offer a free 30 day trial, and have reasonably priced packages for teams and businesses of all sizes.

To add a Beanstalk repository to RBCommons, you first need to enable API support for your account. Log into Beanstalk and click Account on the top-right. Then scroll down to Developer API and enable it.

Then, on RBCommons, simply add a repository and choose Beanstalk as the hosting service. Enter your Beanstalk account domain (the mydomain part of mydomain.beanstalkapp.com), your repository name, and save. You’re set up!

 

Bitbucket Git is finally here

As of today, you’ll be able to use Git repositories hosted on Bitbucket. Before today, Bitbucket was only usable with Mercurial. You can simply add your repository like any other repository. Just choose Bitbucket as the hosting service, and Git for the repository type.

You will need to install RBTools 0.5.2 and use rbt post in order to post your diffs for Bitbucket Git repositories. Unfortunately, due to some limitations in the Bitbucket APIs, you cannot use git diff or older versions of RBTools.

 

To all new users

We have guides for helping you get set up quickly. Please see our Getting Started guide, and Posting Patches for Review.

If you’re signing up for Beanstalk or Bitbucket Git support, let us know! You can tell us where you came from when creating your team.

Read More