638 Commits

Author SHA1 Message Date
Daniel Rudolf
8005efdbbb phpDocs auto deployment: Remove latest commit check for pull requests
See https://developer.github.com/v3/pulls/#get-a-single-pull-request
> Each time the pull request receives new commits, GitHub creates a merge
> commit to *test* whether the pull request can be automatically merged into
> the base branch. (This *test* commit is not added to the base branch or the
> head branch.) The  attribute holds the SHA of the *test*
> merge commit; however, this attribute is deprecated and is scheduled for
> removal in the next version of the API.

 holds the SHA of the  merge commit and not of the
latest commit of the head branch, therefore the comparison fails. We could
theoretically compare it against this attribute, but as of its deprecation,
this is a pretty bad idea. Thus we remove the latest commit check for pull
requests.
2015-11-26 02:38:29 +01:00
Daniel Rudolf
45dcf32fa7 phpDocs auto deployment: Support pull requests in a safe environment 2015-11-26 02:15:34 +01:00
Daniel Rudolf
6e0b2aab34 phpDocs auto deployment: Disable for pull requests with a safe environment
Pull requests with a safe environment are primarly local branches
2015-11-26 01:35:35 +01:00
Daniel Rudolf
5af160c31d phpDocs auto deployment: Use $GITHUB_OAUTH_TOKEN to determine latest commit 2015-11-26 01:13:37 +01:00
Daniel Rudolf
869a697977 Merge branch 'master' into enhancement/build-release
Conflicts:
	.travis.yml
2015-11-26 00:38:30 +01:00
Daniel Rudolf
17dbc4cf18 phpDocs auto deployment: Cleanup 2015-11-26 00:29:14 +01:00
Daniel Rudolf
2306010ba7 phpDocs auto deployment: Fix phpDocs generation
phpDocumentor acts very strange when relative paths are involved...
2015-11-25 23:53:58 +01:00
Daniel Rudolf
3ac53d2b4c phpDocs auto deployment: Improve title of class docs for branches 2015-11-25 23:44:11 +01:00
Daniel Rudolf
38d2dd2e20 Travis: Remove .git dirs from vendor/ dir when deploying
See https://github.com/picocms/Pico/issues/289#issuecomment-159722672 - thanks to @joshas for spotting
2015-11-25 23:38:22 +01:00
Daniel Rudolf
137b2ba3a6 phpDocs auto deployment: Fix deployment of branches with slashes 2015-11-25 23:35:42 +01:00
Daniel Rudolf
236ae43dab phpDocs auto deployment: Fix deployment of branches 2015-11-25 23:09:15 +01:00
Daniel Rudolf
c198333de7 Improve phpDocs auto-generation 2015-11-25 22:55:21 +01:00
Daniel Rudolf
728873c5a4 build/deploy-phpdoc.sh: Fix credentials 2015-11-25 22:26:51 +01:00
Daniel Rudolf
3c68095075 Improve phpDocs auto-generation 2015-11-25 22:04:16 +01:00
Daniel Rudolf
3852585ba0 Improve phpDocs auto-generation 2015-11-25 21:55:28 +01:00
Daniel Rudolf
9a46033141 Improve phpDocs auto-generation 2015-11-25 21:36:56 +01:00
Daniel Rudolf
32120e5bbc Fix build/generate-phpdoc.sh permissions 2015-11-25 21:02:43 +01:00
Daniel Rudolf
e4165d35b1 Fix .travis.yml 2015-11-25 20:59:29 +01:00
Daniel Rudolf
5862825265 Travis: Deploy phpDocs on PHP 5.3 only and allow multiple branches 2015-11-25 20:56:13 +01:00
Daniel Rudolf
c9387610f3 Auto-generate phpDoc when committing to master 2015-11-25 20:39:49 +01:00
Daniel Rudolf
1f16be05e3 Merge branch 'master' into enhancement/build-release 2015-11-25 20:38:44 +01:00
Daniel Rudolf
4ddde6b9fb Travis: Deploy on every repo, forks usually don't setup Travis 2015-11-25 20:38:27 +01:00
Daniel Rudolf
d503cea954 Travis: Don't test vendor PHP files 2015-11-25 20:37:45 +01:00
Daniel Rudolf
b198ad48c6 Travis: Allow PHP nightly builds to fail 2015-11-25 20:04:46 +01:00
Daniel Rudolf
18fc928797 Merge branch 'master' into enhancement/build-release
Conflicts:
	.travis.yml
2015-11-25 18:03:03 +01:00
Daniel Rudolf
20387e0bf9 Make DummyPlugin class final
Plugin developers MUST NOT extend from DummyPlugin, they SHOULD extend from AbstractPicoPlugin
2015-11-25 04:10:22 +01:00
Daniel Rudolf
876a500ecf Improve .gitignore 2015-11-25 04:07:57 +01:00
Daniel Rudolf
840d41bca5 Improve type hinting 2015-11-25 04:07:46 +01:00
Daniel Rudolf
2982f5deb9 Optimize composer autoloader before deploying
This converts PSR-0/PSR-4 autoloading to classmap to get a faster autoloader (up to 20% performance increase)
2015-11-24 19:49:16 +01:00
Diogo Oliveira de Melo
85442266b5 update CHANGELOG 2015-11-23 20:29:33 -02:00
Diogo Oliveira de Melo
9e752c1d29 It works when Pico is installed as a dependency 2015-11-23 20:11:42 -02:00
theshka
80049ed966 update build & release section for auto-docs 2015-11-23 15:51:12 -06:00
Daniel Rudolf
9712ae2a97 Fix permissions of build/deploy-phpdoc.sh 2015-11-23 21:52:23 +01:00
Daniel Rudolf
7f4ad75245 Refactor phpDoc auto-deployment 2015-11-23 21:46:36 +01:00
Daniel Rudolf
bd24d518f2 Update .gitignore 2015-11-23 21:33:57 +01:00
theshka
e79388118c Merge branch 'feature/auto-docs' into enhancement/build-release 2015-11-23 13:35:23 -06:00
theshka
c3b908939f update deploy-phpdoc.sh for auto docs 2015-11-23 13:26:31 -06:00
theshka
04f7140347 update .travis.yml for auto-docs 2015-11-23 13:19:47 -06:00
theshka
edbf9f1747 Implement @PhrozenByte 's suggestions.
* [Changed] require phpDocumentor version ^2.8 constraint
2015-11-23 12:27:15 -06:00
theshka
bf2a9622db Update deploy script
* [Changed] move everything inside /build/ directory
* [Changed] use absolute file paths in script
* [Changed] copy docs to both the release number and master dirs
Implement @PhrozenByte 's suggestions.
* [Changed] use `$GITHUB_OAUTH_TOKEN` instead of `$GITHUB_TOKEN`
2015-11-23 12:27:15 -06:00
theshka
e0c6383406 rename script 2015-11-23 12:27:15 -06:00
theshka
7f910e913f update auto-docs files
* [Changed] move everything inside /build/ directory
Implement @PhrozenByte 's suggestions.
* [Changed] don't change directories, pass the paths
* [Removed] unnecessary `composer install`, travis-ci runs this already
* [Removed] unnecessary `composer self-update` command
* [Removed] unnecessary php version check on script
2015-11-23 12:26:25 -06:00
Daniel Rudolf
c34afad4af Fix typo 2015-11-22 14:08:35 +01:00
Daniel Rudolf
60c627c214 Update composer.json: Use latest MINOR versions of Twig/Parsedown/YAML 2015-11-22 14:08:06 +01:00
Daniel Rudolf
d59dba0b5f Update README.md: Add update instructions for composer users 2015-11-21 22:13:54 +01:00
theshka
f062640bb1 test auto docs 2015-11-20 23:28:09 -06:00
theshka
f6d5e8c7f4 can phpDoc be automatic? 2015-11-20 20:30:56 -06:00
Daniel Rudolf
d252df4b98 Throw RuntimeException on invalid content dirs 2015-11-19 04:48:22 +01:00
theshka
31d611a507 add template for new issues 2015-11-18 18:55:26 -06:00
theshka
8093758b3e Improve headings and formatting 2015-11-18 15:26:39 -06:00