From 1615abaacccdbb5002404a77270fd333ce8ad718 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 28 Mar 2026 09:12:03 +0200 Subject: feat(showcase): support per-repo stats branches --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index aeccbee..8ad4e05 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,10 @@ Create a configuration file at `~/.config/gitsyncer/config.json` (or specify a c "repositories": [ "repo1", "repo2" - ] + ], + "showcase_stats_branches": { + "foo.zone": "content-gemtext" + } } ``` @@ -449,6 +452,8 @@ Weekly rank snapshots are written on full showcase runs (all repositories), incl The showcase output is written to `~/git/foo.zone-content/gemtext/about/showcase.gmi.tpl` by default (currently hardcoded). +You can override the branch used for showcase stats and cached code snippets on a per-repository basis with `showcase_stats_branches`. For example, `foo.zone` can use `content-gemtext` while the rest of the repos continue to use their current checkout branch. + Projects can be excluded from the showcase by creating a `.nosync` file in their repository root. ## Example Workflows -- cgit v1.2.3