Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
andylolz opened this issue Mar 25, 2021 · 3 comments
Open

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

andylolz opened this issue Mar 25, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@andylolz
Copy link
Member

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 andylolz added the enhancement New feature or request label Mar 25, 2021
@andylolz
Copy link
Member Author

andylolz commented May 9, 2021

git show --format=%h --no-patch

…will return the current commit hash.

@andylolz
Copy link
Member Author

andylolz commented Nov 18, 2022

Fixed for analytics in 47f2caa.

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

@andylolz
Copy link
Member Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant