diff --git a/scripts/generate-verlauf.rb b/scripts/generate-verlauf.rb index 77d297d..8f78157 100755 --- a/scripts/generate-verlauf.rb +++ b/scripts/generate-verlauf.rb @@ -45,6 +45,12 @@ def skip_wenn_unveraendert puts 'verlauf: _content/ unveraendert seit letztem Lauf, ueberspringe Neuberechnung.' true end +# Note for anyone changing this script itself (not _content/): the cache +# only tracks _content/'s HEAD, so it can't detect that the computation +# logic changed. After deploying such a change, delete the deployed +# hugo/data/verlauf-cache.json by hand (or just run this script once +# outside the normal deploy) - otherwise the next deploy silently skips +# recomputation and keeps serving output produced by the old logic. # One combined "git log" call per file instead of one per commit - %x09 is # a literal tab byte as field separator, safe against contents containing