Skip to content

Implement DB-backed contributor stats with queued updates and UI sidebar contributors#37209

Draft
lunny wants to merge 22 commits intogo-gitea:mainfrom
lunny:lunny/stats_rework
Draft

Implement DB-backed contributor stats with queued updates and UI sidebar contributors#37209
lunny wants to merge 22 commits intogo-gitea:mainfrom
lunny:lunny/stats_rework

Conversation

@lunny
Copy link
Copy Markdown
Member

@lunny lunny commented Apr 14, 2026

Related to #30132
Fix #22129
Fix #7796

  • Replace git-log-based contributor stats with DB aggregation and daily storage.
  • Add contributor stats queues, cron backfill, and notifier-driven updates.
  • Provide commits-over-time endpoint and reuse stats for activity pulse data.
  • Add repository sidebar contributor avatars and split template for reuse.
  • Add tests covering contributors aggregation, activity stats, and commits-over-time.

A new option for Addtions + Deletions

image

Add time period for contributors

image

Add repository sidebar contributors

image

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Apr 14, 2026
@github-actions github-actions bot added modifies/go Pull requests that update Go code modifies/templates This PR modifies the template files modifies/migrations modifies/frontend labels Apr 14, 2026
@github-actions github-actions bot added the modifies/api This PR adds API routes or modifies them label Apr 14, 2026
@lunny lunny added the type/enhancement An improvement of existing functionality label Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. modifies/api This PR adds API routes or modifies them modifies/frontend modifies/go Pull requests that update Go code modifies/migrations modifies/templates This PR modifies the template files type/enhancement An improvement of existing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

list contributors for repository API Show contributors in repository summary (.ui.segment.sub-menu)

2 participants