[commits] [Wiki] changed: Project/NoMorePear
Ralf Lang (B1 Systems GmbH)
lang at b1-systems.de
Thu Nov 21 19:30:48 UTC 2019
rlang Thu, 21 Nov 2019 19:30:48 +0000
Modified page: https://wiki.horde.org/Project/NoMorePear
New Revision: 12
Change log: How to actually use components when installed in a deployment
@@ -166,12 +166,27 @@
This proof of concept includes all software patches which are part
of this effort
+++ components and git-tools
In this project, the components tool is used via git-tools as a
frontend or as an installed app via composer exec horde-components.
+
Various patches have been applied. Most relevant is a rewrite of the
Components_Helper_Composer class.
-
+
This class now writes a thoroughly different composer file than
before and it takes its data from horde.yml
rather than package.xml
+
+To generate a new composer.json file for an app, run
+
+<code>
+composer exec -v horde-components web/$app/ composer
+</code>
+
+To generate a new composer.json file for a library, run
+
+<code>
+composer exec -v horde-components vendor/horde/$lib composer
+</code>
+
+Mind providing a useful config for horde-components first
config options govern
- if we want to build against dev-master dependencies or
dependencies using the horde.yml version constraints
- if we assume all packages live on packagist, in a shared satis
repo or a per-library git location
More information about the commits
mailing list