From 8057543a8ae1ed4382c558c0b7ff9738b357475c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20M=C3=BCller?= Date: Sat, 18 Apr 2026 22:01:19 +0200 Subject: [PATCH] Rename etherpad-lite to etherpad --- .github/workflows/e2e-test.yml | 6 +++--- .github/workflows/test-file-hashes.yml | 2 +- src/Api/GithubApi.php | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml index 36b2e63..8238cb7 100644 --- a/.github/workflows/e2e-test.yml +++ b/.github/workflows/e2e-test.yml @@ -33,7 +33,7 @@ jobs: LATEST_TAG="$(curl -fsSL \ -H 'Accept: application/vnd.github+json' \ -H 'Authorization: Bearer ${{ github.token }}' \ - https://api.github.com/repos/ether/etherpad-lite/releases/latest \ + https://api.github.com/repos/ether/etherpad/releases/latest \ | python3 -c "import json,sys; print(json.load(sys.stdin)['tag_name'])")" CLEANED_VERSION="${LATEST_TAG#v}" echo "version=$CLEANED_VERSION" >> "$GITHUB_OUTPUT" @@ -210,7 +210,7 @@ jobs: - name: Clone etherpad repository uses: actions/checkout@v6 with: - repository: ether/etherpad-lite + repository: ether/etherpad path: etherpad ref: 1.7.0 - uses: actions/setup-node@v6 @@ -263,7 +263,7 @@ jobs: - name: Clone etherpad repository uses: actions/checkout@v6 with: - repository: ether/etherpad-lite + repository: ether/etherpad path: etherpad - uses: actions/setup-node@v6 with: diff --git a/.github/workflows/test-file-hashes.yml b/.github/workflows/test-file-hashes.yml index faf1979..6357818 100644 --- a/.github/workflows/test-file-hashes.yml +++ b/.github/workflows/test-file-hashes.yml @@ -35,7 +35,7 @@ jobs: LATEST_TAG="$(curl -fsSL \ -H 'Accept: application/vnd.github+json' \ -H 'Authorization: Bearer ${{ github.token }}' \ - https://api.github.com/repos/ether/etherpad-lite/releases/latest \ + https://api.github.com/repos/ether/etherpad/releases/latest \ | python3 -c "import json,sys; print(json.load(sys.stdin)['tag_name'])")" CLEANED_VERSION="${LATEST_TAG#v}" echo "version=$CLEANED_VERSION" >> "$GITHUB_OUTPUT" diff --git a/src/Api/GithubApi.php b/src/Api/GithubApi.php index 0ddbf23..4963b00 100644 --- a/src/Api/GithubApi.php +++ b/src/Api/GithubApi.php @@ -23,7 +23,7 @@ public function __construct( public function getCommit(string $commitHash): ?array { try { - $response = $this->client->get('/repos/ether/etherpad-lite/commits/' . $commitHash); + $response = $this->client->get('/repos/ether/etherpad/commits/' . $commitHash); $body = (string)$response->getBody(); return json_decode($body, true, 512, JSON_THROW_ON_ERROR); } catch (Exception) { @@ -37,11 +37,11 @@ public function getCommit(string $commitHash): ?array public function getTags(): ?array { try { - $response = $this->client->get('/repos/ether/etherpad-lite/tags?per_page=100'); + $response = $this->client->get('/repos/ether/etherpad/tags?per_page=100'); $body = (string)$response->getBody(); return json_decode($body, true, 512, JSON_THROW_ON_ERROR); } catch (Exception) { return null; } } -} \ No newline at end of file +}