summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-06-18 08:30:05 +0300
committerPaul Buetow <paul@buetow.org>2026-06-18 08:30:05 +0300
commit0213d6345866351b08b34a1991c2cc14a31f9349 (patch)
tree1a32ba3e3dc4c4584c38c4788def6cc761591459 /src
parent61890e0bd98262a55b3afff495ebfead33d76b96 (diff)
Default stats generation to off; release 0.10.00.10.0
The EXIF stats site (stats/ overview plus per-camera and filter mini-albums) was generated by default. Flip the STATS_PAGE default to "no" so a plain album stays lean; enable it explicitly with STATS_PAGE=yes or --stats. Updated the bundled default config, the README ("off by default"), and the tests that relied on the old default (the stats-rendering and dry-run-override tests now pass --stats / set STATS_PAGE=yes; the print-config expectations now show STATS_PAGE=no). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'src')
-rw-r--r--src/lib/config.source.sh2
-rw-r--r--src/shuriken.default.conf7
2 files changed, 5 insertions, 4 deletions
diff --git a/src/lib/config.source.sh b/src/lib/config.source.sh
index c3c0731..f07b48e 100644
--- a/src/lib/config.source.sh
+++ b/src/lib/config.source.sh
@@ -45,7 +45,7 @@ apply_config_defaults() {
# --source-url. The footer derives the displayed text from the URL itself.
SOURCE_URL="${SOURCE_URL:-https://codeberg.org/snonux/shuriken.sh}"
SPLASH_PAGE="${SPLASH_PAGE:-yes}"
- STATS_PAGE="${STATS_PAGE:-yes}"
+ STATS_PAGE="${STATS_PAGE:-no}"
SYNC_DELETE="${SYNC_DELETE:-yes}"
TARBALL_INCLUDE="${TARBALL_INCLUDE:-no}"
TARBALL_SUFFIX="${TARBALL_SUFFIX:-.tar}"
diff --git a/src/shuriken.default.conf b/src/shuriken.default.conf
index 38d070e..6434dc0 100644
--- a/src/shuriken.default.conf
+++ b/src/shuriken.default.conf
@@ -15,9 +15,10 @@ IMAGEMAGICK_TIMEOUT=60
# SHUFFLE=yes
# Generate a splash landing page at index.html.
SPLASH_PAGE=yes
-# Generate an EXIF stats page (stats.html) plus per-camera pages, and show the
-# Stats navigation link in page headers. Can be yes or no.
-STATS_PAGE=yes
+# Generate an EXIF stats site (stats/ overview plus per-camera and filter
+# mini-albums) and show the Stats navigation link in page headers. Can be yes or
+# no. Off by default; set to yes (or pass --stats) to enable it.
+STATS_PAGE=no
# Set to any non-empty value for repeatable background, animation, timestamp,
# and shuffled preview choices.
# RANDOM_SEED=album-build-1