This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit b1809e43a39880d8df00a2f3a6e15d4dfb1c6a96
tree bba97bf5f6d7f709a42adf074ac753fcab7440b0
parent 4c2f01697ab344e7f0b42fa683385592681698d7
tree bba97bf5f6d7f709a42adf074ac753fcab7440b0
parent 4c2f01697ab344e7f0b42fa683385592681698d7
snitch /
| name | age | message | |
|---|---|---|---|
| |
CHANGELOG.txt | Wed Dec 12 18:06:01 -0800 2007 | |
| |
History.txt | ||
| |
MIT-LICENSE | Mon Oct 22 21:00:50 -0700 2007 | |
| |
Manifest.txt | ||
| |
PostInstall.txt | ||
| |
README.txt | ||
| |
Rakefile | ||
| |
TODO.txt | Wed Dec 12 18:06:01 -0800 2007 | |
| |
bin/ | ||
| |
config/ | ||
| |
lib/ | ||
| |
script/ | ||
| |
setup.rb | Sun Mar 25 20:52:46 -0700 2007 | |
| |
snitch.gemspec | ||
| |
tasks/ | ||
| |
test/ | ||
| |
website/ |
README.txt
=Snitch Snitch is an git/subversion post-commit service integration helper. SCMs typically have a post commit hook which is executed each time you commit a change to a repository. Snitch makes it really easy to hook into the post-commit and send the commit message along with the files changed to various services on the web. Snitch currently works with campfire, twitter and email. ==Installation: NOTE: the twitter gem will not work with a 0.5+ version of hpricot at this time due to a xml parsing bug 1. sudo gem install hpricot --source http://code.whytheluckystiff.net -v 0.4.86 2. sudo gem install twitter tinder snitch Needed for the git support: sudo gem sources -a http://gems.github.com/ sudo gem install mojombo-grit open4 mime-types 3. Create a configuration file (default is /home/deploy/.snitch) that looks like the following (be sure to fill in all the values). Be sure that none of the tabs from below get stay in the config file. It gets parse by yaml so formatting is important. # SNITCH START # what is the location of svnlook (you can find this on *nix boxes by typing `which svnlook`) svnlook: /usr/bin/svnlook # If you want git support, comment out the line above and uncomment this one: # git: true # what services would you like to send commit messages to? services: :campfire: :subdomain: :login: :password: :room: Development :twitter: :login: :password: # SNITCH END 4. Create or edit the post-commit file inside your repository to look like the following. Be sure to edit the CONFIG_FILE variable to wherever you created your config file in step 3. #!/bin/sh REPOS="$1" REV="$2" CONFIG_FILE="/home/deploy/.snitch" snitch $REPOS $REV $CONFIG_FILE 2> /tmp/snitch









