Skip to content

Commit aae8ced

Browse files
authored
Rename etherpad-lite to etherpad (#153)
1 parent b54e916 commit aae8ced

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/e2e-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
LATEST_TAG="$(curl -fsSL \
3434
-H 'Accept: application/vnd.github+json' \
3535
-H 'Authorization: Bearer ${{ github.token }}' \
36-
https://api.github.com/repos/ether/etherpad-lite/releases/latest \
36+
https://api.github.com/repos/ether/etherpad/releases/latest \
3737
| python3 -c "import json,sys; print(json.load(sys.stdin)['tag_name'])")"
3838
CLEANED_VERSION="${LATEST_TAG#v}"
3939
echo "version=$CLEANED_VERSION" >> "$GITHUB_OUTPUT"
@@ -210,7 +210,7 @@ jobs:
210210
- name: Clone etherpad repository
211211
uses: actions/checkout@v6
212212
with:
213-
repository: ether/etherpad-lite
213+
repository: ether/etherpad
214214
path: etherpad
215215
ref: 1.7.0
216216
- uses: actions/setup-node@v6
@@ -263,7 +263,7 @@ jobs:
263263
- name: Clone etherpad repository
264264
uses: actions/checkout@v6
265265
with:
266-
repository: ether/etherpad-lite
266+
repository: ether/etherpad
267267
path: etherpad
268268
- uses: actions/setup-node@v6
269269
with:

.github/workflows/test-file-hashes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
LATEST_TAG="$(curl -fsSL \
3636
-H 'Accept: application/vnd.github+json' \
3737
-H 'Authorization: Bearer ${{ github.token }}' \
38-
https://api.github.com/repos/ether/etherpad-lite/releases/latest \
38+
https://api.github.com/repos/ether/etherpad/releases/latest \
3939
| python3 -c "import json,sys; print(json.load(sys.stdin)['tag_name'])")"
4040
CLEANED_VERSION="${LATEST_TAG#v}"
4141
echo "version=$CLEANED_VERSION" >> "$GITHUB_OUTPUT"

src/Api/GithubApi.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function __construct(
2323
public function getCommit(string $commitHash): ?array
2424
{
2525
try {
26-
$response = $this->client->get('/repos/ether/etherpad-lite/commits/' . $commitHash);
26+
$response = $this->client->get('/repos/ether/etherpad/commits/' . $commitHash);
2727
$body = (string)$response->getBody();
2828
return json_decode($body, true, 512, JSON_THROW_ON_ERROR);
2929
} catch (Exception) {
@@ -37,11 +37,11 @@ public function getCommit(string $commitHash): ?array
3737
public function getTags(): ?array
3838
{
3939
try {
40-
$response = $this->client->get('/repos/ether/etherpad-lite/tags?per_page=100');
40+
$response = $this->client->get('/repos/ether/etherpad/tags?per_page=100');
4141
$body = (string)$response->getBody();
4242
return json_decode($body, true, 512, JSON_THROW_ON_ERROR);
4343
} catch (Exception) {
4444
return null;
4545
}
4646
}
47-
}
47+
}

0 commit comments

Comments
 (0)