Compare commits

..

8 Commits

Author SHA1 Message Date
Guy Sartorelli
e04501cb52
Merge branch '3.5' into 3 2023-04-26 12:49:10 +12:00
Maxime Rainville
821d2858f3
Merge pull request #81 from creative-commoners/pulls/3.5/fix-constraints
MNT Revert erroneous dependency changes
2023-03-28 17:06:30 +13:00
Guy Sartorelli
de215d63f6
MNT Revert erroneous dependency changes 2023-03-28 14:55:48 +13:00
Maxime Rainville
2a260607ec
Merge pull request #80 from creative-commoners/pulls/3/dispatch-ci
MNT Use gha-dispatch-ci
2023-03-23 14:19:29 +13:00
Steve Boyd
6a92eb58e2 MNT Use gha-dispatch-ci 2023-03-21 13:42:30 +13:00
Guy Sartorelli
87869e94a6
MNT Update development dependencies 2023-03-10 16:38:07 +13:00
Guy Sartorelli
61f443d49c
MNT Update release dependencies 2023-03-10 16:38:04 +13:00
Guy Sartorelli
8f2e1d9b75
MNT Update development dependencies 2023-03-10 12:21:32 +13:00
4 changed files with 36 additions and 11 deletions

View File

@ -4,13 +4,8 @@ on:
push: push:
pull_request: pull_request:
workflow_dispatch: workflow_dispatch:
# Every Saturday at 12:20pm UTC
schedule:
- cron: '20 12 * * 6'
jobs: jobs:
ci: ci:
name: CI name: CI
# Only run cron on the silverstripe account
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
uses: silverstripe/gha-ci/.github/workflows/ci.yml@v1 uses: silverstripe/gha-ci/.github/workflows/ci.yml@v1

16
.github/workflows/dispatch-ci.yml vendored Normal file
View File

@ -0,0 +1,16 @@
name: Dispatch CI
on:
# At 12:20 PM UTC, only on Saturday and Sunday
schedule:
- cron: '20 12 * * 6,0'
jobs:
dispatch-ci:
name: Dispatch CI
# Only run cron on the silverstripe account
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
runs-on: ubuntu-latest
steps:
- name: Dispatch CI
uses: silverstripe/gha-dispatch-ci@v1

14
.upgrade.yml Normal file
View File

@ -0,0 +1,14 @@
mappings:
FileTextExtractable: SilverStripe\TextExtraction\Extension\FileTextExtractable
FileTextCache: SilverStripe\TextExtraction\Cache\FileTextCache
FileTextCache_Cache: SilverStripe\TextExtraction\Cache\FileTextCache\Cache
FileTextCache_Database: SilverStripe\TextExtraction\Cache\FileTextCache\Database
FileTextExtractor: SilverStripe\TextExtraction\Extractor\FileTextExtractor
FileTextExtractor_Exception: SilverStripe\TextExtraction\Extractor\FileTextExtractor\Exception
HTMLTextExtractor: SilverStripe\TextExtraction\Extractor\HTMLTextExtractor
PDFTextExtractor: SilverStripe\TextExtraction\Extractor\PDFTextExtractor
SolrCellTextExtractor: SilverStripe\TextExtraction\Extractor\SolrCellTextExtractor
TikaServerTextExtractor: SilverStripe\TextExtraction\Extractor\TikaServerTextExtractor
TikaTextExtractor: SilverStripe\TextExtraction\Extractor\TikaTextExtractor
TikaRestClient: SilverStripe\TextExtraction\Rest\TikaRestClient

View File

@ -20,11 +20,11 @@
} }
], ],
"require": { "require": {
"php": "^8.1", "php": "^7.4 || ^8.0",
"silverstripe/framework": "^5", "silverstripe/framework": "^4.10",
"silverstripe/assets": "^2", "silverstripe/assets": "^1",
"silverstripe/versioned": "^2", "silverstripe/versioned": "^1",
"guzzlehttp/guzzle": "^7.5" "guzzlehttp/guzzle": "^6.3 || ^7.0"
}, },
"require-dev": { "require-dev": {
"squizlabs/php_codesniffer": "^3", "squizlabs/php_codesniffer": "^3",