From 3c909a80dd32d4896c9bbdfb896d144844c38bd8 Mon Sep 17 00:00:00 2001 From: Tac Tacelosky Date: Mon, 18 Nov 2024 08:45:56 -0500 Subject: [PATCH 1/7] initial version for survos/bunny-bundle --- .../1.5/config/packages/survos_bunny.yaml | 5 +++++ .../1.5/config/routes/survos_bunny.yaml | 4 ++++ survos/bunny-bundle/1.5/manifest.json | 12 ++++++++++++ survos/bunny-bundle/1.5/post-install.txt | 13 +++++++++++++ 4 files changed, 34 insertions(+) create mode 100644 survos/bunny-bundle/1.5/config/packages/survos_bunny.yaml create mode 100644 survos/bunny-bundle/1.5/config/routes/survos_bunny.yaml create mode 100644 survos/bunny-bundle/1.5/manifest.json create mode 100644 survos/bunny-bundle/1.5/post-install.txt diff --git a/survos/bunny-bundle/1.5/config/packages/survos_bunny.yaml b/survos/bunny-bundle/1.5/config/packages/survos_bunny.yaml new file mode 100644 index 000000000..f1b946419 --- /dev/null +++ b/survos/bunny-bundle/1.5/config/packages/survos_bunny.yaml @@ -0,0 +1,5 @@ +survos_bunny: + # this is generated automatically with bin/console bunny:config + # api_key: '%env(BUNNY_API_KEY)%' + # set a default storage zone + storage_zone: ~ diff --git a/survos/bunny-bundle/1.5/config/routes/survos_bunny.yaml b/survos/bunny-bundle/1.5/config/routes/survos_bunny.yaml new file mode 100644 index 000000000..7853feb2b --- /dev/null +++ b/survos/bunny-bundle/1.5/config/routes/survos_bunny.yaml @@ -0,0 +1,4 @@ +survos_bunny: + resource: '@SurvosBunnyBundle/config/routes.yaml' + # consider adding /admin to this route and securing it in security.yaml + prefix: '/bunny' diff --git a/survos/bunny-bundle/1.5/manifest.json b/survos/bunny-bundle/1.5/manifest.json new file mode 100644 index 000000000..c07239c92 --- /dev/null +++ b/survos/bunny-bundle/1.5/manifest.json @@ -0,0 +1,12 @@ +{ + "bundles": { + "Survos\\CommandBundle\\SurvosBunnyBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "BUNNY_API_KEY": "" + } +} + diff --git a/survos/bunny-bundle/1.5/post-install.txt b/survos/bunny-bundle/1.5/post-install.txt new file mode 100644 index 000000000..da80e7394 --- /dev/null +++ b/survos/bunny-bundle/1.5/post-install.txt @@ -0,0 +1,13 @@ + + success + + + * Next steps: + 1. Get the main API key from https://dash.bunny.net/account/api-key + 2. Optionally add the key to your environment. Otherwise, run the command below with the API key as the argument. + 3. bin/console bunny:config >> .env.local + 4. run bin/console bunny:list to see the zones + 5. Only add the API keys you need to the production environment. + + + From a13bccaf2f53a15b26cd2f227b136d16c4f20d54 Mon Sep 17 00:00:00 2001 From: Tac Tacelosky Date: Mon, 18 Nov 2024 08:51:55 -0500 Subject: [PATCH 2/7] fix namespace --- survos/bunny-bundle/1.5/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/survos/bunny-bundle/1.5/manifest.json b/survos/bunny-bundle/1.5/manifest.json index c07239c92..087b2e435 100644 --- a/survos/bunny-bundle/1.5/manifest.json +++ b/survos/bunny-bundle/1.5/manifest.json @@ -1,6 +1,6 @@ { "bundles": { - "Survos\\CommandBundle\\SurvosBunnyBundle": ["all"] + "Survos\\BunnyBundle\\SurvosBunnyBundle": ["all"] }, "copy-from-recipe": { "config/": "%CONFIG_DIR%/" From e08ab2b251250eea3a6b6a798e05535ec86d268d Mon Sep 17 00:00:00 2001 From: Tac Tacelosky Date: Mon, 18 Nov 2024 08:55:35 -0500 Subject: [PATCH 3/7] fix yaml spacing --- survos/bunny-bundle/1.5/config/packages/survos_bunny.yaml | 8 ++++---- survos/bunny-bundle/1.5/config/routes/survos_bunny.yaml | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/survos/bunny-bundle/1.5/config/packages/survos_bunny.yaml b/survos/bunny-bundle/1.5/config/packages/survos_bunny.yaml index f1b946419..a79dc2eb0 100644 --- a/survos/bunny-bundle/1.5/config/packages/survos_bunny.yaml +++ b/survos/bunny-bundle/1.5/config/packages/survos_bunny.yaml @@ -1,5 +1,5 @@ survos_bunny: - # this is generated automatically with bin/console bunny:config - # api_key: '%env(BUNNY_API_KEY)%' - # set a default storage zone - storage_zone: ~ + # this is generated automatically with bin/console bunny:config + # api_key: '%env(BUNNY_API_KEY)%' + # set a default storage zone + storage_zone: ~ diff --git a/survos/bunny-bundle/1.5/config/routes/survos_bunny.yaml b/survos/bunny-bundle/1.5/config/routes/survos_bunny.yaml index 7853feb2b..20e419e88 100644 --- a/survos/bunny-bundle/1.5/config/routes/survos_bunny.yaml +++ b/survos/bunny-bundle/1.5/config/routes/survos_bunny.yaml @@ -1,4 +1,4 @@ survos_bunny: - resource: '@SurvosBunnyBundle/config/routes.yaml' - # consider adding /admin to this route and securing it in security.yaml - prefix: '/bunny' + resource: '@SurvosBunnyBundle/config/routes.yaml' + # consider adding /admin to this route and securing it in security.yaml + prefix: '/bunny' From e5da28d33a79ef483b8767f7c48c328c43323af8 Mon Sep 17 00:00:00 2001 From: Tac Tacelosky Date: Mon, 18 Nov 2024 09:09:34 -0500 Subject: [PATCH 4/7] add the api_key --- survos/bunny-bundle/1.5/config/packages/survos_bunny.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/survos/bunny-bundle/1.5/config/packages/survos_bunny.yaml b/survos/bunny-bundle/1.5/config/packages/survos_bunny.yaml index a79dc2eb0..34ccff70b 100644 --- a/survos/bunny-bundle/1.5/config/packages/survos_bunny.yaml +++ b/survos/bunny-bundle/1.5/config/packages/survos_bunny.yaml @@ -1,5 +1,5 @@ survos_bunny: # this is generated automatically with bin/console bunny:config - # api_key: '%env(BUNNY_API_KEY)%' - # set a default storage zone - storage_zone: ~ + api_key: '%env(BUNNY_API_KEY)%' + # optionally set a default storage zone + storage_zone: From b7b32bcd691cd07f2ac88e22142fab29d21b6fe7 Mon Sep 17 00:00:00 2001 From: Tac Tacelosky Date: Tue, 19 Nov 2024 11:18:34 -0500 Subject: [PATCH 5/7] Update survos/bunny-bundle/1.5/config/packages/survos_bunny.yaml Co-authored-by: Fabien Potencier --- survos/bunny-bundle/1.5/config/packages/survos_bunny.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/survos/bunny-bundle/1.5/config/packages/survos_bunny.yaml b/survos/bunny-bundle/1.5/config/packages/survos_bunny.yaml index 34ccff70b..2ab4f54f3 100644 --- a/survos/bunny-bundle/1.5/config/packages/survos_bunny.yaml +++ b/survos/bunny-bundle/1.5/config/packages/survos_bunny.yaml @@ -2,4 +2,4 @@ survos_bunny: # this is generated automatically with bin/console bunny:config api_key: '%env(BUNNY_API_KEY)%' # optionally set a default storage zone - storage_zone: + #storage_zone: From b2736848f3db1c2c388b64363f2c3393614df404 Mon Sep 17 00:00:00 2001 From: Tac Tacelosky Date: Tue, 19 Nov 2024 12:40:15 -0500 Subject: [PATCH 6/7] Update survos/bunny-bundle/1.5/manifest.json Co-authored-by: Dmitri Perunov --- survos/bunny-bundle/1.5/manifest.json | 1 - 1 file changed, 1 deletion(-) diff --git a/survos/bunny-bundle/1.5/manifest.json b/survos/bunny-bundle/1.5/manifest.json index 087b2e435..8fb1df5c6 100644 --- a/survos/bunny-bundle/1.5/manifest.json +++ b/survos/bunny-bundle/1.5/manifest.json @@ -9,4 +9,3 @@ "BUNNY_API_KEY": "" } } - From d3880cf404d017fa9706393537a6d7d23f84aa07 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Wed, 29 Jan 2025 08:52:38 +0100 Subject: [PATCH 7/7] Update survos/bunny-bundle/1.5/post-install.txt Co-authored-by: Dmitri Perunov --- survos/bunny-bundle/1.5/post-install.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/survos/bunny-bundle/1.5/post-install.txt b/survos/bunny-bundle/1.5/post-install.txt index da80e7394..fdaf0c35e 100644 --- a/survos/bunny-bundle/1.5/post-install.txt +++ b/survos/bunny-bundle/1.5/post-install.txt @@ -8,6 +8,3 @@ 3. bin/console bunny:config >> .env.local 4. run bin/console bunny:list to see the zones 5. Only add the API keys you need to the production environment. - - -