aboutsummaryrefslogtreecommitdiffstats
path: root/git-tools
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/15683] Better error message when commit message has CRLFAnssi Johansson2018-06-051-0/+9
| | | | | | | | | When someone tries to do a pull request with incorrect line breaks in the commit message, the error message as given by Travis is "Unexpected EOF encountered". The error message should be clearer that CR/LF was the problem. This change adds a separate check for CRLF line endings. PHPBB3-15683
* [ticket/11611] Remove no longer used file for setting up git repositoryMarc Alexander2017-01-161-292/+0
| | | | PHPBB3-11611
* Merge branch 'develop-olympus' into develop-ascraeusAndreas Fischer2014-06-161-2/+2
|\ | | | | | | | | * develop-olympus: [ticket/12720] Allow commit heading to begin with lowercase letters
| * [ticket/12720] Allow commit heading to begin with lowercase lettersDhruv2014-06-161-2/+2
| | | | | | | | PHPBB3-12720
* | [ticket/12594] Remove @package tags and update file headersYuriy Rusko2014-05-273-8/+21
|/ | | | PHPBB3-12594
* [ticket/11509] Exit with the expected (non-zero) exit status on failure.Andreas Fischer2014-02-211-3/+22
| | | | PHPBB3-11509
* [ticket/11509] Output which commit is being inspected.Andreas Fischer2014-02-211-0/+2
| | | | PHPBB3-11509
* [ticket/11509] Three dots means sym. difference, but we only want new commits.Andreas Fischer2014-02-211-1/+1
| | | | PHPBB3-11509
* [ticket/11509] Fail on Travis CI if commit messages are improperly formatted.Andreas Fischer2014-02-021-0/+30
| | | | PHPBB3-11509
* [ticket/11630] Improvements to the PHP lint pre-commit hookMatthew Fonda2013-07-061-52/+5
| | | | | | | | | | 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
* [ticket/11603] Fix out dated commentJoas Schilling2013-06-201-1/+1
| | | | PHPBB3-11603
* [ticket/11603] Fix usage noteJoas Schilling2013-06-201-1/+1
| | | | PHPBB3-11603
* [ticket/11603] Throw RuntimeExceptions instead of using exit()Joas Schilling2013-06-192-2/+2
| | | | PHPBB3-11603
* [ticket/11603] Avoid using cURLJoas Schilling2013-06-192-19/+19
| | | | PHPBB3-11603
* [ticket/11603] Split api_request into two functions (query only vs. full url)Joas Schilling2013-06-131-10/+8
| | | | PHPBB3-11603
* [ticket/11603] Fix spacing and add some commentsJoas Schilling2013-06-131-2/+5
| | | | PHPBB3-11603
* [ticket/11603] Fix github API callsJoas Schilling2013-06-132-14/+57
| | | | | | | | - Some URLs changed - Response is a plain array now - Added error messages when API limit is reached PHPBB3-11603
* [ticket/11603] Rename network to forks and fix handlingJoas Schilling2013-06-131-14/+14
| | | | PHPBB3-11603
* [ticket/11603] Fix github api url and use curl with valid user agentJoas Schilling2013-06-132-2/+13
| | | | PHPBB3-11603
* [ticket/11513] Update all CLI calls to phpunit to use vendor/bin.Andreas Fischer2013-05-091-3/+3
| | | | PHPBB3-11513
* [ticket/10767] Clarify what happens at the end of the hook.Oleg Pudeyev2012-04-171-1/+8
| | | | | | | | | | If there are problems and fatal is true, print that the commit is aborted. If there are problems and fatal is false, print instructions for fixing the commit. PHPBB3-10767
* [ticket/10767] Use warning/error language as appropriate.Oleg Pudeyev2012-04-171-1/+3
| | | | | | | | | | | When commit-msg hook is fatal, label the message as an error. When it is not fatal, label the message as a warning. "Syntax error" is still always an error, not sure if this should be changed. PHPBB3-10767
* [ticket/10767] Default to non-fatal behavior.Oleg Pudeyev2012-04-171-4/+6
| | | | PHPBB3-10767
* [ticket/10767] Revert unconditional unfatality in commit-msg hook.Oleg Pudeyev2012-04-161-3/+18
| | | | | | | | | Revert "[ticket/10093] Make commit-msg always not fatal by nuking all fatal logic." This reverts commit 88cad5523e7cdac6826dd8581e27e22a65afda26. PHPBB3-10093 PHPBB3-10767
* [ticket/10760] Fix numbering in php fun facts.Oleg Pudeyev2012-04-041-5/+5
| | | | PHPBB3-10760
* [ticket/10760] Value must be quoted as it might be two words.Oleg Pudeyev2012-04-041-1/+1
| | | | PHPBB3-10760
* [ticket/10760] PHP is great. This commit is the proof.Oleg Pudeyev2012-04-041-0/+24
| | | | PHPBB3-10760
* [ticket/10760] Catch both versions of parse error output in php.Oleg Pudeyev2012-04-041-0/+14
| | | | PHPBB3-10760
* [ticket/10760] Account for display_errors=stderr in pre-commit hook.Oleg Pudeyev2012-04-031-1/+7
| | | | | | | | | 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
* [ticket/10760] Quote PHP_BIN when using it.Oleg Pudeyev2012-04-031-2/+2
| | | | | | This should make a difference on windows where paths may include spaces. PHPBB3-10760
* [ticket/10760] Use echo -e only if echo understands -e.Oleg Pudeyev2012-04-031-2/+9
| | | | | | | | | /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
* [ticket/10760] Use externally specified PHP_BIN if any.Oleg Pudeyev2012-04-031-3/+5
| | | | | | | | | | | | | 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
* [ticket/9916] Changing header in non-distributed filesUnknown2012-01-022-2/+2
| | | | PHPBB3-9916
* [ticket/10093] Use correct ANSI code for clearing color.Oleg Pudeyev2011-12-031-2/+2
| | | | PHPBB3-10093
* [ticket/10093] Make commit-msg always not fatal by nuking all fatal logic.Oleg Pudeyev2011-12-031-18/+3
| | | | PHPBB3-10093
* [ticket/10093] Use color in commit-msg hook warning/error messages.Oleg Pudeyev2011-11-261-1/+50
| | | | | | | By default color is used if the message is printed to a tty, phpbb.hooks.commit-msg.color configuration setting can override this. PHPBB3-10093
* [ticket/10093] Refactor complaining in commit-msg hook for color support.Oleg Pudeyev2011-11-261-17/+22
| | | | PHPBB3-10093
* [ticket/10093] Respect phpbb.hooks.commit-msg.fatal on syntax errors.Oleg Pudeyev2011-11-261-1/+1
| | | | PHPBB3-10093
* [ticket/10093] Document phpbb.hooks.commit-msg.fatal setting.Oleg Pudeyev2011-11-261-0/+5
| | | | PHPBB3-10093
* Merge remote branch 'igorw/ticket/9806' into develop-olympusIgor Wiedler2011-03-201-0/+175
|\ | | | | | | | | * igorw/ticket/9806: [ticket/9806] Script for merging pull requests
| * [ticket/9806] Script for merging pull requestsIgor Wiedler2011-03-131-0/+175
| | | | | | | | PHPBB3-9806
* | Merge branch 'ticket/p/10092' into develop-olympusAndreas Fischer2011-03-141-1/+1
|\ \ | | | | | | | | | | | | * ticket/p/10092: [ticket/10092] Ignore overlength comment lines in commit-msg hook.
| * | [ticket/10092] Ignore overlength comment lines in commit-msg hook.Oleg Pudeyev2011-03-111-1/+1
| |/ | | | | | | PHPBB3-10092
* | [ticket/10078] Avoid \n in strings given to echo for portability.Oleg Pudeyev2011-03-111-2/+3
|/ | | | | | | Also preserve whitespace (including newlines) when printing the lines that exceed 80 character limit. PHPBB3-10078
* [ticket/9824] Accept commit messages with less than perfect headings.Oleg Pudeyev2011-03-011-1/+13
| | | | | | | | Some commit messages exist only temporarily, because they are given on commits that are intended to be squashed. Accept such commit messages with a warning. PHPBB3-9824
* [ticket/9824] Allow empty lines after ticket reference.Oleg Pudeyev2011-03-011-1/+8
| | | | PHPBB3-9824
* [ticket/9824] Use printf instead of echo to render \n.Oleg Pudeyev2011-03-011-1/+1
| | | | | | On FreeBSD `echo "\n"` prints \n verbatim. Use printf instead. PHPBB3-9824
* [ticket/9824] Handle empty commit messages in commit-msg hook.Oleg Pudeyev2011-03-011-0/+11
| | | | | | | | | Git already handles the case of commit message being empty by aborting the commit and displaying a reasonably helpful message. If there is no commit message, the hook will exit with success exit code to let git do its thing. PHPBB3-9824
* [ticket/9824] Add space after [ticket/12345] in prepared commit message.Andreas Fischer2011-03-021-1/+1
| | | | PHPBB3-9824
* [ticket/9824] Remove space after PHPBB3-12345 in prepared commit message.Andreas Fischer2011-03-021-1/+1
| | | | PHPBB3-9824