Add version call to website, so Bug reports can be more specific #73
Labels
No labels
bug
enhancement
good first issue
halted
help wanted
security
wait for upstream
wait to be tested
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: b3yond/ticketfrei#73
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Author: @b3yond Posted at: 11.01.2019 12:43
Is your feature request related to a problem? Please describe.
Our bug report template currently misses the version under which the problem occurs.
Describe the solution you'd like
If there would be a way to get the version from the website, we could reproduce bugs way better. The exact commit hash would be the best value to indicate the exact state of the website.
Describe alternatives you've considered
Adding a checksum of the whole repository to detect whether someone has changed the code beyond the current git commit is not feasible, because there are files like the config.toml, which are changed anyway.
Author: @b3yond Posted at: 11.01.2019 12:51
I found this very good solution to get the git commit hash: https://stackoverflow.com/questions/14989858/get-the-current-git-hash-in-a-python-script
Both the docker setup as well as the ticketfrei setup instructions in the README.md clone the git repository, so we can use this.