diff --git a/composer.json b/composer.json index db5f72ef8139c2bda1cdbde554b6c37c3a4edd60..c75052d1523fba5da940a4b5c597ab3122661d3b 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ "require": { "ext-json": "*", "drupal/core": "^9.3", - "php-tuf/composer-stager": "^1@beta", + "php-tuf/composer-stager": "1.0.0-beta2", "composer/composer": "^2.2.12 || ^2.3.5", "composer-runtime-api": "^2.0.9" }, diff --git a/package_manager/package_manager.services.yml b/package_manager/package_manager.services.yml index 96b7393823a60b2011cef080f6437fbc5f38a6bb..b3b7d6ef4de79630481dacea05c3248d6118160b 100644 --- a/package_manager/package_manager.services.yml +++ b/package_manager/package_manager.services.yml @@ -22,6 +22,9 @@ services: PhpTuf\ComposerStager\Infrastructure\Factory\Path\PathFactory: autowire: true public: false + PhpTuf\ComposerStager\Infrastructure\Service\Finder\RecursiveFileFinder: + autowire: true + public: false PhpTuf\ComposerStager\Infrastructure\Factory\Process\ProcessFactoryInterface: alias: 'Drupal\package_manager\ProcessFactory' PhpTuf\ComposerStager\Domain\Service\Filesystem\FilesystemInterface: @@ -30,6 +33,8 @@ services: alias: 'Drupal\package_manager\ExecutableFinder' PhpTuf\ComposerStager\Infrastructure\Factory\Path\PathFactoryInterface: alias: 'PhpTuf\ComposerStager\Infrastructure\Factory\Path\PathFactory' + PhpTuf\ComposerStager\Infrastructure\Service\Finder\RecursiveFileFinderInterface: + alias: 'PhpTuf\ComposerStager\Infrastructure\Service\Finder\RecursiveFileFinder' # Executable runners for Composer Stager. PhpTuf\ComposerStager\Infrastructure\Service\ProcessRunner\RsyncRunner: @@ -93,6 +98,9 @@ services: PhpTuf\ComposerStager\Infrastructure\Service\Precondition\StagingDirDoesNotExist: autowire: true public: false + PhpTuf\ComposerStager\Infrastructure\Service\Precondition\CodeBaseContainsNoSymlinks: + autowire: true + public: false PhpTuf\ComposerStager\Domain\Aggregate\PreconditionsTree\CommitterPreconditionsInterface: alias: 'PhpTuf\ComposerStager\Infrastructure\Aggregate\PreconditionsTree\CommitterPreconditions' PhpTuf\ComposerStager\Domain\Aggregate\PreconditionsTree\BeginnerPreconditionsInterface: @@ -117,6 +125,8 @@ services: alias: 'PhpTuf\ComposerStager\Infrastructure\Service\Precondition\StagingDirIsWritable' PhpTuf\ComposerStager\Domain\Service\Precondition\StagingDirDoesNotExistInterface: alias: 'PhpTuf\ComposerStager\Infrastructure\Service\Precondition\StagingDirDoesNotExist' + PhpTuf\ComposerStager\Domain\Service\Precondition\CodebaseContainsNoSymlinksInterface: + alias: 'PhpTuf\ComposerStager\Infrastructure\Service\Precondition\CodeBaseContainsNoSymlinks' # Services provided to Drupal by Package Manager. package_manager.beginner: