Tweak output of VcsRepo to be less verbose
parent
58e8da795a
commit
5b256070b7
|
@ -217,11 +217,6 @@ class VcsRepository extends ArrayRepository implements ConfigurableRepositoryInt
|
||||||
foreach ($driver->getTags() as $tag => $identifier) {
|
foreach ($driver->getTags() as $tag => $identifier) {
|
||||||
$tag = (string) $tag;
|
$tag = (string) $tag;
|
||||||
$msg = 'Reading composer.json of <info>' . ($this->packageName ?: $this->url) . '</info> (<comment>' . $tag . '</comment>)';
|
$msg = 'Reading composer.json of <info>' . ($this->packageName ?: $this->url) . '</info> (<comment>' . $tag . '</comment>)';
|
||||||
if ($isVeryVerbose) {
|
|
||||||
$this->io->writeError($msg);
|
|
||||||
} elseif ($isVerbose) {
|
|
||||||
$this->io->overwriteError($msg, false);
|
|
||||||
}
|
|
||||||
|
|
||||||
// strip the release- prefix from tags if present
|
// strip the release- prefix from tags if present
|
||||||
$tag = str_replace('release-', '', $tag);
|
$tag = str_replace('release-', '', $tag);
|
||||||
|
@ -245,6 +240,12 @@ class VcsRepository extends ArrayRepository implements ConfigurableRepositoryInt
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($isVeryVerbose) {
|
||||||
|
$this->io->writeError($msg);
|
||||||
|
} elseif ($isVerbose) {
|
||||||
|
$this->io->overwriteError($msg, false);
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$data = $driver->getComposerInformation($identifier);
|
$data = $driver->getComposerInformation($identifier);
|
||||||
if (null === $data) {
|
if (null === $data) {
|
||||||
|
|
Loading…
Reference in New Issue