From b687e8d7f9f035313febbdd4b9e5cbd19545f9f1 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Sat, 1 Aug 2020 14:57:00 +1000 Subject: [PATCH] [REF] Deploy Pear DB package using composer Add in patch file to support moving pear db to being deployed using composer --- composer.json | 6 ++++- composer.lock | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 66 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 0a737c6dd9..9dfefaa375 100644 --- a/composer.json +++ b/composer.json @@ -78,7 +78,8 @@ "typo3/phar-stream-wrapper": "^2 || ^3.0", "brick/money": "~0.4", "ext-intl": "*", - "pear/mail_mime": "~1.10" + "pear/mail_mime": "~1.10", + "pear/db": "1.10" }, "scripts": { "post-install-cmd": [ @@ -251,6 +252,9 @@ "electrolinux/phpquery": { "PHP7.4 Fix for array access using {} instead of []": "https://raw.githubusercontent.com/civicrm/civicrm-core/fe45bdfc4f3e3d3deb27e3d853cdbc7f616620a9/tools/scripts/composer/patches/php74_array_access_fix_phpquery.patch" }, + "pear/db": { + "Apply CiviCRM Customisations for the pear:db package": "https://raw.githubusercontent.com/civicrm/civicrm-core/a48a43c2b5f6d694fff1cfb99d522c5d9e2459a0/tools/scripts/composer/pear_db_civicrm_changes.patch" + }, "pear/mail": { "Apply CiviCRM Customisations for CRM-1367 and CRM-5946": "https://raw.githubusercontent.com/civicrm/civicrm-core/36319938a5bf26c1e7e2110a26a65db6a5979268/tools/scripts/composer/patches/pear-mail.patch" }, diff --git a/composer.lock b/composer.lock index e39dd5c9d2..44f3903468 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "1ff9c045fb03756148c0c66562aa61fd", + "content-hash": "46e891da51f0683373d9a6e62fb6f868", "packages": [ { "name": "adrienrn/php-mimetyper", @@ -998,6 +998,66 @@ "description": "More info available on: http://pear.php.net/package/Console_Getopt", "time": "2015-07-20T20:28:12+00:00" }, + { + "name": "pear/db", + "version": "v1.10.0", + "source": { + "type": "git", + "url": "https://github.com/pear/DB.git", + "reference": "e158c3a48246b67cd8c95856ffbb93de4ef380fe" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/pear/DB/zipball/e158c3a48246b67cd8c95856ffbb93de4ef380fe", + "reference": "e158c3a48246b67cd8c95856ffbb93de4ef380fe", + "shasum": "" + }, + "require": { + "pear/pear-core-minimal": "*" + }, + "type": "library", + "extra": { + "patches_applied": { + "Apply CiviCRM Customisations for the pear:db package": "https://raw.githubusercontent.com/civicrm/civicrm-core/a48a43c2b5f6d694fff1cfb99d522c5d9e2459a0/tools/scripts/composer/pear_db_civicrm_changes.patch" + } + }, + "autoload": { + "psr-0": { + "DB": "./" + } + }, + "notification-url": "https://packagist.org/downloads/", + "include-path": [ + "./" + ], + "license": [ + "PHP License v3.01" + ], + "authors": [ + { + "name": "Daniel Convissor", + "email": "danielc@php.net", + "role": "Lead" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net", + "role": "Lead" + }, + { + "name": "Stig Bakken", + "email": "stig@php.net", + "role": "Developer" + }, + { + "name": "Tomas V.V.Cox", + "email": "cox@idecnet.com", + "role": "Developer" + } + ], + "description": "More info available on: http://pear.php.net/package/DB", + "time": "2020-04-19T19:45:59+00:00" + }, { "name": "pear/log", "version": "1.13.2", -- 2.25.1