CanastaWiki / Canasta

MediaWiki Docker image for Canasta, an all-in-one MediaWiki stack for easy deployment and management of enterprise-ready MediaWiki on production environments.
https://www.canasta.wiki
MIT License
38 stars 28 forks source link

Composer support #115

Open jeffw16 opened 2 years ago

jeffw16 commented 2 years ago

As per the initial specs doc I wrote last year, we need to add Composer support eventually

yaronkoren commented 1 year ago

The general view on adding Composer support seems to be roughly this:

olsonjaredm commented 1 year ago

Agreed. Is it user-extensions or extensions in the latest? I lost track.

One use case is if an admin wants specific versions of given extensions that they know are compatible with their setup/environment. This could include extensions that are bundled in Canasta, but at versions different than the bundle. For this reason it makes sense to put the files in extensions as these take precedent over canasta-extensions.

composer update is invoked now in the Dockerfile for some deps. Does adding Composer support entail adding a Composer script that is instead invoked after container start, or should it continue to be in the Dockerfile?