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

Added recipe for wedrix/watchtower-bundle v2 #1567

Merged
merged 1 commit into from
Jan 1, 2024

Conversation

Wedrix
Copy link
Contributor

@Wedrix Wedrix commented Nov 20, 2023

@symfony-recipes-bot symfony-recipes-bot enabled auto-merge (squash) November 20, 2023 04:16
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-1567/index.json
    # On Windows
    SET SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1567/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
diff --git a/wedrix/watchtower-bundle/1.0/config/watchtower/plugins/authorizors/.gitignore b/wedrix/watchtower-bundle/1.0/config/watchtower/plugins/authorizors/.gitignore
deleted file mode 100644
index e69de29b..00000000
diff --git a/wedrix/watchtower-bundle/1.0/config/watchtower/plugins/filters/.gitignore b/wedrix/watchtower-bundle/1.0/config/watchtower/plugins/filters/.gitignore
deleted file mode 100644
index e69de29b..00000000
diff --git a/wedrix/watchtower-bundle/1.0/config/watchtower/plugins/mutations/.gitignore b/wedrix/watchtower-bundle/1.0/config/watchtower/plugins/mutations/.gitignore
deleted file mode 100644
index e69de29b..00000000
diff --git a/wedrix/watchtower-bundle/1.0/config/watchtower/plugins/orderings/.gitignore b/wedrix/watchtower-bundle/1.0/config/watchtower/plugins/orderings/.gitignore
deleted file mode 100644
index e69de29b..00000000
diff --git a/wedrix/watchtower-bundle/1.0/config/watchtower/plugins/resolvers/.gitignore b/wedrix/watchtower-bundle/1.0/config/watchtower/plugins/resolvers/.gitignore
deleted file mode 100644
index e69de29b..00000000
diff --git a/wedrix/watchtower-bundle/1.0/config/watchtower/plugins/selectors/.gitignore b/wedrix/watchtower-bundle/1.0/config/watchtower/plugins/selectors/.gitignore
deleted file mode 100644
index e69de29b..00000000
diff --git a/wedrix/watchtower-bundle/1.0/config/watchtower/scalar_type_definitions/.gitignore b/wedrix/watchtower-bundle/1.0/config/watchtower/scalar_type_definitions/.gitignore
deleted file mode 100644
index e69de29b..00000000

@symfony-recipes-bot symfony-recipes-bot merged commit bb51dc1 into symfony:main Jan 1, 2024
1 of 2 checks passed
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.

3 participants