php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #74659 SVN post-commit hook is broken
Submitted: 2017-05-26 13:19 UTC Modified: 2018-03-10 18:14 UTC
From: cmb@php.net Assigned: cmb (profile)
Status: Closed Package: Systems problem
PHP Version: Irrelevant OS: N/A
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: cmb@php.net
New email:
PHP Version: OS:

 

 [2017-05-26 13:19 UTC] cmb@php.net
Description:
------------
The automatic assignment of SVN commits to documentation bugs is
broken, at least for the German translation. After committing to
<https://svn.php.net/repository/phpdoc/de/trunk>, I get:

  post-commit hook failed (exit code 255) with output:
  PHP Fatal error:  Uncaught Error: Call to undefined function curl_init() in /home/svn/SVNROOT/commit-bugs.php:84
  Stack trace:
  #0 /home/svn/SVNROOT/post-commit(22): require()
  #1 {main}
    thrown in /home/svn/SVNROOT/commit-bugs.php on line 84



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-06-07 15:13 UTC] cmb@php.net
I'm not sure whether that is related, but since roughly two weeks,
the doc-cvs mailing list receives no updates anymore, see
<http://news.php.net/php.doc.cvs>.

The erroneous behavior *might* be caused by
<http://git.php.net/?p=web/doc-editor.git;a=commitdiff;h=3e21670>.
 [2017-06-07 15:42 UTC] rasmus@php.net
That commit just changes the line-endings on HTTP headers. It can't possibly have anything to do with the commit hook. The error seems way more pedestrian and is in your initial report there. The curl extension isn't enabled. If I could ssh into svn.php.net I would fix it, but I can't right now for some reason.
 [2018-03-10 18:14 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2018-03-10 18:14 UTC] cmb@php.net
Apparently, this issue has been resolved in the meantime.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 14:01:28 2024 UTC