summary refs log tree commit diff
path: root/synapse/util/versionstring.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
| | | | | | | Part of #9744 Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now. `Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>`
* Handle FileNotFound error in checking git repository version (#6284)Andrew Morgan2019-10-301-4/+6
|
* Cache get_version_string.Erik Johnston2019-07-221-2/+21
| | | | | | | | | The version of a module isn't going to change over the lifetime of the process (assuming no funky hot reloading is going on, which it isn't), so let's just cache the result to avoid spawning lots of git subprocesses. Fixes #5672.
* Run Black. (#5482)Amber Brown2019-06-201-29/+32
|
* Port over enough to get some sytests running on Python 3 (#3668)Amber Brown2018-08-201-6/+6
|
* run isortAmber Brown2018-07-091-2/+2
|
* Add federation /version APIErik Johnston2016-08-051-4/+4
|
* Move the versionstring code out of app.homeserver into utilMark Haines2016-04-111-0/+84