taskSavannah Administration - Tasks: task #14486, Git post-receive-hook fails; no...

 
 

task #14486: Git post-receive-hook fails; no email notifications for GNU AUCTeX anymore

Submitter:  Tassilo Horn <tsdh>
Submitted:  Sun 23 Apr 2017 06:56:22 AM UTC
   
 
Should Start On:  Sat 22 Apr 2017 10:00:00 PM UTC Should be Finished on:  Sat 22 Apr 2017 10:00:00 PM UTC
Category:  System Priority:  * 5 - Normal
Status:  None Privacy:  Public
Assigned to:  rwp Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 24 Apr 2017 04:01:30 PM UTC, comment #3: 

Thanks Bob,

if you don't hear anything from my side, assume that it works again.

Bye,
Tassilo

Tassilo Horn <tsdh>
Sun 23 Apr 2017 07:19:22 PM UTC, comment #2: 

Adding more detail for the ticket log.

The hook script for auctex.git/hooks/post-receive is this:

while read oldrev newrev refname; do
  echo $oldrev $newrev $refname | hooks/git-post-receive-hook
  echo $oldrev $newrev $refname | hooks/post-receive-mail-local
done
exit 0

The problem case called /usr/local/bin/git-post-receive-hook which was missing on the new server.  Since this is unique to auctex I copied it into the hooks directory so that it would be tightly associated with it in the future in the event of future server migrations.  (Which is likely.)

Bob Proulx <rwp>
Site Administrator
Sun 23 Apr 2017 07:14:25 PM UTC, comment #1: 

Re-installed.  Sorry.  This was lost in the server migration to the new servers.  It was on the old but not on the new.

I have installed it into the shared repository area so that it is there instead of on the system and will travel with the repository for any future migrations.  I believe it should be working however I have not tested it.

Thank you for reporting this problem.  Again sorry that it was missed.

I ran a check across the other git repositories looking for other repositories with this same issue and I think auctex.git is unique in running this particular hook script.  I ran a check across other git repositories looking for other hooks calling utilities from /usr/local and think that the others were all already updated.

Bob Proulx <rwp>
Site Administrator
Sun 23 Apr 2017 06:56:22 AM UTC, original submission:  

Hi Savannah hackers,

we, the GNU AUCTeX committers, noticed that whenever we git push to our source code repository, there's an error on the remote:

➤ git push
Counting objects: 4, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 454 bytes | 0 bytes/s, done.
Total 4 (delta 3), reused 0 (delta 0)
remote: hooks/post-receive: line 19: /usr/local/bin/git-post-receive-hook: No such file or directory
To git.sv.gnu.org:/srv/git/auctex.git
   a28aea0a..a90cab53  master -> master

As a consequence, all our commit notification mails aren't sent anymore, i.e., there haven't been sent any mails to auctex-cvs and auctex-diffs for the last few weeks.

Could you please check and re-install our post-commit-hook which has worked fine for the last few years?

Thanks,
Tassilo

Tassilo Horn <tsdh>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rwp (Posted a comment)
  • -email is unavailable- added by tsdh (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-04-23 rwp Assigned toNone rwp
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code