[packages/eventum: 3/5] patch config/services.yml for pld paths
glen
glen at pld-linux.org
Fri Aug 2 14:55:13 CEST 2019
commit 6f02f9c95d116756521f9e821d262d89b03bbbdd
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri Aug 2 12:13:28 2019 +0300
patch config/services.yml for pld paths
eventum-paths.patch | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
---
diff --git a/eventum-paths.patch b/eventum-paths.patch
index 8384539..f4deebd 100644
--- a/eventum-paths.patch
+++ b/eventum-paths.patch
@@ -89,3 +89,22 @@
+ return APP_LOG_PATH;
}
}
+--- eventum/config/services.yml~ 2019-08-02 01:33:18.681001511 +0300
++++ eventum/config/services.yml 2019-08-02 01:33:20.290978222 +0300
+@@ -15,13 +15,13 @@
+ # makes classes in src/ available to be used as services
+ # this creates a service per class whose id is the fully-qualified class name
+ Eventum\:
+- resource: '../src/*'
+- exclude: '../src/{DependencyInjection,Entity,Migrations,Tests,Kernel.php}'
++ resource: '/usr/share/eventum/src/*'
++ exclude: '/usr/share/eventum/src/{DependencyInjection,Entity,Migrations,Tests,Kernel.php}'
+
+ # controllers are imported separately to make sure services can be injected
+ # as action arguments even if you don't extend any base controller class
+ Eventum\Controller\:
+- resource: '../src/Controller'
++ resource: '/usr/share/eventum/src/Controller'
+ tags: ['controller.service_arguments']
+
+ # add more service definitions when explicit configuration is needed
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/eventum.git/commitdiff/4fb1cfd32d1c9ec4448b04f19a802db1621631be
More information about the pld-cvs-commit
mailing list