[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Savannah-hackers-public] Re: Git hooks and setup for GNU Herds
From: |
Jim Meyering |
Subject: |
Re: [Savannah-hackers-public] Re: Git hooks and setup for GNU Herds |
Date: |
Mon, 08 Jun 2009 11:17:34 +0200 |
Davi Leal wrote:
> Jim Meyering wrote:
>> FYI, I first installed the git-post-receive-hook and git-cia
>> scripts into /usr/local/bin and adjusted hook symlinks to point
>> there instead of into /srv/git/hooks.
>>
>> Then I noticed that gnuherds-app already had an update hook pointing at
>> git-cia. So I suppose someone had already done it.
>
> The CIA bot works now. I have checked it with the below command. Thanks.
>
> However I got the error: hooks/post-receive exited with error code 1
> Se below:
>
> $ git push
> Enter passphrase for key '/home/davi/.ssh/id_dsa':
> Counting objects: 11, done.
> Compressing objects: 100% (6/6), done.
> Writing objects: 100% (6/6), 513 bytes, done.
> Total 6 (delta 3), reused 0 (delta 0)
> To ssh://git.sv.gnu.org/srv/git/gnuherds-app.git
> 4822c1b..6da2f8e stable-001 -> stable-001
> *** hooks.mailinglist is not set so no email will be sent
> *** for refs/heads/stable-001 update
> 4822c1b72ce12c541f8935a95e4e1a61a22a986c->6da2f8ec638c45bfb95b7de4ada49a397066dfe7
> error: hooks/post-receive exited with error code 1
Odd. The code that prints that does "exit 0" right afterwards,
so I don't see how the script could exit with nonzero status.
Anyhow, I've moved it aside:
cd /srv/git/gnuherds-app.git/hooks
mv post-receive post-receive-off