|
@@ -77,7 +77,7 @@ class PathDownloader extends FileDownloader implements VcsCapableDownloaderInter
|
|
|
|
|
|
if ($output) {
|
|
|
$this->io->writeError(sprintf(
|
|
|
- ' - Installing <info>%s</info> (<comment>%s</comment>)',
|
|
|
+ ' - Installing <info>%s</info> (<comment>%s</comment>): ',
|
|
|
$package->getName(),
|
|
|
$package->getFullPrettyVersion()
|
|
|
), false);
|
|
@@ -88,8 +88,8 @@ class PathDownloader extends FileDownloader implements VcsCapableDownloaderInter
|
|
|
try {
|
|
|
if (Platform::isWindows()) {
|
|
|
// Implement symlinks as NTFS junctions on Windows
|
|
|
+ $this->io->writeError(sprintf('Junctioning from %s', $url), false);
|
|
|
$this->filesystem->junction($realUrl, $path);
|
|
|
- $this->io->writeError(sprintf(' Junctioned from %s', $url), false);
|
|
|
} else {
|
|
|
$absolutePath = $path;
|
|
|
if (!$this->filesystem->isAbsolutePath($absolutePath)) {
|
|
@@ -97,8 +97,8 @@ class PathDownloader extends FileDownloader implements VcsCapableDownloaderInter
|
|
|
}
|
|
|
$shortestPath = $this->filesystem->findShortestPath($absolutePath, $realUrl);
|
|
|
$path = rtrim($path, "/");
|
|
|
+ $this->io->writeError(sprintf('Symlinking from %s', $url), false);
|
|
|
$fileSystem->symlink($shortestPath, $path);
|
|
|
- $this->io->writeError(sprintf(' Symlinked from %s', $url), false);
|
|
|
}
|
|
|
} catch (IOException $e) {
|
|
|
if (in_array(self::STRATEGY_MIRROR, $allowedStrategies)) {
|
|
@@ -114,8 +114,8 @@ class PathDownloader extends FileDownloader implements VcsCapableDownloaderInter
|
|
|
|
|
|
// Fallback if symlink failed or if symlink is not allowed for the package
|
|
|
if (self::STRATEGY_MIRROR == $currentStrategy) {
|
|
|
+ $this->io->writeError(sprintf('%sMirroring from %s', $isFallback ? ' ' : '', $url), false);
|
|
|
$fileSystem->mirror($realUrl, $path);
|
|
|
- $this->io->writeError(sprintf('%s Mirrored from %s', $isFallback ? ' ' : '', $url), false);
|
|
|
}
|
|
|
|
|
|
$this->io->writeError('');
|