Cross-cutting files synced across my public repos
Find a file
2026-05-09 12:01:31 +02:00
.gitignore init: CONTRIBUTING.md + sync script across all public repos 2026-05-09 11:57:55 +02:00
CONTRIBUTING.md CONTRIBUTING.md aktualisiert 2026-05-09 12:01:31 +02:00
README.md init: CONTRIBUTING.md + sync script across all public repos 2026-05-09 11:57:55 +02:00
sync.py init: CONTRIBUTING.md + sync script across all public repos 2026-05-09 11:57:55 +02:00

moritz-meta

Cross-cutting files that should be identical across all my public repos on git.moritz.run. The canonical version lives here; sync.py propagates changes to every public, non-archived repo via the Forgejo content API.

Files

  • CONTRIBUTING.md — explains how to contribute to a self-hosted repo. Forgejo picks this filename up and shows it as a banner on issue / PR creation pages.
  • sync.py — sync script (idempotent, supports --dry-run).

Sync

# token at https://git.moritz.run/user/settings/applications (scope: write:repository)
export FORGEJO_TOKEN=...

python sync.py --dry-run    # preview
python sync.py              # apply

Edit and roll out

$EDITOR CONTRIBUTING.md
git commit -am "tweak CONTRIBUTING wording"
python sync.py
git push