feat: install plugins from approved source commits
CI / php-store (push) Waiting to run
CI / python-components (push) Waiting to run

This commit is contained in:
2026-08-24 21:37:17 +02:00
parent f36d6be511
commit 26aea40e6a
27 changed files with 414 additions and 47 deletions
+10
View File
@@ -138,6 +138,16 @@ final class GitHubAdapter extends AbstractAdapter
return $releases;
}
public function sourceArchiveUrl(array $repository, string $commitSha): ?string
{
if (!empty($repository['private'])) {
return null;
}
$this->validateRepository($repository);
$this->assertCommit($commitSha);
return 'https://codeload.github.com/' . $repository['fullName'] . '/tar.gz/' . $commitSha;
}
/** @return list<array<string,mixed>>|null */
private function paged(string $endpoint): ?array
{