Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[minor] Remove matomo from other dependencies #336

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
[minor] Remove matomo from other dependencies
But keep the image around until June 2025 for continued support until then
  • Loading branch information
joecorall authored Jun 3, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 224ba1517c535a90c7728acbc2837e29f37d2fdb
21 changes: 0 additions & 21 deletions drupal/rootfs/etc/islandora/utilities.sh
Original file line number Diff line number Diff line change
@@ -580,27 +580,6 @@ function create_solr_core_with_default_config {
create_solr_core "${site}"
}

# Install matomo and configure.
function configure_matomo_module {
local site site_url site_id matomo_url matomo_http_url

if ! drush pm-list --format=string --type=module --status=enabled --no-core | grep -q matomo; then
echo "matomo is not installed. Skipping configuration"
return 0
fi

site="${1}"
shift
site_url=$(drupal_site_env "${site}" "SITE_URL")
site_id=$(($(site_index "${site}") + 1))
matomo_url=$(drupal_site_env "${site}" "MATOMO_URL")
matomo_http_url="http${matomo_url#https}"

drush -l "${site_url}" -y config-set matomo.settings site_id "${site_id}"
drush -l "${site_url}" -y config-set matomo.settings url_http "${matomo_http_url}"
drush -l "${site_url}" -y config-set matomo.settings url_https "${matomo_url}"
}

# Configure Openseadragon to point use cantaloupe.
function configure_openseadragon {
local site site_url cantaloupe_url
Loading