Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/donhui/gitlab-ranking-list
gitlab 排行榜(通过数据,发现问题)
https://github.com/donhui/gitlab-ranking-list
gitlab gitlab-api gitlab-tool
Last synced: about 1 month ago
JSON representation
gitlab 排行榜(通过数据,发现问题)
- Host: GitHub
- URL: https://github.com/donhui/gitlab-ranking-list
- Owner: donhui
- Created: 2020-03-20T08:17:41.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-03T02:12:29.000Z (almost 5 years ago)
- Last Synced: 2024-11-08T20:38:24.563Z (3 months ago)
- Topics: gitlab, gitlab-api, gitlab-tool
- Language: Python
- Size: 6.84 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 背景
在管理/维护 gitlab 服务的过程中,总会思考如下问题例如:为什么仓库很大?是代码中包含二进制?还是分支过多?或者是其它原因?
于是,便想通过数据分析,发现 gitlab 使用中的反模式,从而为规范使用行为提供数据支持
## gitlab 排行榜
仓库大小排行榜(排除掉 forked 仓库),按仓库大小降序排列,以网页表格的形式展示 TOP 100## 环境要求
Python 3.4+备注:如果使用的是 Python 2.7,请查看相关历史 [tag](https://github.com/donhui/gitlab-ranking-list/releases/tag/python-2-release)
## 使用方式
- 安装依赖:`pip install -r requirements.txt`
- 修改配置:修改 `settings.py` 中的 gitlab 相关认证信息
- 运行脚本:使用 python 运行 `gitlab-ranking-list.py`
- 查看结果:脚本执行完毕后,会生成 `gitlab-ranking-list.html`,可以用浏览器打开查看备注:仓库数量越多,脚本执行的时间会越长