We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a92e7b commit e23c914Copy full SHA for e23c914
src/Entity/Package.php
@@ -537,6 +537,11 @@ public function setRepository(string $repoUrl): void
537
$this->remoteId = parse_url($this->repository, PHP_URL_HOST).'/'.$repoData['id'];
538
}
539
540
+
541
+ // when a package URL is updated to a new one we should assume it is now valid and not gone anymore
542
+ if ($this->isFrozen() && $this->getFreezeReason() === PackageFreezeReason::Gone) {
543
+ $this->unfreeze();
544
+ }
545
} catch (\Exception $e) {
546
$this->vcsDriverError = '['.get_class($e).'] '.$e->getMessage();
547
0 commit comments