Skip to content
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

Add recipe for wedrix/watchtower-bundle v2 #1562

Closed
wants to merge 6 commits into from
Closed

Add recipe for wedrix/watchtower-bundle v2 #1562

wants to merge 6 commits into from

Conversation

Wedrix
Copy link
Contributor

@Wedrix Wedrix commented Nov 11, 2023

@Wedrix Wedrix marked this pull request as ready for review November 11, 2023 01:10
@symfony-recipes-bot symfony-recipes-bot enabled auto-merge (squash) November 11, 2023 01:58
Copy link

Thanks for the PR 😍

How to test these changes in your application

  1. Define the SYMFONY_ENDPOINT environment variable:

    # On Unix-like (BSD, Linux and macOS)
    export SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1562/index.json
    # On Windows
    SET SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1562/index.json
  2. Install the package(s) related to this recipe:

    composer req 'symfony/flex:^1.16'
    composer req 'wedrix/watchtower-bundle:^2.0'
  3. Don't forget to unset the SYMFONY_ENDPOINT environment variable when done:

    # On Unix-like (BSD, Linux and macOS)
    unset SYMFONY_ENDPOINT
    # On Windows
    SET SYMFONY_ENDPOINT=

Diff between recipe versions

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.

wedrix/watchtower-bundle

1.0 vs 2.0
diff --git a/wedrix/watchtower-bundle/1.0/config/packages/wedrix_watchtower_bundle.yaml b/wedrix/watchtower-bundle/2.0/config/packages/wedrix_watchtower_bundle.yaml
index e2312b70..85c3d19d 100644
--- a/wedrix/watchtower-bundle/1.0/config/packages/wedrix_watchtower_bundle.yaml
+++ b/wedrix/watchtower-bundle/2.0/config/packages/wedrix_watchtower_bundle.yaml
@@ -3,8 +3,8 @@ wedrix_watchtower:
     schema_file: '%kernel.project_dir%/config/watchtower/schema.graphql'
     plugins_directory: '%kernel.project_dir%/config/watchtower/plugins'
     scalar_type_definitions_directory: '%kernel.project_dir%/config/watchtower/scalar_type_definitions'
-    schema_cache_directory: '%kernel.project_dir%/var/cache/watchtower/schema'
-    cache_schema: false
+    cache_directory: '%kernel.project_dir%/var/cache/watchtower'
+    optimize: false
     debug: true
     context:
         # Register services here to access them in the context param.
@@ -14,5 +14,5 @@ wedrix_watchtower:
 
 when@prod:
     wedrix_watchtower:
-        cache_schema: true
+        optimize: true
         debug: false

@Wedrix Wedrix closed this Nov 11, 2023
auto-merge was automatically disabled November 11, 2023 02:49

Pull request was closed

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.

1 participant