From 54ede7e637b3abe163b50dc58dacfed2ff64b5a8 Mon Sep 17 00:00:00 2001 From: rosie Le Faive Date: Thu, 29 Aug 2024 07:06:48 -0300 Subject: [PATCH 1/2] Change composer namespaces from islandora to drupal. --- .github/workflows/build-2.x.yml | 2 +- README.md | 2 +- composer.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-2.x.yml b/.github/workflows/build-2.x.yml index 044b009..dd5a353 100644 --- a/.github/workflows/build-2.x.yml +++ b/.github/workflows/build-2.x.yml @@ -104,7 +104,7 @@ jobs: cd $DRUPAL_DIR composer config repositories.local path "$GITHUB_WORKSPACE/build_dir" composer config minimum-stability dev - composer require "islandora/openseadragon:dev-github-testing as dev-2.x" + composer require "drupal/openseadragon:dev-github-testing as dev-2.x" - name: Install modules run: | diff --git a/README.md b/README.md index fafae00..40244bc 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Drupal FieldFormatter to display an image or generic file using a IIIF Image ser ## Installation This module can be installed via composer and enabled via Drush, like: -1. `composer require islandora/openseadragon:^2.0` +1. `composer require drupal/openseadragon:^2.0` 1. `drush pm-en openseadragon` Downloading/deploying the openseadragon library itself is not neccessary, as it is referenced externally via a CDN. diff --git a/composer.json b/composer.json index 66819d1..9ae477e 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "islandora/openseadragon", + "name": "drupal/openseadragon", "description": "OpenSeadragon", "type": "drupal-module", "minimum-stability": "dev", From e4fb1d0bcb4b5798d1d7a24b47ac527b4490bb6a Mon Sep 17 00:00:00 2001 From: rosie Le Faive Date: Thu, 29 Aug 2024 07:22:19 -0300 Subject: [PATCH 2/2] include composer replace for old namespace. --- composer.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/composer.json b/composer.json index 9ae477e..2f2937a 100644 --- a/composer.json +++ b/composer.json @@ -10,6 +10,9 @@ "support": { "issues": "https://github.com/Islandora/documentation/issues" }, + "replace": { + "islandora/openseadragon": "self.version" + }, "require": { "drupal/token": "^1.3" },