Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.
/ basecamp_notify Public archive

Simple Capistrano plugin to post a Basecamp message for each deploy listing the git commit messages that happened since the last deploy

Notifications You must be signed in to change notification settings

scoop/basecamp_notify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

basecamp_notify
===============

A super-simple Capistrano recipe that hooks into your deploy process and
posts new messages to your project's Basecamp account on each deploy,
containing the abbreviated commit logs of each commit between the last deploy
and the current deploy.

INSTALLATION:

* Stick it in yourapp/vendor/plugins/basecamp_notify
* Copy the example configuration containing your sensible Basecamp login data
  from examples/basecamp.yml into config/basecamp.yml and adjust the contents.
  (And ignore it via .gitignore)

USAGE:

In basecamp.yml you can additionally define a specific category for each stage and 
you can format the the title of the message by using "title_format".
The "title_format"-string can include the following placeholders:

* %r for the current_revision
* %p for the defined prefix
* %a for the application
* %s for the stage

You also can (be) ask(ed) for a deployment message by adding "ask_msg: true" to your configuration.

KNOWN ISSUES:

* Only works with git and subversion.
* No error checking, really. Although the Subversion part falls back to a standard
  `svn log` if the XML parsing fails

CREDITS:

* The Basecamp API Wrapper by 37 Signals (bundled in vendor/):
  http://developer.37signals.com/basecamp/basecamp.rb
* Inspiration:
  http://www.37signals.com/svn/posts/951-using-basecamp-to-automatically-keep-track-of-product-releases
  
CONTRIBUTORS:

* Luke Randall
* Sebastian Graessl

About

Simple Capistrano plugin to post a Basecamp message for each deploy listing the git commit messages that happened since the last deploy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages