public
Description: git hook to manage lighthouse tickets
Homepage:
Clone URL: git://github.com/gwik/lighthouse-git-hooks.git
name age message
file .gitignore Sat Jul 05 12:05:05 -0700 2008 fix .gitignore [gwik]
file .gitmodules Sat Jul 05 10:20:10 -0700 2008 moving submodules [gwik]
file LICENSE Sat Jul 05 12:49:19 -0700 2008 updating README and LICENSE [gwik]
file README.mdown Fri Dec 19 15:44:00 -0800 2008 Changed the ordering of the README file so that... [bendycode]
directory hooks/ Mon Jul 07 11:10:00 -0700 2008 move [gwik]
directory lib/ Wed Jan 07 13:19:26 -0800 2009 Allow git comments like "[#81] Some comment." t... [bendycode]
directory spec/ Tue Oct 28 12:17:16 -0700 2008 method build_message will not return diffs if C... [Neer Friedman]
directory vendor/ Sat Jul 05 10:20:28 -0700 2008 moving to vendor [gwik]
README.mdown

Lighthouse git hooks

© 2008 Antonin Amand

License MIT

Lighthouse git hooks provide git hooks for closing tickets in your git commit message.

Installation

# Install these gems if you don't already have them:
sudo gem install activeresource
sudo gem install activesupport
sudo gem install mime-types
sudo gem install open4

# Install and initialize this project:
git clone git://github.com/gwik/lighthouse-git-hooks.git
cd lighthouse-git-hooks.git
git submodule init
git submodule update

# Create your config directory, so it can be referenced from the post-receive file:
cp -r spec/config_test config

edit config/general.yml and insert your values from lighthouse
cd config/users
mv gwik.yml your_name.yml
edit your_name.yml and insert your values from lighthouse
create a some_name.yml file for each other code committer on your git project

Setup

Setup the configuration, see spec/config_test for an example configuration directory

In the git repository that you push on :

cp hooks/post-receive (.git/)hooks/post-receive
chmod +x (.git/)hooks/post-receive

edit (.git/)hooks/post-receive
set CONFIG_DIR to the directory path where you set up the configuration
set LIB to lighthouse-git-hooks repository

Syntax

# close ticket 3
[#3 state:resolved]

# assign ticket 4 to someone else
[#4 state:open assign:joe]

For bug reports or improvements please go to the Lighthouse

For anything else feel free to contact me : gwik@gwikzone.org

Known bugs