"Last changed" in footer displays build info instead of commit info
#837
Closed
opened 4 years ago by reinhard
·
4 comments
Loading…
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
The "Last changed:" in the footer of each page displays the date of the last build run and the fixed text "automatic" instaed of the date of the last change to the source file and the author of that change.
check-translation-status.sh at least extracts the last commit date from the git history. Getting the author shouldn't be a huge problem either
Related to #64 where we discuss about the impact of getting author/timestamp info via Git
"Last changed" in footer display build info instead of commit infoto "Last changed" in footer displays build info instead of commit info 4 years agoPlease note that there is much discussion about possible approaches to this in #64 and some experiments around these approaches in #952 and #974. Special thanks to @ulf for these pull requests!
However, now as we decided for a way to detect outdated translations completely independently from git commit times, I get more and more convinced that having the date of the last commit displayed in the footer (or even just in a HTML comment) is not worth the effort we would have to spend on it.
I actually even think that displaying date and author of the last commit is not useful at all, because the last commit could be a purely technical one (like some change in the tag structure) and displaying that date would make a wrong impression about the last actual update of the content.
So in the end I propose to:
<timestamp>
element in the build script and the XSL templates, thus removing that bit of information from the footer<timestamp>
element from all filesWould be fine with me. The argument about the confusion git commit vs actual content change convinces me that this timestamp may be problematic.