<feed xmlns='http://www.w3.org/2005/Atom'>
<title>forums/git-tools/hooks/pre-commit, branch master</title>
<subtitle>The forums.mageia.org Website</subtitle>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/web/forums/'/>
<entry>
<title>[ticket/11630] Improvements to the PHP lint pre-commit hook</title>
<updated>2013-07-06T17:16:59+00:00</updated>
<author>
<name>Matthew Fonda</name>
<email>mfonda@enotes.com</email>
</author>
<published>2013-04-12T16:44:36+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/web/forums/commit/?id=300867ab1a688449d0a26061fa63155db1bfc101'/>
<id>300867ab1a688449d0a26061fa63155db1bfc101</id>
<content type='text'>
The PHP lint pre-commit hook fails to display any output when an error
other than a parse error is decteced.

Additionally, the hook may not display any meaningful output depending
on php.ini settings. This commit removes the dependency on php.ini.

PHPBB3-11630
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The PHP lint pre-commit hook fails to display any output when an error
other than a parse error is decteced.

Additionally, the hook may not display any meaningful output depending
on php.ini settings. This commit removes the dependency on php.ini.

PHPBB3-11630
</pre>
</div>
</content>
</entry>
<entry>
<title>[ticket/10760] Fix numbering in php fun facts.</title>
<updated>2012-04-04T15:43:59+00:00</updated>
<author>
<name>Oleg Pudeyev</name>
<email>oleg@bsdpower.com</email>
</author>
<published>2012-04-04T15:43:59+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/web/forums/commit/?id=dc63db1860e597b1201994a17fd7679bfdc9b0d8'/>
<id>dc63db1860e597b1201994a17fd7679bfdc9b0d8</id>
<content type='text'>
PHPBB3-10760
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PHPBB3-10760
</pre>
</div>
</content>
</entry>
<entry>
<title>[ticket/10760] Value must be quoted as it might be two words.</title>
<updated>2012-04-04T15:41:14+00:00</updated>
<author>
<name>Oleg Pudeyev</name>
<email>oleg@bsdpower.com</email>
</author>
<published>2012-04-04T15:41:14+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/web/forums/commit/?id=efdd1e623e2dc060ae9b524b67c624037d8a94f0'/>
<id>efdd1e623e2dc060ae9b524b67c624037d8a94f0</id>
<content type='text'>
PHPBB3-10760
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PHPBB3-10760
</pre>
</div>
</content>
</entry>
<entry>
<title>[ticket/10760] PHP is great. This commit is the proof.</title>
<updated>2012-04-04T04:27:06+00:00</updated>
<author>
<name>Oleg Pudeyev</name>
<email>oleg@bsdpower.com</email>
</author>
<published>2012-04-04T04:27:06+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/web/forums/commit/?id=6536a36208b3a2ecebaf5ab8e93f63b84127ae3f'/>
<id>6536a36208b3a2ecebaf5ab8e93f63b84127ae3f</id>
<content type='text'>
PHPBB3-10760
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PHPBB3-10760
</pre>
</div>
</content>
</entry>
<entry>
<title>[ticket/10760] Catch both versions of parse error output in php.</title>
<updated>2012-04-04T04:01:08+00:00</updated>
<author>
<name>Oleg Pudeyev</name>
<email>oleg@bsdpower.com</email>
</author>
<published>2012-04-04T04:01:08+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/web/forums/commit/?id=f2967b666974c6622717a064060e546129e11e37'/>
<id>f2967b666974c6622717a064060e546129e11e37</id>
<content type='text'>
PHPBB3-10760
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PHPBB3-10760
</pre>
</div>
</content>
</entry>
<entry>
<title>[ticket/10760] Account for display_errors=stderr in pre-commit hook.</title>
<updated>2012-04-04T03:18:33+00:00</updated>
<author>
<name>Oleg Pudeyev</name>
<email>oleg@bsdpower.com</email>
</author>
<published>2012-04-04T03:18:33+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/web/forums/commit/?id=a0da2408e7cb0054da5d766bffa91f23d7beaec9'/>
<id>a0da2408e7cb0054da5d766bffa91f23d7beaec9</id>
<content type='text'>
With that php.ini value set errors are printed to stderr, therefore
by redirecting stderr to /dev/null we also throw out the errors.

Instead merge stderr into stdout.

PHPBB3-10760
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With that php.ini value set errors are printed to stderr, therefore
by redirecting stderr to /dev/null we also throw out the errors.

Instead merge stderr into stdout.

PHPBB3-10760
</pre>
</div>
</content>
</entry>
<entry>
<title>[ticket/10760] Quote PHP_BIN when using it.</title>
<updated>2012-04-04T03:14:44+00:00</updated>
<author>
<name>Oleg Pudeyev</name>
<email>oleg@bsdpower.com</email>
</author>
<published>2012-04-04T03:14:44+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/web/forums/commit/?id=b803fc4351431bc53ee3221fa6232664134aa0ba'/>
<id>b803fc4351431bc53ee3221fa6232664134aa0ba</id>
<content type='text'>
This should make a difference on windows where paths may include spaces.

PHPBB3-10760
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This should make a difference on windows where paths may include spaces.

PHPBB3-10760
</pre>
</div>
</content>
</entry>
<entry>
<title>[ticket/10760] Use echo -e only if echo understands -e.</title>
<updated>2012-04-04T03:06:50+00:00</updated>
<author>
<name>Oleg Pudeyev</name>
<email>oleg@bsdpower.com</email>
</author>
<published>2012-04-04T03:06:50+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/web/forums/commit/?id=786fcbf212caf4c201d9abba36fca3b8f58617a9'/>
<id>786fcbf212caf4c201d9abba36fca3b8f58617a9</id>
<content type='text'>
/bin/echo on freebsd and dash's builtin echo do not understand -e,
therefore -e is printed with the other messages in such cases.

Test if echo understands -e, if not do not use it.

PHPBB3-10760
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
/bin/echo on freebsd and dash's builtin echo do not understand -e,
therefore -e is printed with the other messages in such cases.

Test if echo understands -e, if not do not use it.

PHPBB3-10760
</pre>
</div>
</content>
</entry>
<entry>
<title>[ticket/10760] Use externally specified PHP_BIN if any.</title>
<updated>2012-04-04T03:05:15+00:00</updated>
<author>
<name>Oleg Pudeyev</name>
<email>oleg@bsdpower.com</email>
</author>
<published>2012-04-04T03:05:15+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/web/forums/commit/?id=57209a1e680da729cad0a1cd7e9462254edcd6cb'/>
<id>57209a1e680da729cad0a1cd7e9462254edcd6cb</id>
<content type='text'>
We have a PHP_BIN variable but we always set it unconditionally,
therefore in order to use a different php binary one had to
modify the hook script.

Instead set PHP_BIN if it is not set.

Now one can set PHP_BIN in their environment to use a non-default
php binary.

PHPBB3-10760
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We have a PHP_BIN variable but we always set it unconditionally,
therefore in order to use a different php binary one had to
modify the hook script.

Instead set PHP_BIN if it is not set.

Now one can set PHP_BIN in their environment to use a non-default
php binary.

PHPBB3-10760
</pre>
</div>
</content>
</entry>
<entry>
<title>[ticket/9777] Print error message in pre-commit hook when php is not installed.</title>
<updated>2010-08-19T15:44:54+00:00</updated>
<author>
<name>Oleg Pudeyev</name>
<email>oleg@bsdpower.com</email>
</author>
<published>2010-08-19T02:52:26+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/web/forums/commit/?id=90d8fc7e869852bb5a6beadc63c52ea9cdb51adf'/>
<id>90d8fc7e869852bb5a6beadc63c52ea9cdb51adf</id>
<content type='text'>
PHPBB3-9777
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PHPBB3-9777
</pre>
</div>
</content>
</entry>
</feed>
