[PR #4824] [CLOSED] Language statistics bar for repositories #17511

Closed
opened 2025-11-02 13:46:58 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/4824
Author: @lafriks
Created: 8/29/2018
Status: Closed

Base: masterHead: feat/language_stats


📄 Description

Fixes #2165

Implements language statistic calculation using https://github.com/src-d/enry library.

TODO:

  • Function to calculate language stats for git repository
  • Save language stats to database
  • Display language stats bar (cleanup depends on src-d/enry#233)
  • Add support for linguist-vendored in .gitattributes file (this could be added later in other PR)
  • Async update language stats to database when repository changes
  • Initial language stats calculation for existing repositories

Screenshots:
image

image

image


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/4824 **Author:** [@lafriks](https://github.com/lafriks) **Created:** 8/29/2018 **Status:** ❌ Closed **Base:** `master` ← **Head:** `feat/language_stats` --- ### 📄 Description Fixes #2165 Implements language statistic calculation using https://github.com/src-d/enry library. TODO: - [x] Function to calculate language stats for git repository - [x] Save language stats to database - [x] Display language stats bar ~~(cleanup depends on src-d/enry#233)~~ - [ ] ~~Add support for `linguist-vendored` in `.gitattributes` file~~ (this could be added later in other PR) - [ ] Async update language stats to database when repository changes - [ ] Initial language stats calculation for existing repositories Screenshots: ![image](https://user-images.githubusercontent.com/165205/61834478-c7a46f00-ae80-11e9-9d57-3bc6c89dd9a2.png) ![image](https://user-images.githubusercontent.com/165205/61834509-ec004b80-ae80-11e9-8828-3eebc898502c.png) ![image](https://user-images.githubusercontent.com/165205/61910561-b8372b80-af3d-11e9-976e-7d4bef9e31be.png) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 13:47:06 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#17511