Can show some repositry statistics? #3550

Open
opened 2025-11-02 05:16:48 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @FalconWu2017 on GitHub (Jul 9, 2019).

Show some statistics in Overview inActivity.
For example Lines Count in all files,Size of repositry,Clone countCommit's count etc.

Originally created by @FalconWu2017 on GitHub (Jul 9, 2019). Show some statistics in Overview inActivity. For example `Lines Count in all files`,`Size of repositry`,`Clone count`,`Commit's count` etc.
GiteaMirror added the type/proposal label 2025-11-02 05:16:48 -06:00
Author
Owner

@bestlinuxgamers commented on GitHub (Apr 21, 2021):

Specifically, I would suggest the following statistics:

  1. a timeline showing contributor activity (global and per contributor).
    Example: https://github.com/go-gitea/gitea/graphs/contributors
    This could be combined with https://github.com/go-gitea/gitea/graphs/code-frequency.

  2. a timeline where the activity of the visitors is shown (number of views/visitors , number of [unique]clones, what is used [issues, code, ...]).
    Example:
    grafik

  3. a graph showing all public forks, its forks and so on, on the Gitea server.
    Example: https://github.com/go-gitea/gitea/network/members
    This could be combined with https://github.com/go-gitea/gitea/network.

@bestlinuxgamers commented on GitHub (Apr 21, 2021): Specifically, I would suggest the following statistics: 1. a timeline showing contributor activity (global and per contributor). Example: https://github.com/go-gitea/gitea/graphs/contributors This could be combined with https://github.com/go-gitea/gitea/graphs/code-frequency. 2. a timeline where the activity of the visitors is shown (number of views/visitors , number of [unique]clones, what is used [issues, code, ...]). Example: ![grafik](https://user-images.githubusercontent.com/52172848/115597656-c7e1d080-a2d9-11eb-8bd5-b81748181aa5.png) 3. a graph showing all public forks, its forks and so on, on the Gitea server. Example: https://github.com/go-gitea/gitea/network/members This could be combined with https://github.com/go-gitea/gitea/network.
Author
Owner

@mmahmoudian commented on GitHub (Aug 8, 2022):

Just to contribute to the discussion and reasoning:

Code frequency has multiple use cases:

  • shows activity status
  • shows inactive periods (e.g before and after adoption by a new maintainer)
  • shows deletion and addition of lines
  • shows if a project is really active or not (always my go-to measure on Github)

Also, on top of what @FalconWu2017 and @bestlinuxgamers suggested, it would be very informative to know some general statistics about number/ratio of code lines, comment lines, blank lines, blob/binary sizes. The former three would provide some metric about code readability (similar to what lok reports), and the latter would suggest if cloning the repo need some significant space (usually those are surprises that I only find out when cloning or going through the local clone with:

find ./ -type f -print0 \
    | xargs -0 -n 1 -I {} du -h '{}' \
    | sort -h  \
    | tail -n 10
@mmahmoudian commented on GitHub (Aug 8, 2022): Just to contribute to the discussion and reasoning: **Code frequency** has multiple use cases: - shows activity status - shows inactive periods (e.g before and after adoption by a new maintainer) - shows deletion and addition of lines - shows if a project is really active or not (always my go-to measure on Github) Also, on top of what @FalconWu2017 and @bestlinuxgamers suggested, it would be very informative to know some general statistics about number/ratio of code lines, comment lines, blank lines, blob/binary sizes. The former three would provide some metric about code readability (similar to what [lok](https://github.com/wyhaya/lok) reports), and the latter would suggest if cloning the repo need some significant space (usually those are surprises that I only find out when cloning or going through the local clone with: ```sh find ./ -type f -print0 \ | xargs -0 -n 1 -I {} du -h '{}' \ | sort -h \ | tail -n 10 ```
Author
Owner

@cabiamdos commented on GitHub (Jun 30, 2023):

I would suggest statistics about how many people visited your gitea server per day in a chart.
Or which people logged in your gitea server per day.

And some other statistics for example how much data was additionally stored, how many GB of interner where used,
etc
etc

@cabiamdos commented on GitHub (Jun 30, 2023): I would suggest statistics about how many people visited your gitea server per day in a chart. Or which people logged in your gitea server per day. And some other statistics for example how much data was additionally stored, how many GB of interner where used, etc etc
Author
Owner

@KaKi87 commented on GitHub (Sep 8, 2024):

Hi,
Any news on this ?
Thanks

@KaKi87 commented on GitHub (Sep 8, 2024): Hi, Any news on this ? Thanks
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#3550