From bc1bac7a07a1140e6b6e4f3f51db78ddd84fe778 Mon Sep 17 00:00:00 2001 From: disjfa Date: Thu, 15 Mar 2018 21:30:14 +0000 Subject: [PATCH 1/6] Added receipe for disjfa/mozaic-bundle --- .../0.1/config/packages/disjfa_mozaic.yaml | 11 +++++++++++ .../0.1/config/routes/disjfa_mozaic.yaml | 3 +++ disjfa/mozaic-bundle/0.1/manifest.json | 13 +++++++++++++ disjfa/mozaic-bundle/0.1/post-install.txt | 7 +++++++ 4 files changed, 34 insertions(+) create mode 100755 disjfa/mozaic-bundle/0.1/config/packages/disjfa_mozaic.yaml create mode 100755 disjfa/mozaic-bundle/0.1/config/routes/disjfa_mozaic.yaml create mode 100755 disjfa/mozaic-bundle/0.1/manifest.json create mode 100755 disjfa/mozaic-bundle/0.1/post-install.txt diff --git a/disjfa/mozaic-bundle/0.1/config/packages/disjfa_mozaic.yaml b/disjfa/mozaic-bundle/0.1/config/packages/disjfa_mozaic.yaml new file mode 100755 index 00000000..28dceb6f --- /dev/null +++ b/disjfa/mozaic-bundle/0.1/config/packages/disjfa_mozaic.yaml @@ -0,0 +1,11 @@ +parameters: + env(UNSPLASH_APPLICATION_ID): '' + env(UNSPLASH_APPLICATION_SECRET): '' + +# disjfa_mozaic.unsplash.application_id: '' +# disjfa_mozaic.unsplash.secret: '' + +disjfa_mozaic: + unsplash: + application_id: '%env(resolve:UNSPLASH_APPLICATION_ID)%' + secret: '%env(resolve:UNSPLASH_APPLICATION_SECRET)%' \ No newline at end of file diff --git a/disjfa/mozaic-bundle/0.1/config/routes/disjfa_mozaic.yaml b/disjfa/mozaic-bundle/0.1/config/routes/disjfa_mozaic.yaml new file mode 100755 index 00000000..c837b1e3 --- /dev/null +++ b/disjfa/mozaic-bundle/0.1/config/routes/disjfa_mozaic.yaml @@ -0,0 +1,3 @@ +disjfa_mozaic: + resource: '@DisjfaMozaicBundle/Controller/' + type: annotation diff --git a/disjfa/mozaic-bundle/0.1/manifest.json b/disjfa/mozaic-bundle/0.1/manifest.json new file mode 100755 index 00000000..593a5bd8 --- /dev/null +++ b/disjfa/mozaic-bundle/0.1/manifest.json @@ -0,0 +1,13 @@ +{ + "bundles": { + "Disjfa\\MozaicBundle\\DisjfaMozaicBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "#1": "You can request a api key on the developer page of unsplash here: https://unsplash.com/developers", + "UNSPLASH_APPLICATION_ID": "", + "UNSPLASH_APPLICATION_SECRET": "" + } +} \ No newline at end of file diff --git a/disjfa/mozaic-bundle/0.1/post-install.txt b/disjfa/mozaic-bundle/0.1/post-install.txt new file mode 100755 index 00000000..8ceda02f --- /dev/null +++ b/disjfa/mozaic-bundle/0.1/post-install.txt @@ -0,0 +1,7 @@ + + Mozaic bundle configuration + + + * Modify your UNSPLASH_APPLICATION_ID and UNSPLASH_APPLICATION_SECRET config in .env + + * Don't forget to add the vue component in you javascript \ No newline at end of file From 01ad235b112d577003dfb11e158252837ed318fe Mon Sep 17 00:00:00 2001 From: disjfa Date: Thu, 15 Mar 2018 21:34:34 +0000 Subject: [PATCH 2/6] Fixed spaces and newlines --- .../0.1/config/packages/disjfa_mozaic.yaml | 7 ++--- disjfa/mozaic-bundle/0.1/manifest.json | 26 ++++++++++--------- disjfa/mozaic-bundle/0.1/post-install.txt | 2 +- 3 files changed, 17 insertions(+), 18 deletions(-) diff --git a/disjfa/mozaic-bundle/0.1/config/packages/disjfa_mozaic.yaml b/disjfa/mozaic-bundle/0.1/config/packages/disjfa_mozaic.yaml index 28dceb6f..7043220e 100755 --- a/disjfa/mozaic-bundle/0.1/config/packages/disjfa_mozaic.yaml +++ b/disjfa/mozaic-bundle/0.1/config/packages/disjfa_mozaic.yaml @@ -1,11 +1,8 @@ -parameters: - env(UNSPLASH_APPLICATION_ID): '' - env(UNSPLASH_APPLICATION_SECRET): '' - +#parameters: # disjfa_mozaic.unsplash.application_id: '' # disjfa_mozaic.unsplash.secret: '' disjfa_mozaic: unsplash: application_id: '%env(resolve:UNSPLASH_APPLICATION_ID)%' - secret: '%env(resolve:UNSPLASH_APPLICATION_SECRET)%' \ No newline at end of file + secret: '%env(resolve:UNSPLASH_APPLICATION_SECRET)%' diff --git a/disjfa/mozaic-bundle/0.1/manifest.json b/disjfa/mozaic-bundle/0.1/manifest.json index 593a5bd8..e60a9ca5 100755 --- a/disjfa/mozaic-bundle/0.1/manifest.json +++ b/disjfa/mozaic-bundle/0.1/manifest.json @@ -1,13 +1,15 @@ { - "bundles": { - "Disjfa\\MozaicBundle\\DisjfaMozaicBundle": ["all"] - }, - "copy-from-recipe": { - "config/": "%CONFIG_DIR%/" - }, - "env": { - "#1": "You can request a api key on the developer page of unsplash here: https://unsplash.com/developers", - "UNSPLASH_APPLICATION_ID": "", - "UNSPLASH_APPLICATION_SECRET": "" - } -} \ No newline at end of file + "bundles": { + "Disjfa\\MozaicBundle\\DisjfaMozaicBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "#1": "You can request a api key on the developer page of unsplash here: https://unsplash.com/developers", + "UNSPLASH_APPLICATION_ID": "", + "UNSPLASH_APPLICATION_SECRET": "" + } +} diff --git a/disjfa/mozaic-bundle/0.1/post-install.txt b/disjfa/mozaic-bundle/0.1/post-install.txt index 8ceda02f..3df7238d 100755 --- a/disjfa/mozaic-bundle/0.1/post-install.txt +++ b/disjfa/mozaic-bundle/0.1/post-install.txt @@ -4,4 +4,4 @@ * Modify your UNSPLASH_APPLICATION_ID and UNSPLASH_APPLICATION_SECRET config in .env - * Don't forget to add the vue component in you javascript \ No newline at end of file + * Don't forget to add the vue component in you javascript From acb6a32b3ddefbff45328dd13583bc95fdee6ae5 Mon Sep 17 00:00:00 2001 From: disjfa Date: Thu, 15 Mar 2018 21:40:09 +0000 Subject: [PATCH 3/6] Updated one space, just to check if it re-checkes --- disjfa/mozaic-bundle/0.1/config/routes/disjfa_mozaic.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disjfa/mozaic-bundle/0.1/config/routes/disjfa_mozaic.yaml b/disjfa/mozaic-bundle/0.1/config/routes/disjfa_mozaic.yaml index c837b1e3..a647894d 100755 --- a/disjfa/mozaic-bundle/0.1/config/routes/disjfa_mozaic.yaml +++ b/disjfa/mozaic-bundle/0.1/config/routes/disjfa_mozaic.yaml @@ -1,3 +1,3 @@ disjfa_mozaic: resource: '@DisjfaMozaicBundle/Controller/' - type: annotation + type: annotation From 73ce266abe9a01f994dddb7a1bcb66142a561803 Mon Sep 17 00:00:00 2001 From: disjfa Date: Thu, 15 Mar 2018 21:42:22 +0000 Subject: [PATCH 4/6] Also added some indentations to the yaml --- disjfa/mozaic-bundle/0.1/config/packages/disjfa_mozaic.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/disjfa/mozaic-bundle/0.1/config/packages/disjfa_mozaic.yaml b/disjfa/mozaic-bundle/0.1/config/packages/disjfa_mozaic.yaml index 7043220e..69a5b3e4 100755 --- a/disjfa/mozaic-bundle/0.1/config/packages/disjfa_mozaic.yaml +++ b/disjfa/mozaic-bundle/0.1/config/packages/disjfa_mozaic.yaml @@ -3,6 +3,6 @@ # disjfa_mozaic.unsplash.secret: '' disjfa_mozaic: - unsplash: - application_id: '%env(resolve:UNSPLASH_APPLICATION_ID)%' - secret: '%env(resolve:UNSPLASH_APPLICATION_SECRET)%' + unsplash: + application_id: '%env(resolve:UNSPLASH_APPLICATION_ID)%' + secret: '%env(resolve:UNSPLASH_APPLICATION_SECRET)%' From 6b28af1fdfa8b6fb693131b955d48a1bfb995306 Mon Sep 17 00:00:00 2001 From: disjfa Date: Thu, 15 Mar 2018 21:54:48 +0000 Subject: [PATCH 5/6] Fixed --- disjfa/mozaic-bundle/0.1/config/routes/disjfa_mozaic.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disjfa/mozaic-bundle/0.1/config/routes/disjfa_mozaic.yaml b/disjfa/mozaic-bundle/0.1/config/routes/disjfa_mozaic.yaml index a647894d..c837b1e3 100755 --- a/disjfa/mozaic-bundle/0.1/config/routes/disjfa_mozaic.yaml +++ b/disjfa/mozaic-bundle/0.1/config/routes/disjfa_mozaic.yaml @@ -1,3 +1,3 @@ disjfa_mozaic: resource: '@DisjfaMozaicBundle/Controller/' - type: annotation + type: annotation From 7e54b3526c582f0fb794b806eb3ddeeb05551ad4 Mon Sep 17 00:00:00 2001 From: disjfa Date: Tue, 20 Mar 2018 19:58:33 +0000 Subject: [PATCH 6/6] Removed unused parameters, removed colors in post_install --- disjfa/mozaic-bundle/0.1/config/packages/disjfa_mozaic.yaml | 4 ---- disjfa/mozaic-bundle/0.1/post-install.txt | 6 ++++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/disjfa/mozaic-bundle/0.1/config/packages/disjfa_mozaic.yaml b/disjfa/mozaic-bundle/0.1/config/packages/disjfa_mozaic.yaml index 69a5b3e4..2165117a 100755 --- a/disjfa/mozaic-bundle/0.1/config/packages/disjfa_mozaic.yaml +++ b/disjfa/mozaic-bundle/0.1/config/packages/disjfa_mozaic.yaml @@ -1,7 +1,3 @@ -#parameters: -# disjfa_mozaic.unsplash.application_id: '' -# disjfa_mozaic.unsplash.secret: '' - disjfa_mozaic: unsplash: application_id: '%env(resolve:UNSPLASH_APPLICATION_ID)%' diff --git a/disjfa/mozaic-bundle/0.1/post-install.txt b/disjfa/mozaic-bundle/0.1/post-install.txt index 3df7238d..52d0d3ab 100755 --- a/disjfa/mozaic-bundle/0.1/post-install.txt +++ b/disjfa/mozaic-bundle/0.1/post-install.txt @@ -2,6 +2,8 @@ Mozaic bundle configuration - * Modify your UNSPLASH_APPLICATION_ID and UNSPLASH_APPLICATION_SECRET config in .env + * Modify the UNSPLASH_APPLICATION_ID and UNSPLASH_APPLICATION_SECRET config in .env - * Don't forget to add the vue component in you javascript + * Don't forget to add the vue component in you javascript + + * You can check the instructions on the github repo: https://github.com/disjfa/mozaic-bundle