Commit graph

118 commits

Author SHA1 Message Date
Adirelle
590ab5fae5 Build::removeBuildDirectory: do not try to remove build directory of not-yet-persisted builds. 2015-04-25 21:25:50 +02: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
Adirelle
9590336c49 Added a new configuration variable, PHPCI_BUILD_ROOT_DI.
This variable allows to change where the build happens.
It defaults to PHPCI_DIR.'PHPCI/build/'.

Moved build path calculate and build removal into the Build class.

Also remove the build directory when deleting the build.

Close #834
2015-04-22 11:44:54 +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
Alex Davyskiba
1466ad06ef Allow projects to be archived.
Closes #771
2015-02-23 19:37:11 +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
Dan Cryer
d481140ea2 Fixing issues related to LIMIT in Base Store files. 2015-02-12 11:08:45 +00:00
Dan Cryer
731cdcce7d Fixing missing docblock error. 2015-02-03 11:10:22 +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
9eeaabc6fe Front-End Upgrade: New UI Based on Admin LTE.
Closes #673
2014-12-03 15:30:36 +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
5c600f861e Switching project access information to use JSON instead of serialization, fixes #493 2014-07-30 15:13:50 +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
Dan Cryer
3f14b2e241 Reverting accidental addition of engine and parent_id columns to the Build table. 2014-07-23 16:19:45 +01:00
Dan Cryer
3fd1bc2a36 More service layer functionality, builds now. Also some extra tests for projects and build models. 2014-07-14 16:02:36 +01:00
Dan Cryer
9a51a1458e Fixing some issues with project default branches, adding tests for that too 2014-07-14 14:59:04 +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
Anatoly Skornyakov
5d360413bd Feature: Choose branch 2014-06-11 17:18:31 +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
d63a029b74 Adding migrations functionality to PHPCI using Phinx 2014-05-13 15:15:06 +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
3f0074de88 Fixing build model 2014-05-12 15:22:32 +01:00
Dan Cryer
77ec9998b6 Fixing build model 2014-05-12 15:20:42 +01:00
Dan Cryer
1739afeca6 Update GithubBuild to allow for testing pull requests, hopefully 2014-05-12 15:18:42 +01:00
Dan Cryer
03351214f1 Updating Build model to add accessor for the extra column 2014-05-12 14:07:09 +01:00
Dan Cryer
9486bd0863 Removing unused plugins column, adding extra column to allow for type-specific build information (such as forked repo information for pull requests or a patch file 2014-05-12 13:46:26 +01:00
Dan Cryer
e297f60273 Fixing zero config ignore setting 2014-05-08 16:02:51 +00:00
Dan Cryer
0333016828 Converting build meta to use longtext instead of text, for builds with a lot of errors. 2014-05-07 16:09:56 +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
b9a845a60e Re-PSR2ing the generated model base classes. 2014-05-01 17:03:48 +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
Dan Cryer
c50f7d07f2 Adding a basic external project status page, accessible via /build-status/view/{id}. Fixes #353 2014-04-30 15:00:35 +01:00
Dan Cryer
ee9a7ebc53 Adding getFileLinkTemplate() to the default Build model. Fixes #375 2014-04-30 14:20:20 +01:00
Dan Cryer
8cff78cee4 Setting allowed_warnings and allowed_errors to 0 by default, -1 in zero config mode. Fixes #377 2014-04-30 14:18:58 +01:00
Dan Cryer
99c80e73f9 Merge branch 'master' of github.com:Block8/PHPCI 2014-04-30 14:15:46 +01:00
Dan Cryer
36f2bdff20 Making the public key a property that we store for projects, and displaying it for later use. 2014-04-30 14:14:23 +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
2e4e3129b7 Adding the ability to run projects with no build configuration. Runs what plugins it can automatically. Closes #235 2014-04-25 10:17:39 +01:00
Dan Cryer
78e4b9d104 Updating RemoteGitBuild to support a Git SSH wrapper. See #114 2014-04-16 16:38:19 +00:00