matrix-org / sydent

Sydent: Reference Matrix Identity Server
http://matrix.org
Apache License 2.0
303 stars 83 forks source link

Include a version string in sentry reports #453

Closed DMRobertson closed 3 years ago

DMRobertson commented 3 years ago

The following is the sum total of all the testing I've done:


$ python
Python 3.9.7 (default, Aug 30 2021, 00:00:00) 
[GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sydent.util.versionstring
>>> sydent.util.versionstring.get_version_string()
'sydent@2.4.6 (b=dmr/version-in-sentry,05e1fa8,dirty)'
DMRobertson commented 3 years ago

Will open a second PR with changes for these @anoadragon453

DMRobertson commented 3 years ago

With a specific commit hash checked out, b=HEAD wasn't so useful. But it's good enough.

Screenshot from 2021-11-03 11-15-25