Zeilenzahl je Änderung (git log --numstat statt --name-only, im selben
git-Aufruf) plus Link auf die Gitea-Commit-Ansicht ("Änderungen in Git
anzeigen"). --no-merges verhindert, dass Merge-Commits (kein Dateilisten-Eintrag
unter --numstat) die feste Zwei-Zeilen-pro-Commit-Zuordnung beim Parsen
verschieben und alle folgenden Einträge falsch zuordnen.
aenderungssatz.html baut den Satz jetzt aus normalem, auto-escapendem
Template-Markup statt aus einem einzigen per printf zusammengesetzten und
komplett als safeHTML markierten String - nur der vorab gebaute Titel-Link
bleibt als expliziter, einzelner Vertrauensgrenzen-Punkt safeHTML-markiert.
generate-verlauf.rb überspringt die komplette Neuberechnung (ein "git show"
pro historischem Commit je Eintrag), wenn sich _content/'s HEAD-Commit seit
dem letzten Lauf nicht geändert hat (hugo/data/verlauf-cache.json) - erspart
unnötige Serverlast bei den meisten Cron-Durchläufen ohne echte Änderung.
40 lines
1.3 KiB
Plaintext
40 lines
1.3 KiB
Plaintext
# Hugo build output
|
|
hugo/public/
|
|
hugo/resources/
|
|
hugo/.hugo_build.lock
|
|
|
|
# Generated from hugo/hugo.template.toml + install.env (WEBSITE_DOMAIN,
|
|
# GITEA_DOMAIN, METHODEN_REPO), see scripts/generate-config.sh -
|
|
# hugo.template.toml is the file to maintain, not hugo.toml.
|
|
/hugo/hugo.toml
|
|
|
|
# Method content lives in the separate methods repo, see install.env and
|
|
# scripts/sync-methoden.sh
|
|
/_content/
|
|
|
|
# Creation/modification dates, computed from the git history of _content/
|
|
# instead of maintained, see scripts/generate-verlauf.rb
|
|
/hugo/data/methoden.json
|
|
/hugo/data/varianten.json
|
|
|
|
# Marks the _content/ HEAD commit the two files above were last computed
|
|
# from, so generate-verlauf.rb can skip recomputing them when nothing
|
|
# changed - see the script's own comments.
|
|
/hugo/data/verlauf-cache.json
|
|
|
|
# Current commit of this repo itself, computed at deploy/build time - see
|
|
# scripts/generate-version-info.sh
|
|
/hugo/data/website.json
|
|
|
|
# Generated from admin/config.template.yml + the vocabulary in
|
|
# _content/ableger.yml, see scripts/generate-config.sh - config.template.yml
|
|
# is the file to maintain, not config.yml.
|
|
/admin/config.yml
|
|
|
|
# Generated by scripts/generate-vorlagen-manifest.rb, scans the docroot
|
|
# live (not just this folder) - see the Methoden-Set chapter on the project website.
|
|
/methoden-set/vorlagen/vorlagen-manifest.json
|
|
|
|
# OS
|
|
.DS_Store
|