Issue #3266092: Make sure staging root is unique for each Drupal site
Compare changes
Files
7+ 24
− 6
@@ -5,6 +5,7 @@ namespace Drupal\package_manager;
@@ -5,6 +5,7 @@ namespace Drupal\package_manager;
@@ -66,6 +67,13 @@ class Stage {
@@ -66,6 +67,13 @@ class Stage {
@@ -134,6 +142,8 @@ class Stage {
@@ -134,6 +142,8 @@ class Stage {
@@ -151,7 +161,8 @@ class Stage {
@@ -151,7 +161,8 @@ class Stage {
public function __construct(PathLocator $path_locator, BeginnerInterface $beginner, StagerInterface $stager, CommitterInterface $committer, FileSystemInterface $file_system, EventDispatcherInterface $event_dispatcher, SharedTempStoreFactory $shared_tempstore, TimeInterface $time) {
public function __construct(ConfigFactoryInterface $config_factory, PathLocator $path_locator, BeginnerInterface $beginner, StagerInterface $stager, CommitterInterface $committer, FileSystemInterface $file_system, EventDispatcherInterface $event_dispatcher, SharedTempStoreFactory $shared_tempstore, TimeInterface $time) {
@@ -498,25 +509,32 @@ class Stage {
@@ -498,25 +509,32 @@ class Stage {
throw new \LogicException(__METHOD__ . '() cannot be called because the stage has not been created or claimed.');