Skip to content
Snippets Groups Projects
Commit 37539fa1 authored by Quantum's avatar Quantum
Browse files

Add: section about notifications by Rocket.Cat

parent 8c2e31ce
Branches
No related tags found
1 merge request!80Add: section about linter notifications by Rocket.Cat and testing instance wa.tabascoeye.de
...@@ -92,6 +92,15 @@ that is the case, the back office will notify you and show you an appropriate ...@@ -92,6 +92,15 @@ that is the case, the back office will notify you and show you an appropriate
error along with a short explanation — so in case your map doesn't change even error along with a short explanation — so in case your map doesn't change even
after waiting and multiple reloads, please take a look there and check. after waiting and multiple reloads, please take a look there and check.
#### Automatic notification
You can also be notified automatically when there is a new linter result.
To do this, create a file named `.mapservice` in the root directory of your repo.
In this file you enter in which channel of the CCCV rocket chat the bot should write:
`{"rocket_channel" : "#<CHANNEL>"}`. The channel can also be a person,
in this case you enter `{"rocket_channel" : "@nick"}` in the file.
Important: The account `Rocket.Cat` needs to be able to access your channel.
### Links between maps ### Links between maps
Within your repository you can use normal, relative links — e.g. to get from Within your repository you can use normal, relative links — e.g. to get from
one map in `main.json` to another at `garden/secret-base.json`, just enter the one map in `main.json` to another at `garden/secret-base.json`, just enter the
......
...@@ -100,6 +100,16 @@ einfach im falschen Format ist. In diesem Fall wird euch das im Maschinenraum ...@@ -100,6 +100,16 @@ einfach im falschen Format ist. In diesem Fall wird euch das im Maschinenraum
angezeigt und entsprechend begründet — falls sich eure Karte also auch nach angezeigt und entsprechend begründet — falls sich eure Karte also auch nach
mehrmaligem Neuladen nicht verändert hat, schaut bitte einmal dort nach. mehrmaligem Neuladen nicht verändert hat, schaut bitte einmal dort nach.
#### Automatische Benachrichtigung
Ihr könnt euch auch automatisch benachrichtigen lassen, wenn es ein neues Linter-Ergebnis gibt.
Dazu legt ihr im Hauptverzeichnis eures Repos eine Datei namens `.mapservice` an. In dieser
tragt ihr dann ein, in welchen Channel des CCCV-Rocketchats der Bot schreiben soll:
`{"rocket_channel" : "#<CHANNEL>"}`. Der Channel kann dabei auch eine Person sein, dann
tragt ihr `{"rocket_channel" : "@nick"}` in die Datei ein.
Wichtig: Der Account `Rocket.Cat` muss auf euren Channel zugreifen können.
### Links zwischen einzelnen Karten ### Links zwischen einzelnen Karten
Innerhalb eures Repositories könnt ihr ganz normale relative Links benutzen — Innerhalb eures Repositories könnt ihr ganz normale relative Links benutzen —
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment