Add version call to website, so Bug reports can be more specific #73

Closed
opened 2019-06-10 09:49:34 +00:00 by b3yond · 1 comment
Owner

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: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
Owner

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.

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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: b3yond/ticketfrei#73
No description provided.