From ecbf1855204896131d9da5755ef1500130a32a9a Mon Sep 17 00:00:00 2001 From: imper Date: Fri, 4 Oct 2019 12:10:55 +0200 Subject: [PATCH 1/3] imper86/allegro-api-bundle recipe --- .../2.0/config/packages/imper86_allegro_api.yaml | 4 ++++ imper86/allegro-api-bundle/2.0/manifest.json | 12 ++++++++++++ imper86/allegro-api-bundle/2.0/post-install.txt | 9 +++++++++ 3 files changed, 25 insertions(+) create mode 100644 imper86/allegro-api-bundle/2.0/config/packages/imper86_allegro_api.yaml create mode 100644 imper86/allegro-api-bundle/2.0/manifest.json create mode 100644 imper86/allegro-api-bundle/2.0/post-install.txt diff --git a/imper86/allegro-api-bundle/2.0/config/packages/imper86_allegro_api.yaml b/imper86/allegro-api-bundle/2.0/config/packages/imper86_allegro_api.yaml new file mode 100644 index 00000000..f921985f --- /dev/null +++ b/imper86/allegro-api-bundle/2.0/config/packages/imper86_allegro_api.yaml @@ -0,0 +1,4 @@ +imper86_allegro_api: + sandbox: true + client_id: '%env(ALLEGRO_CLIENT_ID)%' + client_secret: '%env(ALLEGRO_CLIENT_SECRET)%' diff --git a/imper86/allegro-api-bundle/2.0/manifest.json b/imper86/allegro-api-bundle/2.0/manifest.json new file mode 100644 index 00000000..e178b69f --- /dev/null +++ b/imper86/allegro-api-bundle/2.0/manifest.json @@ -0,0 +1,12 @@ +{ + "bundles": { + "Imper86\\AllegroApiBundle\\Imper86AllegroApiBundle": ["all"] + }, + "env": { + "ALLEGRO_CLIENT_ID": "your_client_id", + "ALLEGRO_CLIENT_SECRET": "your_client_secret" + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} diff --git a/imper86/allegro-api-bundle/2.0/post-install.txt b/imper86/allegro-api-bundle/2.0/post-install.txt new file mode 100644 index 00000000..d5ced913 --- /dev/null +++ b/imper86/allegro-api-bundle/2.0/post-install.txt @@ -0,0 +1,9 @@ + + Allegro API - next steps + + + * Register your application by visiting https://apps.developer.allegro.pl/ or https://apps.developer.allegro.pl.allegrosandbox.pl/ + * Edit .env.local with your client id and client secret + * Configure bundle - imper86_allegro_api.yaml in your config/packages directory + * Do make:migration or doctrine:schema:update for bundle's entities + * Start using visiting /allegro-api/start - this route will prepare allegro authorization url and will redirect you to allegro login page From c14f45118b9356dde409cf8e94b9254de5a43512 Mon Sep 17 00:00:00 2001 From: imper Date: Sat, 5 Oct 2019 12:56:58 +0200 Subject: [PATCH 2/3] imper86/allegro-api-bundle v3 recipe --- .../2.0/config/packages/imper86_allegro_api.yaml | 4 ---- .../3.0/config/packages/imper86_allegro_api.yaml | 2 ++ .../3.0/config/routes/imper86_allegro_api.yaml | 2 ++ imper86/allegro-api-bundle/{2.0 => 3.0}/manifest.json | 0 imper86/allegro-api-bundle/{2.0 => 3.0}/post-install.txt | 0 5 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 imper86/allegro-api-bundle/2.0/config/packages/imper86_allegro_api.yaml create mode 100644 imper86/allegro-api-bundle/3.0/config/packages/imper86_allegro_api.yaml create mode 100644 imper86/allegro-api-bundle/3.0/config/routes/imper86_allegro_api.yaml rename imper86/allegro-api-bundle/{2.0 => 3.0}/manifest.json (100%) rename imper86/allegro-api-bundle/{2.0 => 3.0}/post-install.txt (100%) diff --git a/imper86/allegro-api-bundle/2.0/config/packages/imper86_allegro_api.yaml b/imper86/allegro-api-bundle/2.0/config/packages/imper86_allegro_api.yaml deleted file mode 100644 index f921985f..00000000 --- a/imper86/allegro-api-bundle/2.0/config/packages/imper86_allegro_api.yaml +++ /dev/null @@ -1,4 +0,0 @@ -imper86_allegro_api: - sandbox: true - client_id: '%env(ALLEGRO_CLIENT_ID)%' - client_secret: '%env(ALLEGRO_CLIENT_SECRET)%' diff --git a/imper86/allegro-api-bundle/3.0/config/packages/imper86_allegro_api.yaml b/imper86/allegro-api-bundle/3.0/config/packages/imper86_allegro_api.yaml new file mode 100644 index 00000000..22ce313a --- /dev/null +++ b/imper86/allegro-api-bundle/3.0/config/packages/imper86_allegro_api.yaml @@ -0,0 +1,2 @@ +imper86_allegro_api: + sandbox: true diff --git a/imper86/allegro-api-bundle/3.0/config/routes/imper86_allegro_api.yaml b/imper86/allegro-api-bundle/3.0/config/routes/imper86_allegro_api.yaml new file mode 100644 index 00000000..1331cc9a --- /dev/null +++ b/imper86/allegro-api-bundle/3.0/config/routes/imper86_allegro_api.yaml @@ -0,0 +1,2 @@ +imper86_allegro_api: + resource: '@Imper86AllegroApiBundle/Resources/config/routes.xml' diff --git a/imper86/allegro-api-bundle/2.0/manifest.json b/imper86/allegro-api-bundle/3.0/manifest.json similarity index 100% rename from imper86/allegro-api-bundle/2.0/manifest.json rename to imper86/allegro-api-bundle/3.0/manifest.json diff --git a/imper86/allegro-api-bundle/2.0/post-install.txt b/imper86/allegro-api-bundle/3.0/post-install.txt similarity index 100% rename from imper86/allegro-api-bundle/2.0/post-install.txt rename to imper86/allegro-api-bundle/3.0/post-install.txt From 724730a1407a1debb8066d192851ee074bc9c5b9 Mon Sep 17 00:00:00 2001 From: imper Date: Sat, 5 Oct 2019 15:01:47 +0200 Subject: [PATCH 3/3] imper86/supervisor-bundle recipe --- .../2.2/config/packages/imper86_supervisor.yaml | 2 ++ imper86/supervisor-bundle/2.2/manifest.json | 8 ++++++++ imper86/supervisor-bundle/2.2/post-install.txt | 6 ++++++ 3 files changed, 16 insertions(+) create mode 100644 imper86/supervisor-bundle/2.2/config/packages/imper86_supervisor.yaml create mode 100644 imper86/supervisor-bundle/2.2/manifest.json create mode 100644 imper86/supervisor-bundle/2.2/post-install.txt diff --git a/imper86/supervisor-bundle/2.2/config/packages/imper86_supervisor.yaml b/imper86/supervisor-bundle/2.2/config/packages/imper86_supervisor.yaml new file mode 100644 index 00000000..7bce322f --- /dev/null +++ b/imper86/supervisor-bundle/2.2/config/packages/imper86_supervisor.yaml @@ -0,0 +1,2 @@ +imper86_supervisor: + instances: [] diff --git a/imper86/supervisor-bundle/2.2/manifest.json b/imper86/supervisor-bundle/2.2/manifest.json new file mode 100644 index 00000000..29975e1e --- /dev/null +++ b/imper86/supervisor-bundle/2.2/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Imper86\\SupervisorBundle\\Imper86SupervisorBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} diff --git a/imper86/supervisor-bundle/2.2/post-install.txt b/imper86/supervisor-bundle/2.2/post-install.txt new file mode 100644 index 00000000..41a75e9b --- /dev/null +++ b/imper86/supervisor-bundle/2.2/post-install.txt @@ -0,0 +1,6 @@ + + Supervisor bundle - next steps + + + * Configure instances in imper86_supervisor.yaml in your config/packages directory + * Create supervisor config with command ./bin/console i86:supervisor:rebuild