Skip to content

Reimplement directory mirroring portion of robloach/component-installer#98

Merged
werrolf merged 5 commits into
masterfrom
feature/replace-robloach-component-installer
Apr 11, 2022
Merged

Reimplement directory mirroring portion of robloach/component-installer#98
werrolf merged 5 commits into
masterfrom
feature/replace-robloach-component-installer

Conversation

@werrolf

@werrolf werrolf commented Aug 25, 2021

Copy link
Copy Markdown
Contributor

robloach/component-installer is abandoned and incompatible with Composer 2. This has been forcing us to ship with a very old Composer version that is in turn incompatible with PHP 8. Composer 1.x itself has been deprecated in early 2021.

This pull reimplements the portions of robloach/component-installer that Mapbender actually relies on to function, namely copying specified package files from the vendor tree into the web components tree after package installation. This should fully resolve Composer 2 incompatibilities and allow installation to run on PHP 8.

Asset mangling / recompilation parts of robloach/component-installer are not reimplemented. This means no "...-built.js" / "...-built.css" files are generated. Current Mapbender versions do not need these. Custom project code sourcing any component package asset via "-built.js" / "-built.css" will need to be updated to reference the individual source file(s) instead.

@werrolf werrolf merged commit b06ff7b into master Apr 11, 2022
@rschwammborn rschwammborn deleted the feature/replace-robloach-component-installer branch August 24, 2023 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant