Files
git-contribution-graph/.env
T
haylan 4ff45b7c46 feat(store): fetch contributions incrementally and persist history in SQLite
Bound each provider's startFetch()/resolveFetch() to an optional
since/until window, wire a SQLite-backed ContributionStore into
ContributionAggregator (fetch only the trailing window past the last
stored date, merge into the store, prune by CONTRIBUTIONS_RETENTION_DAYS),
and add a graph:contributions:refetch command to force a full or ranged
re-fetch in <=365-day chunks. This is the root fix for the full
365-day-refetch timeout that used to hit on every cache miss.
2026-07-12 23:42:41 +02:00

26 lines
555 B
Bash

APP_ENV=dev
APP_DEBUG=1
APP_SECRET=changeme_replace_with_random_32char_string
# Comma-separated list of allowed hostnames. Leave empty to allow all hosts.
# Example: ALLOWED_HOSTS=example.com,www.example.com
ALLOWED_HOSTS=
# GitHub
GITHUB_USER=
GITHUB_TOKEN=
# GitLab (leave GITLAB_URL empty to use https://gitlab.com)
GITLAB_USER=
GITLAB_TOKEN=
GITLAB_URL=
# Gitea
GITEA_USER=
GITEA_TOKEN=
GITEA_URL=
# Number of days of contribution history to keep in var/data/contributions.db.
# 0 (or unset) keeps history forever.
CONTRIBUTIONS_RETENTION_DAYS=0