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 (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Sat Jul 05 12:05:05 -0700 2008 | |
| |
.gitmodules | Sat Jul 05 10:20:10 -0700 2008 | |
| |
LICENSE | Sat Jul 05 12:49:19 -0700 2008 | |
| |
README.mdown | Fri Dec 19 15:44:00 -0800 2008 | |
| |
hooks/ | Mon Jul 07 11:10:00 -0700 2008 | |
| |
lib/ | Wed Jan 07 13:19:26 -0800 2009 | |
| |
spec/ | Tue Oct 28 12:17:16 -0700 2008 | |
| |
vendor/ | Sat Jul 05 10:20:28 -0700 2008 |
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







