1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

29 Commits

Author SHA1 Message Date
Nick Liu
6f6556178f
e_file_inspector_json_phar: Smaller core image
e_file_inspector_json_phar is an extended implementation of
e_file_inspector_json that encapsulates a JSON core image into a
gzip-compressed phar.

This results in space savings of over 60% compared to plain JSON.
2020-03-27 17:06:14 -05:00
Nick Liu
b425b4e45d
CoreImage: API rework 2020-03-27 17:06:14 -05:00
Nick Liu
b8ed70693f
Restored JSON core image generator for performance
PDO SQLite was performing unacceptably poorly.
Let's just load the entire integrity image into RAM…
2020-03-27 17:06:13 -05:00
Nick Liu
695774569c
Add old e107 releases to workflow build-release.yml 2020-03-27 17:06:12 -05:00
Nick Liu
e828d61b28
Add bzip2 support to workflow test-unit.yml 2020-03-27 17:06:11 -05:00
Nick Liu
84081c3d3d
CoreImage: Pack SQLite into phar
This has two benefits:

1. Protects the SQLite database from being accessed on the Internet by
   having the e107_INIT constant check.
2. Compresses the SQLite database, saving over ⅔ of the space!
2020-03-27 17:06:11 -05:00
Nick Liu
d3539cd5b5
CoreImage: Table for versions, slight space savings 2020-03-27 17:06:10 -05:00
Nick Liu
6a9bfeee5f
CoreImage: Performance optimization for removed files
Much faster checksumming of deleted files by using git-checkout instead
of git-show
2020-03-27 17:06:10 -05:00
Nick Liu
caa0826c5e
CoreImage: Replaced JSON with SQLite
Looks like SQLite scales better when there are more files to put in the
database.
2020-03-27 17:06:10 -05:00
Deltik
6aeee58ac2
JSON reimplementation of CoreImage 2020-03-27 17:06:09 -05:00
Nick Liu
e8a68f15d1
Reimplemented core_image.php deprecated checksums
Format is different and currently incompatible.  The checksum has been
replaced with an associated array where the keys are the e107 version
and the values are the checksum from that e107 version.
2020-03-27 17:06:09 -05:00
Nick Liu
0cf9483075
Defensive cleanup of e107_make.php 2020-03-27 17:06:09 -05:00
Nick Liu
0d80b82b49
Bare minimum to build releases in GitHub Actions 2020-03-27 17:06:08 -05:00
Nick Liu
537106c64f
Code warning cleanup of e107_make.php 2020-03-27 17:06:08 -05:00
Nick Liu
a9d8344659
Reformatted e107_make.php 2020-03-27 17:06:08 -05:00
Nick Liu
39c097953f
Updated make.ini for #4099
App root files introduced in https://github.com/e107inc/e107/pull/4099
2020-03-27 17:06:08 -05:00
Nick Liu
554baf07e8
Imported e107_make.php and make.ini to begin release builds
(Code from @CaMer0n)
2020-03-27 17:06:07 -05:00
Deltik
f929094873
CI tests: Faster PHP extension installation
Multithreaded compilation enabled
2020-03-10 23:43:05 -05:00
Deltik
ea2334643d
Enable GD with JPEG support (imagecreatefromjpeg()) in CI tests
Needed for e107Test::testGetThumb()
2020-03-10 23:36:05 -05:00
Nick Liu
1fd0a171a0
CI now installs mysqli extension 2020-01-19 13:50:57 +01:00
Nick Liu
75d1ae2649
Hard-coded Code Climate test reporter ID
Apparently, there's no easy way to submit coverage reports from GitHub pull request builds
without exposing this reporter ID. Coverage diff reports should now come in from pull
request builds after this commit. The expectation is that Code Climate will comment on the
pull requests and mark the build as failed or succeeded based on the coverage diff.

This commit also disables sending code coverage reports to Codecov, which has been broken
for a while now: https://github.com/codecov/codecov-action/issues/43
2020-01-13 00:54:30 +01:00
Nick Liu
80b49a5d14
Fix outdated Git on Debian stretch
by enabling Debian backports
2019-12-29 13:47:03 +01:00
Nick Liu
d7e083b59a
Fix Code Climate test coverage reports on wrong branch
GitHub Actions actions/checkout@v1 checked out code as a detached HEAD,
which caused Code Climate test coverage reports to appear as on the HEAD branch.

Coverage reports should now appear on an upstream branch.

From the actions/checkout@v2 release notes: https://github.com/actions/checkout/blob/v2/README.md

> - Creates a local branch
>   - No longer detached HEAD when checking out a branch
>   - A local branch is created with the corresponding upstream branch set
2019-12-29 13:20:35 +01:00
Nick Liu
939d01271c
GitHub Actions: Upload code coverage report to Code Climate as well 2019-12-28 16:57:30 +01:00
Nick Liu
20ed1ecb00
Enable xdebug in PHP 5.6 builds 2019-12-28 10:58:07 +01:00
Nick Liu
16ca1494e3
GitHub Actions workflow renamed "Test e107" => "Unit Tests" 2019-12-26 10:18:26 -08:00
Deltik
4e7d76235c
Removed GitLab CI 2019-12-03 23:09:28 -06:00
Deltik
8d60076054
Fail GitHub Actions build when any tests fail 2019-11-28 23:00:56 -06:00
Deltik
e8cc0fb462
Attempt to port from GitLab CI to GitHub Actions 2019-11-28 22:39:54 -06:00