[TikiWiki-commits] [Git][tikiwiki/tiki][master] [ENH] Replacement old MediaAlchemyst(media-alchemyst/media-alchemyst) with the...

"SoftStart Code \(@softstartcode\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <68af4bb0d8852_2cd74b02673e@gitlab-sidekiq-low-urgency-cpu-bound-v2-75c5d7f49c-57t4s.mail>

SoftStart Code pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
9bf2654e by Sandeep D at 2025-08-27T18:09:18+00:00
[ENH] Replacement old MediaAlchemyst(media-alchemyst/media-alchemyst) with the newly forked MediaAlchemyst(tikiwiki/media-alchemyst)
---
* [ENH] Replacement old MediaAlchemyst(media-alchemyst/media-alchemyst) with the newly forked MediaAlchemyst(tikiwiki/media-alchemyst)

Replaced the media-alchemyst/media-alchemyst package with the official tikiwiki/media-alchemyst fork in Tiki.

**Summary of Changes:**
- Updated composer package references:
- Replaced all references to media-alchemyst/media-alchemyst with tikiwiki/media-alchemyst (^4.2).
- Updated ComposerPackages.yml:
- Marked media-alchemyst/media-alchemyst as replacedBy: tikiwiki/media-alchemyst
- Defined new TikiWikiMediaAlchemyst block with license, name, version, and required plugins (wikiplugin_preview, ocr_enable).
- Updated runtime check in AlchemyLib.php:
- Updated the feedback error message to refer to the new package path: tikiwiki/media-alchemyst
- Updated .gitlab-ci.yml:
- Replaced install command for the original package with composer require tikiwiki/media-alchemyst ^4.2 --no-progress

See merge request tikiwiki/tiki!8411

- - - - -


3 changed files:

- .gitlab-ci.yml
- lib/Alchemy/AlchemyLib.php
- lib/core/Tiki/Package/ComposerPackages.yml


Changes:

=====================================
.gitlab-ci.yml
=====================================
@@ -633,7 +633,7 @@ check-directories:
     - composer require tikiwiki/diagram ^10 --no-progress
     - composer require thiagoalessio/tesseract_ocr ^2.7.0 --no-progress
     - composer require mathjax/mathjax ^2.7 --no-progress
-    - composer require media-alchemyst/media-alchemyst ^0.5.1 --no-progress
+    - composer require tikiwiki/media-alchemyst ^4.2 --no-progress
     - composer require npm-asset/pdfjs-dist ~2.0.487 --no-progress
     - composer require bower-asset/wodo.texteditor ^0.5.9 --no-progress
     - composer require j0k3r/php-readability ^1.1.10 --no-progress


=====================================
lib/Alchemy/AlchemyLib.php
=====================================
@@ -41,7 +41,7 @@ class AlchemyLib
         global $prefs;
 
         if (! self::isLibraryAvailable()) {
-            \Feedback::error(tr('To use AlchemyLib Tiki needs the media-alchemyst/media-alchemyst package. If you do not have permission to install this package, ask the site administrator.'), true);
+            \Feedback::error(tr('To use AlchemyLib Tiki needs the tikiwiki/media-alchemyst package. If you do not have permission to install this package, ask the site administrator.'), true);
         }
 
         $drivers = new DriversContainer();


=====================================
lib/core/Tiki/Package/ComposerPackages.yml
=====================================
@@ -131,6 +131,8 @@ MathJax:
     - "wikiplugin_equation"
   requiredVersion: ^2.7
 MediaAlchemyst:
+  actions:
+    - remove
   licence: MIT
   licenceUrl: "https://github.com/alchemy-fr/Media-Alchemyst/blob/master/LICENSE"
   name: media-alchemyst/media-alchemyst
@@ -138,6 +140,17 @@ MediaAlchemyst:
     - wikiplugin_preview
     - ocr_enable
   requiredVersion: ^0.5.4
+  state: replaced
+  replacedBy:
+    - tikiwiki/media-alchemyst
+TikiWikiMediaAlchemyst:
+  licence: MIT
+  licenceUrl: "https://gitlab.com/tikiwiki/libraries/forks/Media-Alchemyst/blob/master/LICENSE"
+  name: tikiwiki/media-alchemyst
+  requiredBy:
+    - wikiplugin_preview
+    - ocr_enable
+  requiredVersion: ^4.2
 PDFjsViewer:
   licence: Apache-2.0
   licenceUrl: "https://github.com/oci-labs/pdfjs-dist-viewer-min/blob/main/LICENSE"



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/9bf2654e7fa115d970689a54cf5a1ef9da375373

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/9bf2654e7fa115d970689a54cf5a1ef9da375373
You're receiving this email because of your account on gitlab.com.

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.