hgcampfire 0.3.2

Mercurial hook to report incoming changesets to Campfire chatroom

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!

What's new in hgcampfire 0.3.2:

  • Add option to avoid announcing merges coming from a branch that matches a regular expression
Read full changelog
send us
an update
LICENSE TYPE:
GPL (GNU General Public License) 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Carl Meyer
HOMEPAGE:
bitbucket.org
CATEGORY:
ROOT \ Programming \ Version Control
hgcampfire is a Mercurial hook to notify a Campfire chatroom about changesets coming in to a repository.

Usage:

Add the following to your Mercurial config (in a system, user, or repo-level hgrc file), replacing the API key, URL, and room ID:

[campfire]
api_key = CAMPFIRE_AUTH_TOKEN_FOR_THE_USER_NOTIFICATIONS_WILL_COME_FROM
url = http://myorg.campfirenow.com
room = 123456

[hooks]
changegroup.campfire = python:hgcampfire.notify

These configs can of course be separated into different hgrc files, for instance if you want to specify the Campfire data user-wide, but apply the actual hook only to certain repositories.

Customization

You can modify the template hgcampfire uses for its notification by setting the template config value in the [campfire] section. The default value is {user} pushed:\n{changesets}. This template has the following context available to it: root is the repository root path, user is the value of the $USER environment variable, and changesets is the list of changesets pushed.

You can also modify the template hgcampfire uses to report each changeset, by setting the cset_template config value in the [campfire] section. This should be a Mercurial changeset template, of the same form you'd pass to --template. The default value is * "{desc}" by {author}.

Last updated on March 18th, 2012

requirements

#report changesets #Campfire chatroom #Mercurial #changesets #reporting #Campfire

Add your review!

SUBMIT