From aeb9cf6b6ba998896e2f850b284bfd3ebc13d91a Mon Sep 17 00:00:00 2001 From: "github-action[bot]" <> Date: Fri, 31 May 2024 07:57:00 +0000 Subject: [PATCH] Update Flex endpoint --- ...6981c201efbbe02ae53c87f8bb378e3f825ae.json | 143 ++++++++++++++++++ doctrine.doctrine-bundle.2.12.json | 8 +- index.json | 4 +- 3 files changed, 147 insertions(+), 8 deletions(-) create mode 100644 archived/doctrine.doctrine-bundle/7266981c201efbbe02ae53c87f8bb378e3f825ae.json diff --git a/archived/doctrine.doctrine-bundle/7266981c201efbbe02ae53c87f8bb378e3f825ae.json b/archived/doctrine.doctrine-bundle/7266981c201efbbe02ae53c87f8bb378e3f825ae.json new file mode 100644 index 00000000..9c6572dc --- /dev/null +++ b/archived/doctrine.doctrine-bundle/7266981c201efbbe02ae53c87f8bb378e3f825ae.json @@ -0,0 +1,143 @@ +{ + "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=16&charset=utf8" + }, + "dockerfile": [ + "RUN install-php-extensions pdo_pgsql" + ], + "docker-compose": { + "docker-compose.yml": { + "services": [ + "database:", + " image: postgres:${POSTGRES_VERSION:-16}-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}", + " healthcheck:", + " test: [\"CMD\", \"pg_isready\", \"-d\", \"${POSTGRES_DB:-app}\", \"-U\", \"${POSTGRES_USER:-app}\"]", + " timeout: 5s", + " retries: 5", + " start_period: 60s", + " 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": { + "symfony/framework-bundle": "<7.1" + }, + "post-install-output": [ + " * Modify your DATABASE_URL config in .env", + "", + " * Configure the driver (postgresql) and", + " server_version (16) 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: '16'", + "", + " profiling_collect_backtrace: '%kernel.debug%'", + " use_savepoints: true", + " 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:", + " type: attribute", + " is_bundle: false", + " dir: '%kernel.project_dir%/src/Entity'", + " prefix: 'App\\Entity'", + " alias: App", + " controller_resolver:", + " auto_mapping: false", + "", + "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": "7266981c201efbbe02ae53c87f8bb378e3f825ae" + } + } +} diff --git a/doctrine.doctrine-bundle.2.12.json b/doctrine.doctrine-bundle.2.12.json index 65d1360c..9c6572dc 100644 --- a/doctrine.doctrine-bundle.2.12.json +++ b/doctrine.doctrine-bundle.2.12.json @@ -56,9 +56,7 @@ } }, "conflict": { - "doctrine/orm": "<2.14", - "symfony/dependency-injection": "<6.2", - "symfony/framework-bundle": "<5.3" + "symfony/framework-bundle": "<7.1" }, "post-install-output": [ " * Modify your DATABASE_URL config in .env", @@ -95,7 +93,7 @@ " prefix: 'App\\Entity'", " alias: App", " controller_resolver:", - " auto_mapping: true", + " auto_mapping: false", "", "when@test:", " doctrine:", @@ -139,7 +137,7 @@ "executable": false } }, - "ref": "7b1b0b637b337f6beb895589948cd119da705524" + "ref": "7266981c201efbbe02ae53c87f8bb378e3f825ae" } } } diff --git a/index.json b/index.json index a17c8599..6d463199 100644 --- a/index.json +++ b/index.json @@ -1135,9 +1135,7 @@ "symfony/framework-bundle": "<5.3" }, "2.12": { - "doctrine/orm": "<2.14", - "symfony/dependency-injection": "<6.2", - "symfony/framework-bundle": "<5.3" + "symfony/framework-bundle": "<7.1" } }, "hautelook/alice-bundle": {