Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Add synapse version to /_matrix/static #6085

Open
mvgorcum opened this issue Sep 22, 2019 · 5 comments
Open

Add synapse version to /_matrix/static #6085

mvgorcum opened this issue Sep 22, 2019 · 5 comments
Labels
T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements. z-p4 (Deprecated Label)

Comments

@mvgorcum
Copy link
Contributor

Currently the easiest way to find your synapse version is arguably through the federation tester, or /_matrix/federation/v1/version, which is not that well documented. Adding the running version to the static page seems like a decent (and easy enough) addition.

@JochenFriedrich
Copy link

Better seems to be /_synapse/admin/v1/server_version, see also PR #6051.

@mvgorcum
Copy link
Contributor Author

I'd still like to see the version added to the static page.

@neilisfragile
Copy link
Contributor

The 'correct' way to query version is curl http://localhost:8008/_synapse/admin/v1/server_version

You could also add it to _matrix/static though you'd have to dynamically populate the currently static page.

@neilisfragile neilisfragile added z-p4 (Deprecated Label) enhancement labels Sep 24, 2019
@ShadowJonathan
Copy link
Contributor

You could also add it to _matrix/static though you'd have to dynamically populate the currently static page

It is still "static", albeit locking it to a version

@ShadowJonathan
Copy link
Contributor

Thinking about this again, it would seem to be possible to insert git comment + server version into the template at startup? One-time template evaluation, and then store the HTML string into memory.

@DMRobertson DMRobertson added T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements. and removed z-enhancement labels Aug 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements. z-p4 (Deprecated Label)
Projects
None yet
Development

No branches or pull requests

5 participants