Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Statistics

Đang mở
#13 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
analytics, api

Hướng nghiên cứu

Bắt đầu bằng việc xem xét công việc về REST API trong issue #9 và giao diện XML-RPC hiện có, vì issue này xác định chúng là các hướng tích hợp khả thi. Được xem là hoàn tất khi số lượng gửi patch và phản hồi được cung cấp thông qua một stats API cho các khoảng thời gian ngày, tuần, tháng và năm; thống kê theo chuỗi được hoãn lại một cách rõ ràng.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement

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

Ngôn ngữ chính
Python
Star
317
Fork
91
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của getpatchwork/patchwork

Tất cả issue của getpatchwork/patchwork

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.