From ffd64cf2f530467f109b33c37d45dbce5432bf5e Mon Sep 17 00:00:00 2001 From: Will Hunt Date: Wed, 2 Mar 2022 15:42:06 +0000 Subject: [PATCH] Change references of half-shot/ to matrix-org/ (#216) * Change references of half-shot/ to matrix-org/ * changelog --- book.toml | 6 +++--- changelog.d/216.misc | 1 + docs/setup.md | 2 +- docs/usage/room_configuration/github_repo.md | 2 +- package.json | 4 ++-- pyproject.toml | 2 +- src/UserAgent.ts | 2 +- src/provisioning/api.md | 8 ++++---- 8 files changed, 14 insertions(+), 13 deletions(-) create mode 100644 changelog.d/216.misc diff --git a/book.toml b/book.toml index 38803633..81e9d28c 100644 --- a/book.toml +++ b/book.toml @@ -1,5 +1,5 @@ [book] -authors = ["Half-Shot "] +authors = ["matrix.org "] language = "en" multilingual = false src = "docs" @@ -13,10 +13,10 @@ create-missing = false [output.html] # The URL visitors will be directed to when they try to edit a page -edit-url-template = "https://github.com/half-shot/matrix-hookshot/edit/main/{path}" +edit-url-template = "https://github.com/matrix-org/matrix-hookshot/edit/main/{path}" # The source code URL of the repository -git-repository-url = "https://github.com/half-shot/matrix-hookshot" +git-repository-url = "https://github.com/matrix-org/matrix-hookshot" additional-css = [ diff --git a/changelog.d/216.misc b/changelog.d/216.misc new file mode 100644 index 00000000..39e54621 --- /dev/null +++ b/changelog.d/216.misc @@ -0,0 +1 @@ +The GitHub repository has moved from `https://github.com/Half-Shot/matrix-hookshot` to `https://github.com/matrix-org/matrix-hookshot`. \ No newline at end of file diff --git a/docs/setup.md b/docs/setup.md index 551bf91e..5a6c5c03 100644 --- a/docs/setup.md +++ b/docs/setup.md @@ -20,7 +20,7 @@ To install Rust, [rustup](https://rustup.rs/) is the preferred solution to stay To clone and install, run: ```bash -git clone git@github.com:Half-Shot/matrix-hookshot.git +git clone git@github.com:matrix-org/matrix-hookshot.git cd matrix-hookshot yarn # or npm i ``` diff --git a/docs/usage/room_configuration/github_repo.md b/docs/usage/room_configuration/github_repo.md index 6f0b9a86..909ff432 100644 --- a/docs/usage/room_configuration/github_repo.md +++ b/docs/usage/room_configuration/github_repo.md @@ -1,7 +1,7 @@ GitHub Repository ================= -This connection type connects a GitHub repository (e.g. https://github.com/Half-Shot/matrix-hookshot) to a room. +This connection type connects a GitHub repository (e.g. https://github.com/matrix-org/matrix-hookshot) to a room. You can run commands to create and manipulate issues, and receive notifications when something changes such as a new release. diff --git a/package.json b/package.json index 9714a4c7..90f458ac 100644 --- a/package.json +++ b/package.json @@ -3,8 +3,8 @@ "version": "1.1.0", "description": "A bridge between Matrix and multiple project management services, such as GitHub, GitLab and JIRA.", "main": "lib/app.js", - "repository": "https://github.com/Half-Shot/matrix-hookshot", - "author": "Half-Shot", + "repository": "https://github.com/matrix-org/matrix-hookshot", + "author": "matrix.org", "license": "Apache-2.0", "private": false, "napi": { diff --git a/pyproject.toml b/pyproject.toml index c2390d24..5d3b916b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [tool.towncrier] filename = "CHANGELOG.md" directory = "changelog.d" - issue_format = "[\\#{issue}](https://github.com/half-shot/matrix-hookshot/issues/{issue})" + issue_format = "[\\#{issue}](https://github.com/matrix-org/matrix-hookshot/issues/{issue})" [[tool.towncrier.type]] directory = "feature" diff --git a/src/UserAgent.ts b/src/UserAgent.ts index 34c715f0..51144ab0 100644 --- a/src/UserAgent.ts +++ b/src/UserAgent.ts @@ -1,2 +1,2 @@ -const UserAgent = "matrix-hookshot/1.1.0 (+https://github.com/half-shot/matrix-hookshot)"; +const UserAgent = "matrix-hookshot/1.1.0 (+https://github.com/matrix-org/matrix-hookshot)"; export default UserAgent; diff --git a/src/provisioning/api.md b/src/provisioning/api.md index 47b2acac..cc4aebd4 100644 --- a/src/provisioning/api.md +++ b/src/provisioning/api.md @@ -210,8 +210,8 @@ This request can be retried until the number of entries is less than the value o "loggedIn": true, "repositories":[{ "name": "matrix-hookshot", - "owner": "half-shot", - "fullName": "half-shot/matrix-hookshot", + "owner": "matrix-org", + "fullName": "matrix-org/matrix-hookshot", "avatarUrl": "https://avatars.githubusercontent.com/u/8418310?v=4", "description": "A bridge between Matrix and multiple project management services, such as GitHub, GitLab and JIRA. " }] @@ -236,8 +236,8 @@ This request can be retried until the number of entries is less than the value o "changeSelectionUrl": "https://github.com/settings/installations/12345", "repositories":[{ "name": "matrix-hookshot", - "owner": "half-shot", - "fullName": "half-shot/matrix-hookshot", + "owner": "matrix-org", + "fullName": "matrix-org/matrix-hookshot", "avatarUrl": "https://avatars.githubusercontent.com/u/8418310?v=4", "description": "A bridge between Matrix and multiple project management services, such as GitHub, GitLab and JIRA. " }]