Skip to content

Commit

Permalink
Remove matomo (#153)
Browse files Browse the repository at this point in the history
* rm matomo

* Fixup CI

- Only run once on PRs
- Test php 8.3
- Set shell so failures fail the job

* Allow config inspector to atleast complete

* Update views.view.content.yml

* Update views.view.content.yml

* rm matomo patch

* Update README.md
  • Loading branch information
joecorall authored Jun 5, 2024
1 parent df1f993 commit 77abc2f
Show file tree
Hide file tree
Showing 51 changed files with 107 additions and 773 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
name: CI
on:
push: {}
pull_request:
push:
branches: [ main ]
pull_request: {}
workflow_dispatch: {}

jobs:
Expand All @@ -12,13 +12,14 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: [ 8.1, 8.2 ]
php-versions: [ 8.1, 8.2, 8.3 ]

name: PHP ${{ matrix.php-versions }}

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
Expand All @@ -28,17 +29,23 @@ jobs:
- name: Get composer cache directory
id: composer-cache
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT

- name: Cache dependencies
uses: actions/cache@v3
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-

- name: Install dependencies
run: composer install

- name: Test site installation
shell: bash
run: composer exec -- drush site:install --existing-config --db-url=sqlite:test_db

- name: Inspect configuration
shell: bash
# Just warnings, for now...
continue-on-error: true
run: |
Expand Down
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ tools and services that support it, try one of the Islandora deployment tools:
## Manual Installation

The config files in the Starter Site assume a full suite of external services.
If you do not need all the external services (such as Fedora or Matomo) then
If you do not need all the external services (such as Fedora) then
you can skip them but you will also want to adjust the Drupal configs. Such a
partial install is beyond the scope of this document.

Expand Down Expand Up @@ -69,12 +69,10 @@ If not the default `tcp://127.0.0.1:61613`, this will have to be set (see Usage
| `islandora-connector-fits` | CrayFits derivative processor |

7. A [Drupal-compatible web server](https://www.drupal.org/docs/system-requirements/web-server-requirements)
8. A [Matomo installation](https://matomo.org/)
* Further details in the [`matomo` module's](https://www.drupal.org/project/matomo) documentation
9. [FITS Web Service](https://projects.iq.harvard.edu/fits/downloads#fits-servlet) and
8. [FITS Web Service](https://projects.iq.harvard.edu/fits/downloads#fits-servlet) and
[CrayFits](https://github.com/roblib/CrayFits) installed
* Further details in the [`islandora_fits` module's](https://github.com/roblib/islandora_fits) README/documentation
10. A Solr server installed or available with a core set up
9. A Solr server installed or available with a core set up
* Further details on [Drupal's Search API Solr module](https://www.drupal.org/project/search_api_solr) page.
* If not available at `127.0.0.1:8983`, or if the core name is not `ISLANDORA` its information will need to be set up (see Usage step 5)

Expand Down Expand Up @@ -133,7 +131,6 @@ Change the following Drupal configs to your values using any method (GUI,
| ActiveMQ (broker) | `islandora.settings broker_url` | `tcp://127.0.0.1:61613` |
| Cantaloupe (for OpenSeadragon) | `openseadragon.settings iiif_server` | `http://127.0.0.1:8080/cantaloupe/iiif/2` |
| Cantaloupe (for Islandora IIIF) | `islandora_iiif.settings iiif_server` | `http://127.0.0.1:8080/cantaloupe/iiif/2` |
| Matomo URL | `matomo.settings url_http` | `http://localhost:8000/matomo/` |
| Solr - URL | `search_api.server.default_solr_server backend_config.connector_config.host` | `127.0.0.1` |
| Solr - port | `search_api.server.default_solr_server backend_config.connector_config.port` | `8983` |
| Solr - core name | `search_api.server.default_solr_server backend_config.connector_config.core` | `ISLANDORA` |
Expand Down
50 changes: 0 additions & 50 deletions assets/patches/matomo-3363521-7.patch

This file was deleted.

1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
"drupal/fpa": "^4.0",
"drupal/hal": "^1.0||^2.0",
"drupal/islandora": "^2.8.1",
"drupal/matomo": "^1.19",
"drupal/openseadragon": "^2",
"drupal/pathauto": "^1.12",
"drupal/pdf": "^1.1",
Expand Down
68 changes: 2 additions & 66 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions config/sync/core.entity_form_display.user.user.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ content:
language:
weight: 0
region: content
matomo:
weight: 3
region: content
settings: { }
third_party_settings: { }
timezone:
weight: 6
region: content
Expand Down
1 change: 0 additions & 1 deletion config/sync/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ module:
key: 0
language: 0
link: 0
matomo: 0
media: 0
media_library: 0
menu_link_content: 0
Expand Down
40 changes: 0 additions & 40 deletions config/sync/matomo.settings.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ cache:
size: 512
initialSize: 512
autowarmCount: 0
solr_configs: null
solr_configs: { }
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ cache:
size: 512
initialSize: 512
autowarmCount: 0
solr_configs: null
solr_configs: { }
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ cache:
initialSize: 0
autowarmCount: 10
regenerator: solr.NoOpRegenerator
solr_configs: null
solr_configs: { }
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ cache:
initialSize: 0
autowarmCount: 10
regenerator: solr.NoOpRegenerator
solr_configs: null
solr_configs: { }
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ field_type:
class: solr.LowerCaseFilterFactory
-
class: solr.RemoveDuplicatesTokenFilterFactory
unstemmed_field_type: null
spellcheck_field_type: null
collated_field_type: null
unstemmed_field_type: { }
spellcheck_field_type: { }
collated_field_type: { }
solr_configs: { }
text_files: { }
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ field_type:
class: solr.LowerCaseFilterFactory
-
class: solr.RemoveDuplicatesTokenFilterFactory
unstemmed_field_type: null
spellcheck_field_type: null
collated_field_type: null
unstemmed_field_type: { }
spellcheck_field_type: { }
collated_field_type: { }
solr_configs: { }
text_files: { }
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ field_type:
class: solr.LowerCaseFilterFactory
-
class: solr.RemoveDuplicatesTokenFilterFactory
unstemmed_field_type: null
spellcheck_field_type: null
collated_field_type: null
unstemmed_field_type: { }
spellcheck_field_type: { }
collated_field_type: { }
solr_configs: { }
text_files: { }
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ unstemmed_field_type:
class: solr.LowerCaseFilterFactory
-
class: solr.RemoveDuplicatesTokenFilterFactory
spellcheck_field_type: null
spellcheck_field_type: { }
collated_field_type:
name: collated_en
class: solr.ICUCollationField
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ unstemmed_field_type:
class: solr.LowerCaseFilterFactory
-
class: solr.RemoveDuplicatesTokenFilterFactory
spellcheck_field_type: null
spellcheck_field_type: { }
collated_field_type:
name: collated_en
class: solr.ICUCollationField
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ field_type:
class: solr.LowerCaseFilterFactory
-
class: solr.RemoveDuplicatesTokenFilterFactory
unstemmed_field_type: null
spellcheck_field_type: null
collated_field_type: null
unstemmed_field_type: { }
spellcheck_field_type: { }
collated_field_type: { }
solr_configs: { }
text_files: { }
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ field_type:
class: solr.LowerCaseFilterFactory
-
class: solr.RemoveDuplicatesTokenFilterFactory
unstemmed_field_type: null
spellcheck_field_type: null
collated_field_type: null
unstemmed_field_type: { }
spellcheck_field_type: { }
collated_field_type: { }
solr_configs: { }
text_files: { }
Loading

0 comments on commit 77abc2f

Please sign in to comment.