Add contributing file (#134)

* Add contributing file

* Rewrite and point at matrix-appservice-bridge

* Add documentation

* Ensure we install matrix-appservice-bridge when building docs

* Also install for release

* changelog

* add contrib file

* Remove artifact step, it doesn't render so nicely

* Update README.md
This commit is contained in:
Will Hunt 2022-06-08 16:30:46 +01:00 committed by GitHub
parent 8cf8c8eff3
commit ee2fd5bbcc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 41 additions and 1 deletions

View File

@ -9,6 +9,14 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 16
# We want to install matrix-appservice-bridge, which we depend on.
- run: yarn --ignore-scripts
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
with:

View File

@ -10,6 +10,14 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 16
# We want to install matrix-appservice-bridge, which we depend on.
- run: yarn --ignore-scripts
- name: Get release tag
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV

11
CONTRIBUTING.md Normal file
View File

@ -0,0 +1,11 @@
Hi there! Please read the [CONTRIBUTING.md](https://github.com/matrix-org/matrix-appservice-bridge/blob/develop/CONTRIBUTING.md) guide for all matrix.org bridge
projects.
## Hookshot Guidelines
- Hookshot presently uses the `main` branch as the default branch (instead of `develop`).
- Since Hookshot caters to a range of services, we have additional tags such as `GitHub`, `GitLab`
which help us determine which services are affected by an issue.
- In addition to Typescript, Hookshot makes use of [Rust](https://rust-lang.org). You will need to setup Rust in order to build the project. https://rustup.rs/ is a good option for most people.
- The official hookshot support/development room is [#hookshot:half-shot.uk](https://matrix.to/#/#hookshot:half-shot.uk)

View File

@ -42,4 +42,4 @@ sensible-browser book/index.html
## Contact
We have a bridge support room you can drop into at [#hookshot:half-shot.uk](https://matrix.to/#/#hookshot:half-shot.uk), or you can reach me at [@Half-Shot:half-shot.uk](https://matrix.to/#/@Half-Shot:half-shot.uk)
We have a bridge support room you can drop into at [#hookshot:half-shot.uk](https://matrix.to/#/#hookshot:half-shot.uk).

1
changelog.d/134.doc Normal file
View File

@ -0,0 +1 @@
Add CONTRIBUTING.md guide.

View File

@ -17,6 +17,9 @@
- [GitLab Project](./usage/room_configuration/gitlab_project.md)
- [📊 Metrics](./metrics.md)
# 🧑‍💻 Development
- [Contributing](./contributing.md)
# 🥼 Advanced
- [Provisioning](./advanced/provisioning.md)

9
docs/contributing.md Normal file
View File

@ -0,0 +1,9 @@
# Contributing
## Matrix.org Bridges
{{#include ../node_modules/matrix-appservice-bridge/CONTRIBUTING.md}}
## Hookshot
{{#include ../CONTRIBUTING.md}}