wexample-wex-addon-dev-php 12.23.1__tar.gz → 12.23.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/PKG-INFO +5 -5
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/README.md +1 -1
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/pyproject.toml +4 -4
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/deployment/step/symfony_env_local_deployment_step.py +36 -13
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/file/php_composer_json_file.py +11 -5
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/composer/commands/service/install_local.py +2 -6
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/composer/commands/service/refresh_lock.py +1 -3
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/symfony/commands/service/deploy.py +1 -3
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/symfony/commands/translations/translate.py +1 -3
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/workdir/php_package_workdir.py +37 -19
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/workdir/php_symfony_workdir.py +11 -6
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/workdir/php_workdir.py +9 -3
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/tests/file/test_php_composer_json_registry_versions.py +3 -1
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/tests/workdir/test_php_package_workdir.py +1 -3
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/__init__.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/common/__init__.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/common/packagist_registry_gateway.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/config_value/__init__.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/config_value/php_package_readme_config_value.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/const/__init__.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/const/tags.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/deployment/__init__.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/deployment/step/__init__.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/file/__init__.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/formatter/__init__.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/formatter/php_code_formatter.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/php_addon_manager.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/py.typed +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/resources/.wex.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/resources/design_rules/php_code.md +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/resources/docker/Dockerfile.roave +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/resources/package_gitlab_ci.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/resources/writing_rules/php_code.md +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/__init__.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/composer/__init__.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/composer/commands/__init__.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/composer/commands/service/__init__.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/composer/docker/.wex.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/composer/docker/docker-compose.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/composer/service.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/frankenphp/__init__.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/frankenphp/docker/.wex.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/frankenphp/docker/docker-compose.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/frankenphp/samples/.wex.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/frankenphp/samples/caddy/.wex.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/frankenphp/samples/caddy/Caddyfile +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/frankenphp/samples/docker/.wex.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/frankenphp/samples/docker/docker-compose.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/frankenphp/samples/env/dev/docker/.wex.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/frankenphp/samples/env/dev/docker/docker-compose.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/frankenphp/samples/env/local/docker/.wex.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/frankenphp/samples/env/local/docker/docker-compose.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/frankenphp/samples/env/prod/docker/.wex.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/frankenphp/samples/env/prod/docker/docker-compose.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/frankenphp/samples/php/.wex.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/frankenphp/samples/php/web.ini +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/frankenphp/service.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/laravel/__init__.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/laravel/app_service.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/laravel/commands/__init__.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/laravel/commands/db/__init__.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/laravel/commands/db/migrate.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/laravel/commands/maintenance/__init__.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/laravel/commands/maintenance/disable.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/laravel/commands/maintenance/enable.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/laravel/commands/service/__init__.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/laravel/commands/service/install_local.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/laravel/commands/service/refresh_lock.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/laravel/docker/.wex.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/laravel/docker/docker-compose.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/laravel/samples/.wex.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/laravel/samples/docker/docker-compose.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/laravel/samples/env/dev/docker/docker-compose.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/laravel/samples/env/prod/docker/docker-compose.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/laravel/service.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/php/__init__.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/php/ai/__init__.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/php/ai/shared/__init__.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/php/ai/shared/context.j2 +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/php/ai/shared/php.j2 +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/php/docker/.wex.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/php/docker/docker-compose.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/php/samples/.wex.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/php/samples/caddy/.wex.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/php/samples/caddy/Caddyfile +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/php/samples/docker/.wex.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/php/samples/docker/docker-compose.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/php/samples/env/dev/docker/.wex.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/php/samples/env/dev/docker/docker-compose.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/php/samples/env/local/docker/.wex.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/php/samples/env/local/docker/docker-compose.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/php/samples/env/prod/docker/.wex.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/php/samples/env/prod/docker/docker-compose.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/php/samples/php/.wex.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/php/samples/php/web.ini +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/php/service.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/phpmyadmin/__init__.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/phpmyadmin/commands/__init__.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/phpmyadmin/commands/runtime/__init__.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/phpmyadmin/docker/.wex.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/phpmyadmin/docker/docker-compose.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/phpmyadmin/env/.wex.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/phpmyadmin/env/local/docker/docker-compose.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/phpmyadmin/service.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/symfony/__init__.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/symfony/ai/__init__.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/symfony/ai/agents/__init__.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/symfony/ai/agents/editor/__init__.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/symfony/ai/agents/editor/agent.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/symfony/ai/agents/editor/context.j2 +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/symfony/ai/shared/__init__.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/symfony/ai/shared/context.j2 +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/symfony/app_service.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/symfony/commands/__init__.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/symfony/commands/service/__init__.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/symfony/commands/service/install_local.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/symfony/commands/service/watch.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/symfony/commands/translations/__init__.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/symfony/docker/.wex.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/symfony/docker/docker-compose.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/symfony/knowledge/__init__.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/symfony/knowledge/entity.md +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/symfony/samples/.wex.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/symfony/samples/docker/.wex.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/symfony/samples/docker/docker-compose.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/symfony/samples/docker/env.build +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/symfony/samples/docker/images/.wex.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/symfony/samples/docker/images/Dockerfile.dev +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/symfony/samples/docker/images/Dockerfile.release +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/symfony/samples/env/dev/docker/.wex.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/symfony/samples/env/dev/docker/docker-compose.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/symfony/samples/env/local/docker/.wex.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/symfony/samples/env/local/docker/docker-compose.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/symfony/samples/env/prod/docker/.wex.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/symfony/samples/env/prod/docker/docker-compose.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/symfony/service.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/wordpress/__init__.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/wordpress/commands/__init__.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/wordpress/commands/service/__init__.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/wordpress/commands/url/__init__.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/wordpress/commands/url/replace.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/wordpress/docker/.wex.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/wordpress/docker/docker-compose.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/wordpress/samples/.wex.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/wordpress/samples/docker/docker-compose-cli.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/wordpress/samples/docker/docker-compose.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/wordpress/samples/env/dev/docker/docker-compose.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/wordpress/samples/env/local/wp-cli/.gitkeep +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/wordpress/samples/env/prod/docker/docker-compose.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/services/wordpress/service.yml +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/workdir/__init__.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/src/wexample_wex_addon_dev_php/workdir/php_packages_suite_workdir.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/tests/.gitkeep +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/tests/file/__init__.py +0 -0
- {wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/tests/workdir/__init__.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: wexample-wex-addon-dev-php
|
|
3
|
-
Version: 12.23.
|
|
3
|
+
Version: 12.23.2
|
|
4
4
|
Summary: Extends wex with PHP-specific development commands for Composer, Laravel, Symfony, and WordPress services running in Docker containers
|
|
5
5
|
Author-Email: weeger <contact@wexample.com>
|
|
6
6
|
License: MIT
|
|
@@ -11,10 +11,10 @@ Project-URL: homepage, https://github.com/wexample/python-wex-dev-python
|
|
|
11
11
|
Requires-Python: >=3.10
|
|
12
12
|
Requires-Dist: attrs>=23.1.0
|
|
13
13
|
Requires-Dist: cattrs>=23.1.0
|
|
14
|
-
Requires-Dist: wexample-filestate-php>=6.
|
|
15
|
-
Requires-Dist: wexample-filestate-symfony>=2.
|
|
14
|
+
Requires-Dist: wexample-filestate-php>=6.6.0
|
|
15
|
+
Requires-Dist: wexample-filestate-symfony>=2.4.0
|
|
16
16
|
Requires-Dist: wexample-wex-addon-ai>=19.1.0
|
|
17
|
-
Requires-Dist: wexample-wex-addon-app>=
|
|
17
|
+
Requires-Dist: wexample-wex-addon-app>=35.0.0
|
|
18
18
|
Requires-Dist: wexample-wex-addon-dev-javascript>=8.13.0
|
|
19
19
|
Provides-Extra: dev
|
|
20
20
|
Requires-Dist: pytest; extra == "dev"
|
|
@@ -23,7 +23,7 @@ Description-Content-Type: text/markdown
|
|
|
23
23
|
|
|
24
24
|
# wex_addon_dev_php
|
|
25
25
|
|
|
26
|
-
Version: 12.23.
|
|
26
|
+
Version: 12.23.2
|
|
27
27
|
|
|
28
28
|
Extends wex with PHP-specific development commands for Composer, Laravel, Symfony, and WordPress services running in Docker containers
|
|
29
29
|
|
|
@@ -6,7 +6,7 @@ build-backend = "pdm.backend"
|
|
|
6
6
|
|
|
7
7
|
[project]
|
|
8
8
|
name = "wexample-wex-addon-dev-php"
|
|
9
|
-
version = "12.23.
|
|
9
|
+
version = "12.23.2"
|
|
10
10
|
description = "Extends wex with PHP-specific development commands for Composer, Laravel, Symfony, and WordPress services running in Docker containers"
|
|
11
11
|
authors = [
|
|
12
12
|
{ name = "weeger", email = "contact@wexample.com" },
|
|
@@ -20,10 +20,10 @@ classifiers = [
|
|
|
20
20
|
dependencies = [
|
|
21
21
|
"attrs>=23.1.0",
|
|
22
22
|
"cattrs>=23.1.0",
|
|
23
|
-
"wexample-filestate-php>=6.
|
|
24
|
-
"wexample-filestate-symfony>=2.
|
|
23
|
+
"wexample-filestate-php>=6.6.0",
|
|
24
|
+
"wexample-filestate-symfony>=2.4.0",
|
|
25
25
|
"wexample-wex-addon-ai>=19.1.0",
|
|
26
|
-
"wexample-wex-addon-app>=
|
|
26
|
+
"wexample-wex-addon-app>=35.0.0",
|
|
27
27
|
"wexample-wex-addon-dev-javascript>=8.13.0",
|
|
28
28
|
]
|
|
29
29
|
|
|
@@ -192,15 +192,22 @@ class SymfonyEnvLocalDeploymentStep(AbstractDeploymentStep):
|
|
|
192
192
|
f"Writing {path} on {remote['host']} failed: {result.stderr.strip()[:300]}"
|
|
193
193
|
)
|
|
194
194
|
|
|
195
|
-
made =
|
|
195
|
+
made = (
|
|
196
|
+
f", generated {', '.join(generated)} (kept there, not shown)"
|
|
197
|
+
if generated
|
|
198
|
+
else ""
|
|
199
|
+
)
|
|
196
200
|
empty = [key for key, value in values.items() if not value]
|
|
197
201
|
copied = [
|
|
198
|
-
key
|
|
199
|
-
|
|
202
|
+
key
|
|
203
|
+
for key, value in values.items()
|
|
204
|
+
if value
|
|
205
|
+
and key not in generated
|
|
206
|
+
and value == self._local_values(workdir).get(key)
|
|
200
207
|
]
|
|
201
|
-
rest = (
|
|
202
|
-
f"
|
|
203
|
-
)
|
|
208
|
+
rest = (
|
|
209
|
+
f" Copied as they are locally: {', '.join(copied)}." if copied else ""
|
|
210
|
+
) + (f" Left empty: {', '.join(empty)}." if empty else "")
|
|
204
211
|
return f"Wrote {path} on {remote['host']}{made}.{rest}"
|
|
205
212
|
|
|
206
213
|
def can_apply(self, workdir: ManagedWorkdir, remote: ResolvedRemote | None) -> bool:
|
|
@@ -209,10 +216,15 @@ class SymfonyEnvLocalDeploymentStep(AbstractDeploymentStep):
|
|
|
209
216
|
# Written when there is none, never over one: an existing file is the host's,
|
|
210
217
|
# only its rights are put right.
|
|
211
218
|
if self._exists(remote):
|
|
212
|
-
return
|
|
219
|
+
return (
|
|
220
|
+
host_secret_file_unsealed(remote, f"{remote['path']}/.env.local")
|
|
221
|
+
is not None
|
|
222
|
+
)
|
|
213
223
|
return self._host_keys(remote) == set()
|
|
214
224
|
|
|
215
|
-
def check(
|
|
225
|
+
def check(
|
|
226
|
+
self, workdir: ManagedWorkdir, remote: ResolvedRemote | None
|
|
227
|
+
) -> tuple[str, str]:
|
|
216
228
|
present = self._host_keys(remote)
|
|
217
229
|
if present is None:
|
|
218
230
|
return DEPLOYMENT_STATUS_UNKNOWN, "could not read it"
|
|
@@ -222,7 +234,10 @@ class SymfonyEnvLocalDeploymentStep(AbstractDeploymentStep):
|
|
|
222
234
|
|
|
223
235
|
unsealed = host_secret_file_unsealed(remote, f"{remote['path']}/.env.local")
|
|
224
236
|
if unsealed:
|
|
225
|
-
return
|
|
237
|
+
return (
|
|
238
|
+
DEPLOYMENT_STATUS_KO,
|
|
239
|
+
f"the app's commands cannot read it ({unsealed})",
|
|
240
|
+
)
|
|
226
241
|
missing = [key for key in self._needed(workdir) if key not in present]
|
|
227
242
|
if missing:
|
|
228
243
|
return DEPLOYMENT_STATUS_KO, f"no value for {', '.join(missing)}"
|
|
@@ -232,7 +247,9 @@ class SymfonyEnvLocalDeploymentStep(AbstractDeploymentStep):
|
|
|
232
247
|
from wexample_wex_addon_app.helper.deployment import host_secret_file_unsealed
|
|
233
248
|
|
|
234
249
|
if host_secret_file_unsealed(remote, f"{remote['path']}/.env.local"):
|
|
235
|
-
return
|
|
250
|
+
return (
|
|
251
|
+
"Run `wex app::release/setup` to make it readable by the docker group."
|
|
252
|
+
)
|
|
236
253
|
present = self._host_keys(remote) or set()
|
|
237
254
|
missing = [key for key in self._needed(workdir) if key not in present]
|
|
238
255
|
return (
|
|
@@ -262,7 +279,9 @@ class SymfonyEnvLocalDeploymentStep(AbstractDeploymentStep):
|
|
|
262
279
|
replacements[str(value)] = "${" + key + "}"
|
|
263
280
|
domain = workdir.get_config().search("domain").get_str_or_none()
|
|
264
281
|
env_domain = (
|
|
265
|
-
workdir.get_config(env_name=remote["env"])
|
|
282
|
+
workdir.get_config(env_name=remote["env"])
|
|
283
|
+
.search("domain")
|
|
284
|
+
.get_str_or_none()
|
|
266
285
|
)
|
|
267
286
|
if domain and env_domain:
|
|
268
287
|
replacements[domain] = env_domain
|
|
@@ -283,7 +302,9 @@ class SymfonyEnvLocalDeploymentStep(AbstractDeploymentStep):
|
|
|
283
302
|
referenced: set[str] = set()
|
|
284
303
|
defaulted: set[str] = set()
|
|
285
304
|
for path in config.rglob("*.yaml"):
|
|
286
|
-
if any(
|
|
305
|
+
if any(
|
|
306
|
+
part in NOT_DEPLOYED_ENVS for part in path.relative_to(config).parts
|
|
307
|
+
):
|
|
287
308
|
continue
|
|
288
309
|
content = _without_env_blocks(path.read_text(encoding="utf-8"))
|
|
289
310
|
for match in re.finditer(r"%env\(([^)]+)\)%", content):
|
|
@@ -292,7 +313,9 @@ class SymfonyEnvLocalDeploymentStep(AbstractDeploymentStep):
|
|
|
292
313
|
if "default:" not in f"{processors}:":
|
|
293
314
|
referenced.add(key)
|
|
294
315
|
# A parameter `env(KEY): value` is the value the app falls back on.
|
|
295
|
-
defaulted.update(
|
|
316
|
+
defaulted.update(
|
|
317
|
+
re.findall(r"^\s+env\(([A-Za-z_][A-Za-z0-9_]*)\)\s*:", content, re.M)
|
|
318
|
+
)
|
|
296
319
|
built = self._build_env_keys(workdir)
|
|
297
320
|
needed = {
|
|
298
321
|
key for key in referenced if key not in built and key not in defaulted
|
|
@@ -92,9 +92,9 @@ class PhpComposerJsonFile(AppDependenciesConfigFileMixin, JsonFile):
|
|
|
92
92
|
config.search("php.gitlab_registry.url").get_str_or_none(),
|
|
93
93
|
*(
|
|
94
94
|
entry.get_str()
|
|
95
|
-
for entry in config.search(
|
|
96
|
-
|
|
97
|
-
)
|
|
95
|
+
for entry in config.search(
|
|
96
|
+
"php.gitlab_registries"
|
|
97
|
+
).get_list_or_default(default=[])
|
|
98
98
|
),
|
|
99
99
|
]
|
|
100
100
|
if url
|
|
@@ -104,7 +104,9 @@ class PhpComposerJsonFile(AppDependenciesConfigFileMixin, JsonFile):
|
|
|
104
104
|
if not isinstance(repositories, list):
|
|
105
105
|
repositories = list((repositories or {}).values())
|
|
106
106
|
declared = {
|
|
107
|
-
entry.get("url")
|
|
107
|
+
entry.get("url")
|
|
108
|
+
for entry in repositories
|
|
109
|
+
if isinstance(entry, dict)
|
|
108
110
|
}
|
|
109
111
|
for index, url in enumerate(registries):
|
|
110
112
|
if url not in declared:
|
|
@@ -172,9 +174,13 @@ class PhpComposerJsonFile(AppDependenciesConfigFileMixin, JsonFile):
|
|
|
172
174
|
|
|
173
175
|
names = [
|
|
174
176
|
name
|
|
175
|
-
for name in {
|
|
177
|
+
for name in {
|
|
178
|
+
**self.get_dependencies_versions(),
|
|
179
|
+
**self.get_dev_dependencies_versions(),
|
|
180
|
+
}
|
|
176
181
|
if "/" in name
|
|
177
182
|
]
|
|
183
|
+
|
|
178
184
|
def latest(name: str) -> str | None:
|
|
179
185
|
for registry in registries:
|
|
180
186
|
try:
|
|
@@ -51,9 +51,7 @@ def composer__service__install_local(
|
|
|
51
51
|
``service`` so the work runs inside their container, then append their
|
|
52
52
|
framework-specific steps (cache clears…).
|
|
53
53
|
"""
|
|
54
|
-
php_packages = service.app_workdir.get_runtime_config().search(
|
|
55
|
-
"local_packages.php"
|
|
56
|
-
)
|
|
54
|
+
php_packages = service.app_workdir.get_runtime_config().search("local_packages.php")
|
|
57
55
|
if php_packages.is_none():
|
|
58
56
|
context.io.log("No local_packages.php configured, nothing to wire.")
|
|
59
57
|
return
|
|
@@ -95,7 +93,5 @@ done
|
|
|
95
93
|
"""
|
|
96
94
|
|
|
97
95
|
context.io.log(f"Wiring local composer packages ({vendors}) into vendor/…")
|
|
98
|
-
output = service.addon_manager.docker_exec(
|
|
99
|
-
service.name, ["/bin/sh", "-c", script]
|
|
100
|
-
)
|
|
96
|
+
output = service.addon_manager.docker_exec(service.name, ["/bin/sh", "-c", script])
|
|
101
97
|
context.io.log(output)
|
|
@@ -19,9 +19,7 @@ if TYPE_CHECKING:
|
|
|
19
19
|
|
|
20
20
|
# The image composer runs from when the app is not running: the one the
|
|
21
21
|
# package pipelines test with (ci-cd, COMPOSER_PACKAGE_IMAGE).
|
|
22
|
-
COMPOSER_LOCK_IMAGE =
|
|
23
|
-
"gitlab-docker.wexample.com/wexample-public/docker/frankenphp:1.13.0-php8.5.11-build"
|
|
24
|
-
)
|
|
22
|
+
COMPOSER_LOCK_IMAGE = "gitlab-docker.wexample.com/wexample-public/docker/frankenphp:1.13.0-php8.5.11-build"
|
|
25
23
|
|
|
26
24
|
|
|
27
25
|
@option(
|
|
@@ -48,7 +48,5 @@ else
|
|
|
48
48
|
echo "No migrations/ directory, skipping."
|
|
49
49
|
fi
|
|
50
50
|
"""
|
|
51
|
-
output = service.addon_manager.docker_exec(
|
|
52
|
-
service.name, ["/bin/sh", "-c", script]
|
|
53
|
-
)
|
|
51
|
+
output = service.addon_manager.docker_exec(service.name, ["/bin/sh", "-c", script])
|
|
54
52
|
context.io.log(output)
|
|
@@ -66,9 +66,7 @@ def symfony__translations__translate(
|
|
|
66
66
|
InteractiveShellCommandResponse,
|
|
67
67
|
)
|
|
68
68
|
|
|
69
|
-
container = service.addon_manager.get_service_docker_container_name(
|
|
70
|
-
service.name
|
|
71
|
-
)
|
|
69
|
+
container = service.addon_manager.get_service_docker_container_name(service.name)
|
|
72
70
|
if not container:
|
|
73
71
|
raise RuntimeError(f"No Docker container found for service '{service.name}'")
|
|
74
72
|
|
|
@@ -49,6 +49,7 @@ class PhpPackageWorkdir(WithRunnerWorkdirMixin, PhpWorkdir):
|
|
|
49
49
|
return self.search_app_or_suite_runtime_config(
|
|
50
50
|
"php.gitlab_registry.url", default=None
|
|
51
51
|
).get_str_or_none()
|
|
52
|
+
|
|
52
53
|
def get_package_import_name(self) -> str:
|
|
53
54
|
"""Get the full package import name with vendor prefix."""
|
|
54
55
|
return f"{string_to_pascal_case(self.get_vendor_name())}\\{string_to_pascal_case(self.get_project_name())}"
|
|
@@ -176,11 +177,7 @@ class PhpPackageWorkdir(WithRunnerWorkdirMixin, PhpWorkdir):
|
|
|
176
177
|
|
|
177
178
|
try:
|
|
178
179
|
runners = self.get_runners()
|
|
179
|
-
package_rel = str(
|
|
180
|
-
path
|
|
181
|
-
.resolve()
|
|
182
|
-
.relative_to(runners["roave"].mount_path)
|
|
183
|
-
)
|
|
180
|
+
package_rel = str(path.resolve().relative_to(runners["roave"].mount_path))
|
|
184
181
|
|
|
185
182
|
self.log(f"Running roave backward compatibility check from {last_tag}...")
|
|
186
183
|
result = self.runner_exec(
|
|
@@ -310,11 +307,20 @@ class PhpPackageWorkdir(WithRunnerWorkdirMixin, PhpWorkdir):
|
|
|
310
307
|
# A new volume belongs to root; the tests run as the user.
|
|
311
308
|
self.shell_run_for_app(
|
|
312
309
|
cmd=[
|
|
313
|
-
"docker",
|
|
314
|
-
"
|
|
315
|
-
"
|
|
310
|
+
"docker",
|
|
311
|
+
"run",
|
|
312
|
+
"--rm",
|
|
313
|
+
"--user",
|
|
314
|
+
"0",
|
|
315
|
+
"-v",
|
|
316
|
+
f"{vendor_volume}:/vendor",
|
|
317
|
+
"-v",
|
|
318
|
+
f"{cache_volume}:/cache",
|
|
316
319
|
runner.image_name,
|
|
317
|
-
"chown",
|
|
320
|
+
"chown",
|
|
321
|
+
user,
|
|
322
|
+
"/vendor",
|
|
323
|
+
"/cache",
|
|
318
324
|
]
|
|
319
325
|
)
|
|
320
326
|
|
|
@@ -337,16 +343,29 @@ class PhpPackageWorkdir(WithRunnerWorkdirMixin, PhpWorkdir):
|
|
|
337
343
|
)
|
|
338
344
|
self.shell_run_for_app(
|
|
339
345
|
cmd=[
|
|
340
|
-
"docker",
|
|
341
|
-
"
|
|
342
|
-
"
|
|
343
|
-
"
|
|
344
|
-
|
|
345
|
-
"-
|
|
346
|
-
"
|
|
347
|
-
"-
|
|
346
|
+
"docker",
|
|
347
|
+
"run",
|
|
348
|
+
"--rm",
|
|
349
|
+
"--user",
|
|
350
|
+
user,
|
|
351
|
+
"-e",
|
|
352
|
+
"HOME=/tmp",
|
|
353
|
+
"-e",
|
|
354
|
+
"COMPOSER_HOME=/tmp/composer",
|
|
355
|
+
"-e",
|
|
356
|
+
"COMPOSER_CACHE_DIR=/cache",
|
|
357
|
+
"-v",
|
|
358
|
+
f"{path.parent}:{packages_dir}",
|
|
359
|
+
"-v",
|
|
360
|
+
f"{vendor_volume}:{package_dir}/vendor",
|
|
361
|
+
"-v",
|
|
362
|
+
f"{cache_volume}:/cache",
|
|
363
|
+
"-w",
|
|
364
|
+
package_dir,
|
|
348
365
|
runner.image_name,
|
|
349
|
-
"sh",
|
|
366
|
+
"sh",
|
|
367
|
+
"-c",
|
|
368
|
+
script,
|
|
350
369
|
]
|
|
351
370
|
)
|
|
352
371
|
|
|
@@ -415,4 +434,3 @@ class PhpPackageWorkdir(WithRunnerWorkdirMixin, PhpWorkdir):
|
|
|
415
434
|
).run()
|
|
416
435
|
|
|
417
436
|
self.success(f"{package} {version} is available.")
|
|
418
|
-
|
|
@@ -56,6 +56,7 @@ class PhpSymfonyWorkdir(PhpWorkdir):
|
|
|
56
56
|
)
|
|
57
57
|
|
|
58
58
|
return roots
|
|
59
|
+
|
|
59
60
|
def get_options_providers(self) -> list[type[AbstractOptionsProvider]]:
|
|
60
61
|
from wexample_filestate_symfony.options_provider.symfony_options_provider import (
|
|
61
62
|
SymfonyOptionsProvider,
|
|
@@ -297,7 +298,9 @@ class PhpSymfonyWorkdir(PhpWorkdir):
|
|
|
297
298
|
{
|
|
298
299
|
api_version_directory(version)
|
|
299
300
|
for path in (self.get_path() / "src" / "Entity").glob("*.php")
|
|
300
|
-
if (
|
|
301
|
+
if (
|
|
302
|
+
version := entity_attribute_argument(path, "ApiEndpoint", "version")
|
|
303
|
+
)
|
|
301
304
|
is not None
|
|
302
305
|
}
|
|
303
306
|
| {
|
|
@@ -477,7 +480,9 @@ class PhpSymfonyWorkdir(PhpWorkdir):
|
|
|
477
480
|
# A form already written is swept beside; declaring it
|
|
478
481
|
# here too would build two items for the one path.
|
|
479
482
|
filter=lambda path: _declares_form(path)
|
|
480
|
-
and not (
|
|
483
|
+
and not (
|
|
484
|
+
src_path / "Form" / f"{_form_stem(path)}.php"
|
|
485
|
+
).exists(),
|
|
481
486
|
),
|
|
482
487
|
],
|
|
483
488
|
},
|
|
@@ -545,9 +550,7 @@ class PhpSymfonyWorkdir(PhpWorkdir):
|
|
|
545
550
|
|
|
546
551
|
def _form_filename(extension: str):
|
|
547
552
|
return lambda path: (
|
|
548
|
-
string_to_snake_case(
|
|
549
|
-
f"{entity_form_class_prefix(path)}{path.stem}Form"
|
|
550
|
-
)
|
|
553
|
+
string_to_snake_case(f"{entity_form_class_prefix(path)}{path.stem}Form")
|
|
551
554
|
+ f".{extension}"
|
|
552
555
|
)
|
|
553
556
|
|
|
@@ -587,7 +590,9 @@ class PhpSymfonyWorkdir(PhpWorkdir):
|
|
|
587
590
|
"children": [
|
|
588
591
|
SidecarDirOfOption(
|
|
589
592
|
primary=entity_dir,
|
|
590
|
-
dirname=lambda path: string_to_snake_case(
|
|
593
|
+
dirname=lambda path: string_to_snake_case(
|
|
594
|
+
path.stem
|
|
595
|
+
),
|
|
591
596
|
files=[
|
|
592
597
|
{
|
|
593
598
|
"filename": "edit.en.yml",
|
|
@@ -92,7 +92,9 @@ class PhpWorkdir(WithAiWorkdirMixin, CodeBaseWorkdir):
|
|
|
92
92
|
# instance). And only real PHPUnit test classes count; the tests/
|
|
93
93
|
# directory itself may be empty scaffolding.
|
|
94
94
|
path = self.get_path()
|
|
95
|
-
if not any(
|
|
95
|
+
if not any(
|
|
96
|
+
(path / name).is_file() for name in ("phpunit.xml", "phpunit.xml.dist")
|
|
97
|
+
):
|
|
96
98
|
return False
|
|
97
99
|
tests_path = path / "tests"
|
|
98
100
|
if not tests_path.is_dir():
|
|
@@ -158,11 +160,15 @@ class PhpWorkdir(WithAiWorkdirMixin, CodeBaseWorkdir):
|
|
|
158
160
|
if config.search("npm.gitlab_registry.url").get_str_or_none():
|
|
159
161
|
npm_registries.append(
|
|
160
162
|
(
|
|
161
|
-
config.search("npm.gitlab_registry.scope").get_str_or_default(
|
|
163
|
+
config.search("npm.gitlab_registry.scope").get_str_or_default(
|
|
164
|
+
"@wexample"
|
|
165
|
+
),
|
|
162
166
|
config.search("npm.gitlab_registry.url").get_str(),
|
|
163
167
|
)
|
|
164
168
|
)
|
|
165
|
-
for entry in config.search("npm.gitlab_registries").get_list_or_default(
|
|
169
|
+
for entry in config.search("npm.gitlab_registries").get_list_or_default(
|
|
170
|
+
default=[]
|
|
171
|
+
):
|
|
166
172
|
entry = entry.to_dict()
|
|
167
173
|
npm_registries.append((entry["scope"], entry["url"]))
|
|
168
174
|
if npm_registries:
|
|
@@ -41,7 +41,9 @@ def test_the_latest_stable_version_of_each_served_package() -> None:
|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
def _manifest(repositories: list | None) -> SimpleNamespace:
|
|
44
|
-
content = {
|
|
44
|
+
content = {
|
|
45
|
+
"require": {"php": ">=8.5", "acme/date": ">=2.0.0", "symfony/console": "^8.0"}
|
|
46
|
+
}
|
|
45
47
|
if repositories is not None:
|
|
46
48
|
content["repositories"] = repositories
|
|
47
49
|
return SimpleNamespace(
|
|
@@ -4,9 +4,7 @@ import pytest
|
|
|
4
4
|
|
|
5
5
|
# The line that set this off: an `@deprecated` note naming the class that replaces
|
|
6
6
|
# this one. Verbatim from symfony-helpers' SystemParameter.php.
|
|
7
|
-
DEPRECATION_NOTE =
|
|
8
|
-
" * @deprecated use `Wexample\\SymfonyPlatform\\Entity\\Configuration`, which holds a"
|
|
9
|
-
)
|
|
7
|
+
DEPRECATION_NOTE = " * @deprecated use `Wexample\\SymfonyPlatform\\Entity\\Configuration`, which holds a"
|
|
10
8
|
|
|
11
9
|
|
|
12
10
|
def test_a_docblock_body_is_a_comment() -> None:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/tests/file/__init__.py
RENAMED
|
File without changes
|
{wexample_wex_addon_dev_php-12.23.1 → wexample_wex_addon_dev_php-12.23.2}/tests/workdir/__init__.py
RENAMED
|
File without changes
|