Track workers endpoint list in repo instead of regenerating on user side

This commit is contained in:
Marcel Partap
2021-01-23 14:34:41 +01:00
parent f2c7d79238
commit c8f051a42d
4 changed files with 314 additions and 18 deletions

View File

@ -0,0 +1,6 @@
#!/bin/sh
# Fetch the synapse worker documentation and extract endpoint URLs
# matrix-org/synapse master branch points to current stable release
URL=https://github.com/matrix-org/synapse/raw/master/docs/workers.md
curl -L ${URL} | awk -f workers-doc-to-yaml.awk > ../vars/workers.yml