Skip to content

Commit

Permalink
Remove deprecated code.
Browse files Browse the repository at this point in the history
This code is no longer needed now that we're using a 3rd party library for
parallel execution of commands.
  • Loading branch information
jigarius committed Sep 21, 2022
1 parent 046c502 commit 1389803
Show file tree
Hide file tree
Showing 24 changed files with 2 additions and 1,161 deletions.
5 changes: 0 additions & 5 deletions src/Commands/BaseExecCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
use Amp\Sync\ConcurrentIterator;
use Amp\Sync\LocalSemaphore;
use Drall\Models\RawCommand;
use Drall\Traits\RunnerAwareTrait;
use Drall\Runners\PassthruRunner;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
Expand All @@ -21,8 +19,6 @@
*/
abstract class BaseExecCommand extends BaseCommand {

use RunnerAwareTrait;

/**
* Maximum number of Drall workers.
*
Expand All @@ -40,7 +36,6 @@ abstract class BaseExecCommand extends BaseCommand {
public function __construct(string $name = NULL) {
parent::__construct($name);
$this->argv = $GLOBALS['argv'];
$this->setRunner(new PassthruRunner());
}

/**
Expand Down
108 changes: 0 additions & 108 deletions src/Commands/ExecQueueCommand.php

This file was deleted.

5 changes: 0 additions & 5 deletions src/Drall.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use Consolidation\SiteAlias\SiteAliasManager;
use Drall\Commands\ExecShellCommand;
use Drall\Commands\ExecDrushCommand;
use Drall\Commands\ExecQueueCommand;
use Drall\Commands\SiteDirectoriesCommand;
use Drall\Commands\SiteAliasesCommand;
use Drall\Services\SiteDetector;
Expand Down Expand Up @@ -63,10 +62,6 @@ public function __construct(
$cmd = new ExecShellCommand();
$cmd->setSiteDetector($siteDetector);
$this->add($cmd);

$cmd = new ExecQueueCommand();
$cmd->setSiteDetector($siteDetector);
$this->add($cmd);
}

protected function configureIO(InputInterface $input, OutputInterface $output) {
Expand Down
86 changes: 0 additions & 86 deletions src/Models/Lock.php

This file was deleted.

36 changes: 0 additions & 36 deletions src/Models/Queue/File.php

This file was deleted.

73 changes: 0 additions & 73 deletions src/Models/Queue/Item.php

This file was deleted.

37 changes: 0 additions & 37 deletions src/Models/Queue/ItemStatus.php

This file was deleted.

Loading

0 comments on commit 1389803

Please sign in to comment.