Commit graph

73 commits

Author SHA1 Message Date
Dan Cryer f33f0a4512 Fixes 2015-10-15 14:23:55 +01:00
Dan Cryer 7f823b37cf Big update: New way of storing build errors, updated UI, AdminLTE 2, fixes, etc. 2015-10-15 10:07:54 +01:00
Dan Cryer 3d21ad24e9 Merge pull request #993 from corpsee/feature-phpcpd-fix
Fixed GithubBuild::getDiffLineNumber method for correct phpcpd work
2015-10-13 15:04:13 +01:00
Dan Cryer 771bee0aa3 Fixings 2015-10-05 14:41:13 +01:00
Dan Cryer ea1157066e Fixing new PHPCS errors. 2015-10-05 14:17:13 +01:00
Dan Cryer aaf93ddd7d Updating PHPCI to send more detailed commit statuses, for @REBELinBLUE. 2015-10-02 21:35:53 +01:00
Steve Robbins 92ee90998a Fixes notice in github builds
Closed #996
2015-08-13 14:28:08 +02:00
corpsee 853107027b Fixed GithubBuild::getDiffLineNumber method for correct phpcpd work 2015-05-24 14:20:51 +06:00
Adirelle 209454c5f6 When starting a manual build, replace the "Manual" commit id with the HEAD hash.
Close #928
2015-04-23 13:13:29 +02:00
rm3nchaca 81fbc6a5a0 fix file link in plugins
Running builds leave a file link with an error like "http://gitlab.example.com/root/project/blob/master/index.php#L6" but it is pointing to the actual file, not the file with a bug, example "97f0a6453d/index.php (L6)"

Close #915
2015-04-22 12:24:29 +02:00
Martin Sadovy 60131ae7b6 Github: Support pull private repository from pull request
Closes #832
2015-04-22 11:41:33 +02:00
Tobias van Beek 01911f11aa Add the --recursive parameter to the git clone to get the submodules 2015-04-09 12:03:08 +02:00
Dan Cryer ab4396e00d Hopefully fixing a bug where reporting errors back to Github causes an infinite loop. 2015-02-26 08:31:58 +00:00
Dan Cryer e423c73c4e Fixing comparison where commit ID is Manual.
Fixes #823
2015-02-25 14:13:31 +00:00
Dan Cryer e98647bd97 Add support for Mercurial SSH-based clones. 2015-02-23 16:17:46 +00:00
Daniel Seif 610a0e57ef Fixed settings handling for symlink creation in local build
Closes #766
2015-02-23 14:07:42 +00:00
Dan Cryer dd58dd682f Adding support for commenting on Github diffs. 2015-02-23 13:40:34 +00:00
Dzhilkibaev Nadir 35a6d1f577 Add SVN support to PHPCI.
Closes #759
2015-02-20 14:14:36 +00:00
Alex Davyskiba a233c4e26c Escape commit message from XSS and broken markup.
Closes #769
2015-02-03 10:27:36 +00:00
Dan Cryer 7f9a09fa29 Adding Docblocks throughout the project and lowering the missing docblock limit in phpci.yml to zero.
Closes #692
2014-12-08 14:12:01 +00:00
Dan Cryer 0e1fe3ea22 Properly handling Gitlab URLs that contain ports.
Fixes #484, closes #501
2014-07-30 15:33:05 +01:00
Dan Cryer c3f73cc621 Fixing links to files on Github when viewing a pull request build.
Fixes #423
2014-07-29 17:19:37 +01:00
Emmanuel Vella 6f0a37d4cb Remote Git Build: Use --quiet to checkout specific revision silently
Without the ``--quiet`` parameter, the cron error output get this message :

```

Note: checking out 'fe0fcd1b79f0db3d49fe6e50765bcb527e29980b'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at fe0fcd1...
```

Closes #485
2014-07-11 15:56:49 +01:00
Jeffrey Brubaker 505c3c9076 resolve issue with undefined variable in Windows 2014-07-03 16:55:34 -04:00
Dan Cryer ba8d88f233 Renaming project.git_key and project.public_key to project.ssh_private_key and project.ssh_public_key respectively. 2014-05-13 15:15:33 +00:00
Dan Cryer 5ba629e874 Adding / correcting the file docblock throughout the project 2014-05-12 17:26:17 +01:00
Dan Cryer 4806d1a783 Hopefully fixing the clone issues for Pull Requests 2014-05-12 16:28:48 +01:00
Dan Cryer 1739afeca6 Update GithubBuild to allow for testing pull requests, hopefully 2014-05-12 15:18:42 +01:00
Dan Cryer 9379af8724 Implement clone_depth setting in build_settings, to allow shallow clones. Fixes #391 2014-05-05 21:03:44 +01:00
Dan Cryer 69ea47874f Fixing the horrors of overly long lines, misalignment, and incorrect use of new lines. 2014-05-01 16:53:29 +01:00
Joseph Pugh a789f7cb26 implement RemoteGitBuild::getFileLinkTemplate
required by PHPCI/View/Build/view.phtml
2014-04-28 14:26:37 -05:00
Dan Cryer 985c51c5e4 Migrating PHPMD to use XML report format and add a UI plugin to display warning information. See #305 2014-04-25 11:28:27 +00:00
Dan Cryer 78e4b9d104 Updating RemoteGitBuild to support a Git SSH wrapper. See #114 2014-04-16 16:38:19 +00:00
Corpsee 20bab0d47a Windows fixes 2014-03-15 12:57:06 +07:00
Corpsee f4df607a16 Moved handleConfig functionality into general Build method. 2014-03-15 12:22:59 +07:00
Corpsee 7a910631e6 Added database-based yml build config 2014-03-15 12:18:12 +07:00
Corpsee 656e0a882e Change 'cp' command to 'copy' for windows 2014-03-14 00:06:59 +07:00
Corpsee 18701544a0 Fixed 'cd' command for windows 2014-03-13 00:37:57 +07:00
Corpsee 39477678d2 Fixed git checkout for commitId = 'Manual' 2014-03-13 00:05:54 +07:00
Dan Cryer d935c94041 Lots of clean up: Fixed remote git build to only checkout a commit if there is one, cleaned up logging to remove the logger cruft from the visible log and shortened paths within the log by removing the build directory, added a build-level exception handler to catch things like failed clones and so on. 2014-02-25 10:16:58 +00:00
Dan Cryer e6ef498db4 Adding support for HTTP commit-based builds too 2014-02-24 20:34:31 +00:00
Dan Cryer 43ecd57775 Adding support for building specific revisions, rather than just branches 2014-02-24 20:28:18 +00:00
indigodp cfe45f54d0 Update LocalBuild.php
Add fetching needed branch for local build
2013-12-11 09:33:59 +02:00
Ondrej Huta 02dff2b081 Proposed enhancement - fix for #221 GitlabBuild 2013-11-27 12:08:03 +01:00
Stian Liknes 7d306b2295 Load configuration and create build directory for bare repositories 2013-11-12 22:18:09 +01:00
Dan Cryer 2a47b08fec Removed Github configuration from ProjectController / ProjectForm and added it to a new settings area. 2013-10-11 21:51:23 +01:00
Dan Cryer 13dbcc4260 Fixing Github postbacks. 2013-10-10 01:30:40 +01:00
Dan Cryer 5213a00a3a Adding some github debug stuff 2013-10-10 01:27:43 +01:00
Dan Cryer d46ea12dd7 Fixing summary table so it doesn't completely die when there is a running build. 2013-10-10 01:26:06 +01:00
Dan Cryer a5734fb330 Fixing some more PHPCS/PHPMD errors 2013-10-10 01:19:42 +01:00