fix issue where path repositories would be matched oddly
parent
758e7cab53
commit
d0c009edf2
|
@ -82,10 +82,9 @@ EOT
|
||||||
// list packages
|
// list packages
|
||||||
foreach ($installedRepo->getCanonicalPackages() as $package) {
|
foreach ($installedRepo->getCanonicalPackages() as $package) {
|
||||||
$downloader = $dm->getDownloaderForInstalledPackage($package);
|
$downloader = $dm->getDownloaderForInstalledPackage($package);
|
||||||
|
$targetDir = $im->getInstallPath($package);
|
||||||
|
|
||||||
if ($downloader instanceof ChangeReportInterface) {
|
if ($downloader instanceof ChangeReportInterface) {
|
||||||
$targetDir = $im->getInstallPath($package);
|
|
||||||
|
|
||||||
if (is_link($targetDir)) {
|
if (is_link($targetDir)) {
|
||||||
$errors[$targetDir] = $targetDir . ' is a symbolic link.';
|
$errors[$targetDir] = $targetDir . ' is a symbolic link.';
|
||||||
}
|
}
|
||||||
|
@ -111,6 +110,7 @@ EOT
|
||||||
$currentVersion = $guesser->guessVersion($dumper->dump($package), $targetDir);
|
$currentVersion = $guesser->guessVersion($dumper->dump($package), $targetDir);
|
||||||
|
|
||||||
if ($previousRef && $currentVersion['commit'] !== $previousRef) {
|
if ($previousRef && $currentVersion['commit'] !== $previousRef) {
|
||||||
|
var_dump($previousRef, $currentVersion['commit'], $package->getName(), $package->getInstallationSource());
|
||||||
$vcsVersionChanges[$targetDir] = array(
|
$vcsVersionChanges[$targetDir] = array(
|
||||||
'previous' => array(
|
'previous' => array(
|
||||||
'version' => $package->getVersion(),
|
'version' => $package->getVersion(),
|
||||||
|
|
Loading…
Reference in New Issue