From f7344b325ac9294a2234cb9a610c2058f36f451c Mon Sep 17 00:00:00 2001 From: Jacques de Lamballerie Date: Thu, 23 Apr 2020 15:03:40 +0200 Subject: [PATCH 1/3] JacquesndlMailerBundle: add recipe --- .../1.0/config/packages/jacquesndl_mailer.yaml | 4 ++++ jacquesndl/mailer-bundle/1.0/manifest.json | 12 ++++++++++++ jacquesndl/mailer-bundle/1.0/post-install.txt | 6 ++++++ 3 files changed, 22 insertions(+) create mode 100755 jacquesndl/mailer-bundle/1.0/config/packages/jacquesndl_mailer.yaml create mode 100755 jacquesndl/mailer-bundle/1.0/manifest.json create mode 100644 jacquesndl/mailer-bundle/1.0/post-install.txt diff --git a/jacquesndl/mailer-bundle/1.0/config/packages/jacquesndl_mailer.yaml b/jacquesndl/mailer-bundle/1.0/config/packages/jacquesndl_mailer.yaml new file mode 100755 index 00000000..61c8b5aa --- /dev/null +++ b/jacquesndl/mailer-bundle/1.0/config/packages/jacquesndl_mailer.yaml @@ -0,0 +1,4 @@ +jacquesndl_mailer: + sender: + name: '%env(JACQUESNDL_MAILER_SENDER_NAME)%' + address: '%env(JACQUESNDL_MAILER_SENDER_ADDRESS)%' diff --git a/jacquesndl/mailer-bundle/1.0/manifest.json b/jacquesndl/mailer-bundle/1.0/manifest.json new file mode 100755 index 00000000..1ae1c4f1 --- /dev/null +++ b/jacquesndl/mailer-bundle/1.0/manifest.json @@ -0,0 +1,12 @@ +{ + "bundles": { + "Jacquesndl\\MailerBundle\\JacquesndlMailerBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "JACQUESNDL_MAILER_SENDER_NAME": "Example", + "JACQUESNDL_MAILER_SENDER_ADDRESS": "example@domain.tld" + } +} diff --git a/jacquesndl/mailer-bundle/1.0/post-install.txt b/jacquesndl/mailer-bundle/1.0/post-install.txt new file mode 100644 index 00000000..2e137be1 --- /dev/null +++ b/jacquesndl/mailer-bundle/1.0/post-install.txt @@ -0,0 +1,6 @@ + + Jacquesndl/MailerBundle, What's next? + + + * The Jacquesndl/MailerBundle needs your default sender configuration. + Modify your JACQUESNDL_MAILER_SENDER_NAME and JACQUESNDL_MAILER_SENDER_ADDRESS config in .env From 1e6a1523e240af042d2867de5261722addd729ca Mon Sep 17 00:00:00 2001 From: Jacques de Lamballerie Date: Thu, 23 Apr 2020 15:26:42 +0200 Subject: [PATCH 2/3] JacquesndlMailerBundle: add conflict to manifest --- jacquesndl/mailer-bundle/1.0/manifest.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jacquesndl/mailer-bundle/1.0/manifest.json b/jacquesndl/mailer-bundle/1.0/manifest.json index 1ae1c4f1..abfa9e0b 100755 --- a/jacquesndl/mailer-bundle/1.0/manifest.json +++ b/jacquesndl/mailer-bundle/1.0/manifest.json @@ -8,5 +8,9 @@ "env": { "JACQUESNDL_MAILER_SENDER_NAME": "Example", "JACQUESNDL_MAILER_SENDER_ADDRESS": "example@domain.tld" + }, + "conflict": { + "symfony/framework-bundle": "<4.4", + "symfony/twig-bundle": "<4.4" } } From 6d537c1c71877291427133d7aa8720697c612fe4 Mon Sep 17 00:00:00 2001 From: Jacques de Lamballerie Date: Thu, 23 Apr 2020 16:14:47 +0200 Subject: [PATCH 3/3] JacquesndlMailerBundle: add conflict to manifest --- jacquesndl/mailer-bundle/1.0/manifest.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/jacquesndl/mailer-bundle/1.0/manifest.json b/jacquesndl/mailer-bundle/1.0/manifest.json index abfa9e0b..ff1716b3 100755 --- a/jacquesndl/mailer-bundle/1.0/manifest.json +++ b/jacquesndl/mailer-bundle/1.0/manifest.json @@ -10,7 +10,6 @@ "JACQUESNDL_MAILER_SENDER_ADDRESS": "example@domain.tld" }, "conflict": { - "symfony/framework-bundle": "<4.4", - "symfony/twig-bundle": "<4.4" + "symfony/symfony": "<4.4" } }