MetOffice / MetOffice/SimSys_Scripts

Expanding project reporting functionality

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

@cameronbateman-mo đang làm issue này rồi.

Từ ngày 6/3/2026.

Ngôn ngữ chính
Python
Star
9
Fork
19
Merge trung bình
5 ngày 48 phút
Pull request đã merge (30 ngày)
4

Mô tả

Once finish_milestone.py has been run all the PRs are archived from the project. In order to easily gather statistics about a release its therefore good to gather that information as part of the script. There is currently a short reporting function that prints the number of pull requests by repo to the terminal while running which can be expanded and modified.

Questions:
* What is the best format for storing these statistics? [A spreadsheet was put together for 2026.03.1 to manually record the data before the archiving was done. Follow this principle?](https://metoffice.sharepoint.com/:x:/r/sites/scienceitteam/Shared%20Documents/SSD%20Team/Release%20Notes/2026.03.1%20Stats.xlsx?d=wac715e53533c4b0ab07a6cb55b0009fc&csf=1&web=1&e=i4wvSr)
* Is this functionality only needed after the release (and can therefore be part of finish_milestone.py), or would it be nice to run mid-release to gather information (e.g. for a presentation or meeting) and therefore should be a standalone script that can be called by finish_milestone.py?
* What details need to be gathered? The 2026.03.1 caught assignees, reviewers, repos and labels. Is this all?

Breakdown:
- [ ] In finish_milestone.py modify the report to store the current repository data to a suitable file
- [ ] Update review_project.py so that all details required are extracted from the raw json
- [ ] Add functions to aggregate those statistics nicely (there are routines for counting items but they are limited at the moment)
- [ ] Expand report funtions to cover the extra stats
- [ ] Move report functionality to its own file if wanted
- [ ] Investigate no error being thrown when permissions for archiving are not set correctly for the user of the script.

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.

Đánh giá

Issue này chưa được đánh giá.

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.