Skip to content

Add Meilisearch recipe #1128

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 147 commits into from
Closed

Add Meilisearch recipe #1128

wants to merge 147 commits into from

Conversation

codedge
Copy link

@codedge codedge commented Apr 26, 2021

Q A
License MIT

This PR adds the recipe for the meilisearch/meilisearch-symfony bundle.

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request does not pass validation.

@@ -0,0 +1,9 @@
meili_search:
prefix: '%env(MEILISEARCH_PREFIX)%' # Use a prefix for index names based en env var
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indendation must be a multiple of 4 blanks

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request does not pass validation.

# nbResults: 10 # Retrieve less results on search (default: 20)
indices:
- name: samples
class: App\Entity\Sample
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indendation must be a multiple of 4 blanks

siganushka and others added 5 commits August 2, 2021 06:37
…symfony#1043)

* [feat] add recipe for sgianushka/generic-bundle

* [feat] add recipe for sgianushka/region-bundle

* remove default config

* remove empty config
* Add recipe for Jupi007 PS Webservice Bundle

* Update bundle namespace
Copy link
Member

@Nyholm Nyholm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Im happy with this.

Could you rebase your PR so the new CI jobs run (I cannot merge it atm)

maximehuran and others added 18 commits August 2, 2021 07:12
* add inspector recipe

* add inspector recipe

* add inspector recipe

* add inspector recipe

* add inspector recipe

* add inspector recipe

* add inspector recipe

* add inspector recipe

* add inspector recipe

* add inspector recipe

* add inspector recipe

* add inspector recipe

* add inspector recipe

* add inspector recipe

* add inspector recipe

* add inspector recipe

* add inspector recipe

* add inspector recipe

* add inspector recipe

* remove default config parameters
* SYmfony Flex Recipe for Woleet-Bundle

* fix ident for yaml

* fix : remove alias on contrib base

* fix : remove uneeded param in receipt
* added tree svc bundle

* -

Co-authored-by: Fabien Potencier <fabien@potencier.org>
@github-actions
Copy link

github-actions bot commented Aug 4, 2021

Diff between recipe versions

Thanks for the PR 😍

In order to help with the review stage, I'm in charge of computing the diff between the various versions of patched recipes.
I'm going keep this comment up to date with any updates of the attached patch.

exercise/htmlpurifier-bundle

0.2 vs 3.0
diff --git a/exercise/htmlpurifier-bundle/0.2/config/packages/exercise_html_purifier.yaml b/exercise/htmlpurifier-bundle/3.0/config/packages/exercise_html_purifier.yaml
index 5d0d238..4c787a5 100644
--- a/exercise/htmlpurifier-bundle/0.2/config/packages/exercise_html_purifier.yaml
+++ b/exercise/htmlpurifier-bundle/3.0/config/packages/exercise_html_purifier.yaml
@@ -1,5 +1,21 @@
 exercise_html_purifier:
-    # full configuration reference: http://htmlpurifier.org/live/configdoc/plain.html
-    default:
-        # the charset used by the original contents
-        Core.Encoding: 'UTF-8'
+    default_cache_serializer_path: '%kernel.cache_dir%/htmlpurifier'
+
+    html_profiles:
+        default:
+            config:
+                # the charset used by the original contents
+                Core.Encoding: 'UTF-8'
+                # full configuration reference: http://htmlpurifier.org/live/configdoc/plain.html
+
+# Read the https://github.com/Exercise/HTMLPurifierBundle/blob/master/README.md file
+# to know how to whitelist elements
+
+#            # whitelist attributes by tag
+#            attributes: []
+
+#            # whitelist elements by name
+#            elements: []
+
+#            # list of elements that cannot have attributes
+#            blank_elements: []

flux-se/sylius-payum-stripe-plugin

1.2 vs 2.0
diff --git a/flux-se/sylius-payum-stripe-plugin/1.2/config/packages/flux_se_sylius_payum_stripe.yaml b/flux-se/sylius-payum-stripe-plugin/2.0/config/packages/flux_se_sylius_payum_stripe.yaml
index 1b97cc7..d70b9ab 100644
--- a/flux-se/sylius-payum-stripe-plugin/1.2/config/packages/flux_se_sylius_payum_stripe.yaml
+++ b/flux-se/sylius-payum-stripe-plugin/2.0/config/packages/flux_se_sylius_payum_stripe.yaml
@@ -1,3 +1,6 @@
+imports:
+    - { resource: "@FluxSESyliusPayumStripePlugin/Resources/config/config.yaml" }
+
 flux_se_sylius_payum_stripe:
     line_item_image:
         # This is the imagine filter use to get the image displayed on Stripe Checkout Session

kunstmaan/admin-bundle

5.2 vs 5.9
diff --git a/kunstmaan/admin-bundle/5.2/config/packages/kunstmaan_admin.yaml b/kunstmaan/admin-bundle/5.9/config/packages/kunstmaan_admin.yaml
index ccb9fc2..dcf059f 100644
--- a/kunstmaan/admin-bundle/5.2/config/packages/kunstmaan_admin.yaml
+++ b/kunstmaan/admin-bundle/5.9/config/packages/kunstmaan_admin.yaml
@@ -4,3 +4,4 @@ kunstmaan_admin:
     default_locale: en
     admin_locales: ['en']
     website_title: 'MyProject' #Rename this to your website name
+    exception_logging: false

kunstmaan/node-bundle

5.2 vs 5.5
diff --git a/kunstmaan/node-bundle/5.2/config/packages/kunstmaan_node.yaml b/kunstmaan/node-bundle/5.5/config/packages/kunstmaan_node.yaml
index 9f8f255..c55f6a0 100644
--- a/kunstmaan/node-bundle/5.2/config/packages/kunstmaan_node.yaml
+++ b/kunstmaan/node-bundle/5.5/config/packages/kunstmaan_node.yaml
@@ -1,3 +1,4 @@
 kunstmaan_node:
     lock:
         enabled: true
+    enable_permissions: false

mobizel/markdown-docs-bundle

0.1 vs 0.9
diff --git a/mobizel/markdown-docs-bundle/0.1/config/packages/mobizel_markdown_docs.yaml b/mobizel/markdown-docs-bundle/0.9/config/packages/mobizel_markdown_docs.yaml
index 0b80900..94fb06e 100644
--- a/mobizel/markdown-docs-bundle/0.1/config/packages/mobizel_markdown_docs.yaml
+++ b/mobizel/markdown-docs-bundle/0.9/config/packages/mobizel_markdown_docs.yaml
@@ -1,2 +1,10 @@
 mobizel_markdown_docs:
-    docs_dir: '%kernel.project_dir%/docs'
+    contexts:
+        main:
+            path: /docs
+            docs_dir: '%kernel.project_dir%/docs'
+            metadata:
+                #title: 'Your documentation title'
+
+        # You can add as many contexts as you need
+        # See https://github.com/mobizel/markdown-docs-bundle/blob/master/docs/how-to-add-docs-contexts.md
diff --git a/mobizel/markdown-docs-bundle/0.1/config/routes/mobizel_markdown_docs.yaml b/mobizel/markdown-docs-bundle/0.9/config/routes/mobizel_markdown_docs.yaml
index 24557b3..382f44b 100644
--- a/mobizel/markdown-docs-bundle/0.1/config/routes/mobizel_markdown_docs.yaml
+++ b/mobizel/markdown-docs-bundle/0.9/config/routes/mobizel_markdown_docs.yaml
@@ -1,3 +1,3 @@
 _mobizel_markdowns:
-    resource: '@MobizelMarkdownDocsBundle/Resources/config/routes.xml'
-    prefix: docs
+    resource: 'mobizel_markdown_docs.routing.context_loader'
+    type: service

sonata-project/admin-bundle

3.31 vs 3.64
diff --git a/sonata-project/admin-bundle/3.31/config/packages/sonata_admin.yaml b/sonata-project/admin-bundle/3.64/config/packages/sonata_admin.yaml
index 28f4f34..7e3ca92 100644
--- a/sonata-project/admin-bundle/3.31/config/packages/sonata_admin.yaml
+++ b/sonata-project/admin-bundle/3.64/config/packages/sonata_admin.yaml
@@ -3,6 +3,8 @@ sonata_admin:
     dashboard:
         blocks:
             - { type: sonata.admin.block.admin_list, position: left }
+    options:
+        legacy_twig_text_extension: false
 
 sonata_block:
     blocks:
3.64 vs 4.0
diff --git a/sonata-project/admin-bundle/3.64/config/packages/sonata_admin.yaml b/sonata-project/admin-bundle/4.0/config/packages/sonata_admin.yaml
index 7e3ca92..28f4f34 100644
--- a/sonata-project/admin-bundle/3.64/config/packages/sonata_admin.yaml
+++ b/sonata-project/admin-bundle/4.0/config/packages/sonata_admin.yaml
@@ -3,8 +3,6 @@ sonata_admin:
     dashboard:
         blocks:
             - { type: sonata.admin.block.admin_list, position: left }
-    options:
-        legacy_twig_text_extension: false
 
 sonata_block:
     blocks:

sonata-project/form-extensions

1.0 vs 1.4
diff --git a/sonata-project/form-extensions/1.0/manifest.json b/sonata-project/form-extensions/1.4/manifest.json
index def2dca..35cb98a 100644
--- a/sonata-project/form-extensions/1.0/manifest.json
+++ b/sonata-project/form-extensions/1.4/manifest.json
@@ -1,6 +1,6 @@
 {
     "bundles": {
-        "Sonata\\Form\\Bridge\\Symfony\\Bundle\\SonataFormBundle": ["all"]
+        "Sonata\\Form\\Bridge\\Symfony\\SonataFormBundle": ["all"]
     },
     "copy-from-recipe": {
         "config/": "%CONFIG_DIR%/"

squizlabs/php_codesniffer

3.0 vs 3.6
diff --git a/squizlabs/php_codesniffer/3.0/phpcs.xml.dist b/squizlabs/php_codesniffer/3.6/phpcs.xml.dist
index dd2a8c6..89195e2 100644
--- a/squizlabs/php_codesniffer/3.0/phpcs.xml.dist
+++ b/squizlabs/php_codesniffer/3.6/phpcs.xml.dist
@@ -8,7 +8,7 @@
     <arg name="colors"/>
     <arg name="extensions" value="php"/>
 
-    <rule ref="PSR2"/>
+    <rule ref="PSR12"/>
 
     <file>bin/</file>
     <file>config/</file>

synolia/sylius-scheduler-command-plugin

1.0 vs 2.0
diff --git a/synolia/sylius-scheduler-command-plugin/1.0/config/routes/sylius_scheduler_command.yaml b/synolia/sylius-scheduler-command-plugin/2.0/config/routes/sylius_scheduler_command.yaml
index 46d96d6..19961fb 100644
--- a/synolia/sylius-scheduler-command-plugin/1.0/config/routes/sylius_scheduler_command.yaml
+++ b/synolia/sylius-scheduler-command-plugin/2.0/config/routes/sylius_scheduler_command.yaml
@@ -1,3 +1,3 @@
 synolia_scheduled_command:
     resource: "@SynoliaSyliusSchedulerCommandPlugin/Resources/config/admin_routing.yaml"
-    prefix: /admin
+    prefix: '/%sylius_admin.path_name%'
diff --git a/synolia/sylius-scheduler-command-plugin/1.0/manifest.json b/synolia/sylius-scheduler-command-plugin/2.0/manifest.json
index 257ed80..afae9cd 100644
--- a/synolia/sylius-scheduler-command-plugin/1.0/manifest.json
+++ b/synolia/sylius-scheduler-command-plugin/2.0/manifest.json
@@ -4,8 +4,5 @@
     },
     "copy-from-recipe": {
         "config/": "%CONFIG_DIR%/"
-    },
-    "copy-from-package": {
-        "src/Migrations/": "%SRC_DIR%/Migrations/"
     }
 }

tienvx/mbt-bundle

1.7 vs 1.15
diff --git a/tienvx/mbt-bundle/1.7/config/packages/tienvx_mbt.yaml b/tienvx/mbt-bundle/1.15/config/packages/tienvx_mbt.yaml
index ec4aa26..95748ee 100644
--- a/tienvx/mbt-bundle/1.7/config/packages/tienvx_mbt.yaml
+++ b/tienvx/mbt-bundle/1.15/config/packages/tienvx_mbt.yaml
@@ -1,11 +1,6 @@
 tienvx_mbt:
-    slack_hook_url: '%env(SLACK_HOOK_URL)%'
-    slack_from: '%env(SLACK_FROM)%'
-    slack_to: '%env(SLACK_TO)%'
-    slack_message: '%env(SLACK_MESSAGE)%'
     email_from: '%env(EMAIL_FROM)%'
-    email_to: '%env(EMAIL_TO)%'
-    email_subject: '%env(EMAIL_SUBJECT)%'
+    admin_url: '%env(ADMIN_URL)%'
 
 flysystem:
     storages:
diff --git a/tienvx/mbt-bundle/1.7/manifest.json b/tienvx/mbt-bundle/1.15/manifest.json
index e0f4eaa..22b1d52 100644
--- a/tienvx/mbt-bundle/1.7/manifest.json
+++ b/tienvx/mbt-bundle/1.15/manifest.json
@@ -7,12 +7,7 @@
         "var/": "%VAR_DIR%/"
     },
     "env": {
-        "SLACK_HOOK_URL": "https://hooks.slack.com/...",
-        "SLACK_FROM": "Example",
-        "SLACK_TO": "#a-channel or @a-person",
-        "SLACK_MESSAGE": "A new bug was found!",
         "EMAIL_FROM": "from@example.com",
-        "EMAIL_TO": "to@example.com",
-        "EMAIL_SUBJECT": "A new bug was found!"
+        "ADMIN_URL": "http://localhost"
     }
 }
1.15 vs 1.17
diff --git a/tienvx/mbt-bundle/1.15/config/packages/tienvx_mbt.yaml b/tienvx/mbt-bundle/1.17/config/packages/tienvx_mbt.yaml
index 95748ee..403fc04 100644
--- a/tienvx/mbt-bundle/1.15/config/packages/tienvx_mbt.yaml
+++ b/tienvx/mbt-bundle/1.17/config/packages/tienvx_mbt.yaml
@@ -1,10 +1,3 @@
 tienvx_mbt:
     email_from: '%env(EMAIL_FROM)%'
     admin_url: '%env(ADMIN_URL)%'
-
-flysystem:
-    storages:
-        mbt.storage:
-            adapter: 'local'
-            options:
-                directory: "%kernel.project_dir%/var/storage/screenshots"
diff --git a/tienvx/mbt-bundle/1.15/manifest.json b/tienvx/mbt-bundle/1.17/manifest.json
index 22b1d52..6f4085b 100644
--- a/tienvx/mbt-bundle/1.15/manifest.json
+++ b/tienvx/mbt-bundle/1.17/manifest.json
@@ -3,8 +3,7 @@
         "Tienvx\\Bundle\\MbtBundle\\TienvxMbtBundle": ["all"]
     },
     "copy-from-recipe": {
-        "config/": "%CONFIG_DIR%/",
-        "var/": "%VAR_DIR%/"
+        "config/": "%CONFIG_DIR%/"
     },
     "env": {
         "EMAIL_FROM": "from@example.com",
diff --git a/tienvx/mbt-bundle/1.15/var/storage/screenshots/.gitignore b/tienvx/mbt-bundle/1.15/var/storage/screenshots/.gitignore
deleted file mode 100644
index e69de29..0000000

trikoder/oauth2-bundle

2.0 vs 3.0
diff --git a/trikoder/oauth2-bundle/2.0/post-install.txt b/trikoder/oauth2-bundle/3.0/post-install.txt
index a2fcd89..6c8b9a6 100644
--- a/trikoder/oauth2-bundle/2.0/post-install.txt
+++ b/trikoder/oauth2-bundle/3.0/post-install.txt
@@ -16,7 +16,7 @@
 
   4.  Install a PSR 7/17 implementation 
     i)   Require a PSR 7/17 implementation. We recommend that you use nyholm/psr7.
-    ii)  (Optional) Choose a different implementation package: https://github.com/trikoder/oauth2-bundle/blob/v2.x/docs/psr-implementation-switching.md
+    ii)  (Optional) Choose a different implementation package: https://github.com/trikoder/oauth2-bundle/blob/v3.x/docs/psr-implementation-switching.md
 
   5.  Read the docs 
-    i)   Read the documentation at https://github.com/trikoder/oauth2-bundle/blob/v2.x/docs/basic-setup.md
+    i)   Read the documentation at https://github.com/trikoder/oauth2-bundle/blob/v3.x/docs/basic-setup.md

@codedge
Copy link
Author

codedge commented Aug 4, 2021

I rebased against the current master. Does not seem like a goold result 😅

@codedge
Copy link
Author

codedge commented Aug 4, 2021

Closing this in favour of #1188

@codedge codedge closed this Aug 4, 2021
@codedge codedge deleted the meilisearch branch August 4, 2021 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.