codeforIATI / analytics

A dashboard of various metrics, generated nightly from IATI data
https://analytics.codeforiati.org
Other
0 stars 1 forks source link

Show IATI-Stats and IATI-Dashboard git commit hash on frontend #11

Open andylolz opened 3 years ago

andylolz commented 3 years ago

It’s hard to know which version of IATI-Stats and IATI-Dashboard is currently being used to generate the dashboard. This makes debugging difficult.

It would be cool to make this visible on the frontend, by showing the version hash in the footer or something.

andylolz commented 3 years ago
git show --format=%h --no-patch

…will return the current commit hash.

andylolz commented 1 year ago

Fixed for analytics in 47f2caa7af85b786ca25a256f6b45edb282855f2.

For IATI-Stats, we would need to push the hash to https://github.com/codeforIATI/IATI-Stats-public

andylolz commented 1 year ago

The “source code” link in the footer now links to the correct version of the code.