From cacef50ed53a8531495363dd44bf2a3ea082da90 Mon Sep 17 00:00:00 2001 From: "github-action[bot]" <> Date: Mon, 5 Jun 2023 16:01:56 +0000 Subject: [PATCH] Update Flex endpoint --- RECIPES.md | 2 +- ...8c9a4da17815830aac0d63e153a940ae176bb.json | 137 ++++++++++++++++++ doctrine.doctrine-bundle.2.10.json | 137 ++++++++++++++++++ index.json | 8 +- 4 files changed, 282 insertions(+), 2 deletions(-) create mode 100644 archived/doctrine.doctrine-bundle/f0d8c9a4da17815830aac0d63e153a940ae176bb.json create mode 100644 doctrine.doctrine-bundle.2.10.json diff --git a/RECIPES.md b/RECIPES.md index d1dbe70f..d268cc27 100644 --- a/RECIPES.md +++ b/RECIPES.md @@ -8,7 +8,7 @@ Additional recipes can be found on the [Contrib Recipes Repository](https://gith | [api-platform/core](https://packagist.org/packages/api-platform/core) | [3.0](api-platform/core/3.0) | | | [blackfireio/blackfire-symfony-meta](https://packagist.org/packages/blackfireio/blackfire-symfony-meta) | [1.0](blackfireio/blackfire-symfony-meta/1.0) | `blackfire` | | [doctrine/annotations](https://packagist.org/packages/doctrine/annotations) | [1.10](doctrine/annotations/1.10) | | -| [doctrine/doctrine-bundle](https://packagist.org/packages/doctrine/doctrine-bundle) | [2.8](doctrine/doctrine-bundle/2.8) | | +| [doctrine/doctrine-bundle](https://packagist.org/packages/doctrine/doctrine-bundle) | [2.10](doctrine/doctrine-bundle/2.10) | | | [doctrine/doctrine-fixtures-bundle](https://packagist.org/packages/doctrine/doctrine-fixtures-bundle) | [3.0](doctrine/doctrine-fixtures-bundle/3.0) | `orm-fixtures`, `ormfixtures` | | [doctrine/doctrine-migrations-bundle](https://packagist.org/packages/doctrine/doctrine-migrations-bundle) | [3.1](doctrine/doctrine-migrations-bundle/3.1) | `doctrine-migrations`, `doctrinemigrations`, `migrations` | | [easycorp/easyadmin-bundle](https://packagist.org/packages/easycorp/easyadmin-bundle) | [3.0](easycorp/easyadmin-bundle/3.0) | `admin`, `admin-gen`, `admin-generator`, `admingen`, `admingenerator` | diff --git a/archived/doctrine.doctrine-bundle/f0d8c9a4da17815830aac0d63e153a940ae176bb.json b/archived/doctrine.doctrine-bundle/f0d8c9a4da17815830aac0d63e153a940ae176bb.json new file mode 100644 index 00000000..bec43c3b --- /dev/null +++ b/archived/doctrine.doctrine-bundle/f0d8c9a4da17815830aac0d63e153a940ae176bb.json @@ -0,0 +1,137 @@ +{ + "manifests": { + "doctrine/doctrine-bundle": { + "manifest": { + "bundles": { + "Doctrine\\Bundle\\DoctrineBundle\\DoctrineBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/", + "src/": "%SRC_DIR%/" + }, + "env": { + "#1": "Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url", + "#2": "IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml", + "#3": "", + "#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"", + "#5": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8.0.32&charset=utf8mb4\"", + "#6": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4\"", + "DATABASE_URL": "postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=15&charset=utf8" + }, + "dockerfile": [ + "RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev; \\", + "\tdocker-php-ext-install -j\"$(nproc)\" pdo_pgsql; \\", + "\tapk add --no-cache --virtual .pgsql-rundeps so:libpq.so.5; \\", + "\tapk del .pgsql-deps" + ], + "docker-compose": { + "docker-compose.yml": { + "services": [ + "database:", + " image: postgres:${POSTGRES_VERSION:-15}-alpine", + " environment:", + " POSTGRES_DB: ${POSTGRES_DB:-app}", + " # You should definitely change the password in production", + " POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-!ChangeMe!}", + " POSTGRES_USER: ${POSTGRES_USER:-app}", + " volumes:", + " - database_data:/var/lib/postgresql/data:rw", + " # You may use a bind-mounted host directory instead, so that it is harder to accidentally remove the volume and lose all your data!", + " # - ./docker/db/data:/var/lib/postgresql/data:rw" + ], + "volumes": [ + "database_data:" + ] + }, + "docker-compose.override.yml": { + "services": [ + "database:", + " ports:", + " - \"5432\"" + ] + } + }, + "conflict": { + "doctrine/orm": "<2.14", + "symfony/dependency-injection": "<6.2", + "symfony/framework-bundle": "<5.3" + }, + "post-install-output": [ + " * Modify your DATABASE_URL config in .env", + "", + " * Configure the driver (postgresql) and", + " server_version (15) in config/packages/doctrine.yaml" + ] + }, + "files": { + "config/packages/doctrine.yaml": { + "contents": [ + "doctrine:", + " dbal:", + " url: '%env(resolve:DATABASE_URL)%'", + "", + " # IMPORTANT: You MUST configure your server version,", + " # either here or in the DATABASE_URL env var (see .env file)", + " #server_version: '15'", + " orm:", + " auto_generate_proxy_classes: true", + " enable_lazy_ghost_objects: true", + " report_fields_where_declared: true", + " validate_xml_mapping: true", + " naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware", + " auto_mapping: true", + " mappings:", + " App:", + " is_bundle: false", + " dir: '%kernel.project_dir%/src/Entity'", + " prefix: 'App\\Entity'", + " alias: App", + "", + "when@test:", + " doctrine:", + " dbal:", + " # \"TEST_TOKEN\" is typically set by ParaTest", + " dbname_suffix: '_test%env(default::TEST_TOKEN)%'", + "", + "when@prod:", + " doctrine:", + " orm:", + " auto_generate_proxy_classes: false", + " proxy_dir: '%kernel.build_dir%/doctrine/orm/Proxies'", + " query_cache_driver:", + " type: pool", + " pool: doctrine.system_cache_pool", + " result_cache_driver:", + " type: pool", + " pool: doctrine.result_cache_pool", + "", + " framework:", + " cache:", + " pools:", + " doctrine.result_cache_pool:", + " adapter: cache.app", + " doctrine.system_cache_pool:", + " adapter: cache.system", + "" + ], + "executable": false + }, + "src/Entity/.gitignore": { + "contents": [ + "" + ], + "executable": false + }, + "src/Repository/.gitignore": { + "contents": [ + "" + ], + "executable": false + } + }, + "ref": "f0d8c9a4da17815830aac0d63e153a940ae176bb" + } + } +} diff --git a/doctrine.doctrine-bundle.2.10.json b/doctrine.doctrine-bundle.2.10.json new file mode 100644 index 00000000..bec43c3b --- /dev/null +++ b/doctrine.doctrine-bundle.2.10.json @@ -0,0 +1,137 @@ +{ + "manifests": { + "doctrine/doctrine-bundle": { + "manifest": { + "bundles": { + "Doctrine\\Bundle\\DoctrineBundle\\DoctrineBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/", + "src/": "%SRC_DIR%/" + }, + "env": { + "#1": "Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url", + "#2": "IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml", + "#3": "", + "#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"", + "#5": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8.0.32&charset=utf8mb4\"", + "#6": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4\"", + "DATABASE_URL": "postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=15&charset=utf8" + }, + "dockerfile": [ + "RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev; \\", + "\tdocker-php-ext-install -j\"$(nproc)\" pdo_pgsql; \\", + "\tapk add --no-cache --virtual .pgsql-rundeps so:libpq.so.5; \\", + "\tapk del .pgsql-deps" + ], + "docker-compose": { + "docker-compose.yml": { + "services": [ + "database:", + " image: postgres:${POSTGRES_VERSION:-15}-alpine", + " environment:", + " POSTGRES_DB: ${POSTGRES_DB:-app}", + " # You should definitely change the password in production", + " POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-!ChangeMe!}", + " POSTGRES_USER: ${POSTGRES_USER:-app}", + " volumes:", + " - database_data:/var/lib/postgresql/data:rw", + " # You may use a bind-mounted host directory instead, so that it is harder to accidentally remove the volume and lose all your data!", + " # - ./docker/db/data:/var/lib/postgresql/data:rw" + ], + "volumes": [ + "database_data:" + ] + }, + "docker-compose.override.yml": { + "services": [ + "database:", + " ports:", + " - \"5432\"" + ] + } + }, + "conflict": { + "doctrine/orm": "<2.14", + "symfony/dependency-injection": "<6.2", + "symfony/framework-bundle": "<5.3" + }, + "post-install-output": [ + " * Modify your DATABASE_URL config in .env", + "", + " * Configure the driver (postgresql) and", + " server_version (15) in config/packages/doctrine.yaml" + ] + }, + "files": { + "config/packages/doctrine.yaml": { + "contents": [ + "doctrine:", + " dbal:", + " url: '%env(resolve:DATABASE_URL)%'", + "", + " # IMPORTANT: You MUST configure your server version,", + " # either here or in the DATABASE_URL env var (see .env file)", + " #server_version: '15'", + " orm:", + " auto_generate_proxy_classes: true", + " enable_lazy_ghost_objects: true", + " report_fields_where_declared: true", + " validate_xml_mapping: true", + " naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware", + " auto_mapping: true", + " mappings:", + " App:", + " is_bundle: false", + " dir: '%kernel.project_dir%/src/Entity'", + " prefix: 'App\\Entity'", + " alias: App", + "", + "when@test:", + " doctrine:", + " dbal:", + " # \"TEST_TOKEN\" is typically set by ParaTest", + " dbname_suffix: '_test%env(default::TEST_TOKEN)%'", + "", + "when@prod:", + " doctrine:", + " orm:", + " auto_generate_proxy_classes: false", + " proxy_dir: '%kernel.build_dir%/doctrine/orm/Proxies'", + " query_cache_driver:", + " type: pool", + " pool: doctrine.system_cache_pool", + " result_cache_driver:", + " type: pool", + " pool: doctrine.result_cache_pool", + "", + " framework:", + " cache:", + " pools:", + " doctrine.result_cache_pool:", + " adapter: cache.app", + " doctrine.system_cache_pool:", + " adapter: cache.system", + "" + ], + "executable": false + }, + "src/Entity/.gitignore": { + "contents": [ + "" + ], + "executable": false + }, + "src/Repository/.gitignore": { + "contents": [ + "" + ], + "executable": false + } + }, + "ref": "f0d8c9a4da17815830aac0d63e153a940ae176bb" + } + } +} diff --git a/index.json b/index.json index fdf3e5da..28f349a0 100644 --- a/index.json +++ b/index.json @@ -452,7 +452,8 @@ "2.0", "2.3", "2.4", - "2.8" + "2.8", + "2.10" ], "doctrine/doctrine-fixtures-bundle": [ "3.0" @@ -976,6 +977,11 @@ "doctrine/orm": "<2.14", "symfony/dependency-injection": "<6.2", "symfony/framework-bundle": "<5.3" + }, + "2.10": { + "doctrine/orm": "<2.14", + "symfony/dependency-injection": "<6.2", + "symfony/framework-bundle": "<5.3" } }, "hautelook/alice-bundle": {