Statistics
还没有人认领这个 Issue。
评估
调研方向
首先查看 issue #9 中的 REST API 工作以及现有的 XML-RPC 接口,因为该 issue 将它们确定为可能的集成路径。完成标准是通过 stats API 提供按日、周、月和年周期统计的补丁提交数与回复数;系列统计明确延期。
由索引模型根据 Issue 内容生成。
描述
From @stephenfin on June 29, 2015 21:15
Overview
Add support for a 'stats' API, which will give access to various projects statistics. We require at least the following:
- Number of submitted patches over given time period (day, week, month, year)
- Number of replies to patches over same periods
Ideally we should also be able to do this for series, but this relies on the work being undertaken by @dlespiau so it will need to wait.
Dependencies
This feature may depend on the integration of a REST API, else the XML-RPC interface can be used (though this has downsides).
Additional Work Items
We will need to add support for additional statistics as they become available (i.e. series). We may also wish to add some graphs to make these visualize these statistics for user.
Alternatives
There is no alternative to this in patchwork itself. If you have access to the database, you could theoretically write your own queries but they won't be public. The best alternative is through the use of Mailman. Mailman 3.0 comes with a REST API that we can parse much of the information from. However, in most mailing lists patches are mixed with other development questions so the statistics that Mailman would return will need some work. A distinct patchwork API would complement the Mailman API quite nicely.
Useful resources
Copied from original issue: stephenfin/patchwork#20
- 主要语言
- Python
- 星标
- 317
- 派生
- 91
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
getpatchwork/patchwork 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
getpatchwork/patchwork#668 ·
-
bug web-ui
难度 2/5 1-3 小时 新手友好度 74/100
getpatchwork/patchwork#546 · 2 条评论 ·
-
难度 3/5 1-2 天 新手友好度 52/100
getpatchwork/patchwork#664 ·
-
难度 4/5 3-5 天 新手友好度 48/100
getpatchwork/patchwork#663 ·
-
难度 3/5 1-2 天 新手友好度 45/100
getpatchwork/patchwork#645 ·
查看 getpatchwork/patchwork 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 90/100
learningequality/ricecooker#747 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
BSData/horus-heresy-3rd-edition#3171 ·
-
enhancement
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 2/5 1-3 小时 新手友好度 76/100
run-llama/llama_index#23199 ·
-
难度 2/5 1-3 小时 新手友好度 84/100
KhronosGroup/glTF-Blender-IO#2769 ·