Commit graph

318 commits

Author SHA1 Message Date
Steve B
4a9103d6eb Merge pull request #227 from meadsteve/unit-testing
Unit testing - LoggerConfig
2013-11-29 02:17:02 -08:00
meadsteve
c8dc8a67b7 Fix casing in LoggerConfig. 2013-11-28 21:18:11 +00:00
meadsteve
4f1d81e6fd update loggerConfig constructor to take array by default to make unit testing simpler. 2013-11-28 21:04:27 +00:00
Mark Clements
12cca9c93c Merge pull request #223 from deep9/issue_221_gitlab
Proposed enhancement - fix for #221 GitlabBuild
2013-11-27 03:38:39 -08:00
Ondrej Huta
02dff2b081 Proposed enhancement - fix for #221 GitlabBuild 2013-11-27 12:08:03 +01:00
Ondrej Huta
77cfd1e5b2 Fix the SettingsController 5.4 call (refactor) 2013-11-27 11:54:17 +01:00
Ondrej Huta
35bc3dad31 Fix the SettingsController 5.4 call 2013-11-27 11:42:34 +01:00
Steve B
5b2f66565c Merge pull request #220 from meadsteve/master
remove callable typehint as this is not in php 5.3
2013-11-27 00:58:31 -08:00
steve.brazier
db3fcb45d6 remove callable typehint as this is not in php 5.3 2013-11-27 08:49:03 +00:00
meadsteve
6d5bceea16 fix copy-paste mistake in phpunit plugin runDir() 2013-11-25 21:49:14 +00:00
Steve B
477fd58641 Merge pull request #213 from meadsteve/plugin-builder
Plugin construction change - plugin factory
2013-11-25 05:43:43 -08:00
Dan Cryer
235ac26932 Merge pull request #202 from rlindauer/master
Fix two bugs in PhpMessdetector Plugin
2013-11-25 03:46:12 -08:00
Dan Cryer
a21c63705a Merge pull request #205 from stianlik/master
Bugfix for bare "Local Path" repositories
2013-11-25 03:45:42 -08:00
Dan Cryer
c3d4286354 Merge pull request #208 from elkangaroo/phpcs-count-fix
Fixed counting (errors, warnings) in PHP Code Sniffer plugin
2013-11-25 03:44:51 -08:00
Dan Cryer
8d28273c0c Merge pull request #209 from elkangaroo/phplint-upstream-update
Update PHP Parallel Lint plugin to reflect upstream changes
2013-11-25 03:44:15 -08:00
steve.brazier
767d05cd80 Update constants to uppercase to match psr2. 2013-11-20 11:47:29 +00:00
Jimmy Cleuren
8f58902339 catch empty commit id from github 2013-11-19 22:47:12 +01:00
Jimmy Cleuren
4bc7a6c767 Remove commented line 2013-11-18 22:54:49 +01:00
Jimmy Cleuren
4d3372af88 Command to poll github for new commits 2013-11-18 22:49:18 +01:00
Jimmy Cleuren
8c127d692c catching permission error 2013-11-18 22:47:44 +01:00
meadsteve
6467a83d1a adds additional comments to plugin factory. 2013-11-17 22:31:51 +00:00
meadsteve
2bc7558b93 wiring in the plugin factory. doh! 2013-11-17 21:38:51 +00:00
meadsteve
42e462b4c9 remove leading slash. 2013-11-17 21:29:49 +00:00
meadsteve
9d1d2443a9 Move the mailer constructor logic out of the plugin and in to a factory class for reuse. 2013-11-17 21:26:38 +00:00
meadsteve
51f73458c8 allow swiftmailer object to be passed in to Email Plugin. 2013-11-17 17:50:06 +00:00
meadsteve
a56df8ed87 Merge HEAD, branch 'master' of https://github.com/Block8/PHPCI into plugin-builder 2013-11-17 17:25:35 +00:00
meadsteve
ebb3b9a3e6 switches builder to make use of plugin factory. 2013-11-17 17:24:47 +00:00
meadsteve
e1d8239e8a Create factory for plugins that resources can be registered with. 2013-11-17 17:23:35 +00:00
meadsteve
f88df400f0 Remove __constructor from plugin interface to increase flexibility. 2013-11-17 17:22:31 +00:00
Alexander Wenzel
801cc8ee5e store errors from parallel-lint as build_meta (key "phplint-errors");
add them to the "Quality Trend" graph on the build view
2013-11-13 19:55:45 +01:00
Alexander Wenzel
a0d5f4b4d8 fix Plugin\PhpParallelLint to reflect latest upstream changes:
> executable is now "parallel-lint" instead of "run"
> supports --exclude flag (ignore directories)
2013-11-13 19:18:24 +01:00
Alexander Wenzel
2fb162900d fixed counting of errors and warnings in Plugin/PhpCodeSniffer;
use --report=emacs in Plugin/PhpCodeSniffer to not spam the logs with the full blown report but rather display a small human readable summary report
2013-11-13 18:50:07 +01:00
Alexander Wenzel
9c330687a0 fixed LoggedBuildContextTidier: now correctly replaces "build" object with "buildID" in log entries 2013-11-12 23:19:55 +01:00
Stian Liknes
7d306b2295 Load configuration and create build directory for bare repositories 2013-11-12 22:18:09 +01:00
Steve B
f987688269 Merge pull request #197 from meadsteve/logging
Logging configuration
2013-11-12 05:12:13 -08:00
Roy Lindauer
fb08cdbbe7 Fix bug where ruleset file could not be set in PHPMessdetector plugin 2013-11-10 18:22:54 -08:00
Roy Lindauer
d5763b8d78 Fix bug where options could not be overridden in PHPMessdetector plugin 2013-11-10 18:22:05 -08:00
meadsteve
a5957d687a Added logging to the daemon and update commands. 2013-11-02 15:52:55 +00:00
meadsteve
37c50bdb4c Added a logger config key that is loaded for all commands. To allow a general purpose log. 2013-11-02 15:52:21 +00:00
meadsteve
6563c60ab3 Previous commit omitted these changes. doh! 2013-11-02 15:32:51 +00:00
meadsteve
0fc91f053a Added to the console so that external logging definitions are pulled in from a loggerconfig.php file if the file exists. 2013-11-02 15:28:24 +00:00
born_free
6b015d3106 fixed XSS in user name and project name properties 2013-11-02 16:39:55 -07:00
Steve B
e1d68bece7 Merge pull request #191 from meadsteve/logging
RFC: First draft of using monolog for logging
2013-11-01 05:14:08 -07:00
Dan Cryer
14f00ee512 Merge pull request #192 from c2is/atoum
Added chdir because atoum as bundle need to be run from app root path
2013-11-01 03:46:46 -07:00
Jimmy Cleuren
924dadcdcd remove the double buildpath 2013-11-01 11:22:39 +01:00
a.cianfarani
e2c7a4cd43 Added chdir because atoum as bundle need to be run from app root path 2013-10-28 17:41:15 +01:00
meadsteve
35b3db13d8 Fixing more tab -> space conversion issues. 2013-10-27 14:26:37 +00:00
meadsteve
a453571fcb Adding the LoggedBuildContextTidier to the monolog logging so that the build id is added to log messages. 2013-10-27 14:25:43 +00:00
meadsteve
e44c7b90d6 All build logs calls now pass the build through as part of the context so this gets recorded in the log message. 2013-10-27 14:21:08 +00:00
meadsteve
fc2434b65d Exceptions can now be passed in to the failure logging function. 2013-10-27 12:51:49 +00:00