Automate winget updates per release and dry-run the manifest step

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

Maintainer thường phản hồi trong vòng 3 ngày

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

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
47/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
github-actions, python
Lĩnh vực
devops, release

Hướng nghiên cứu

Start with the release job in .github/workflows/ci.yml and the Package managers section of docs/RELEASING.md; inspect how the current manifest step uses Python and GITHUB_TOKEN. Work through the suggested workflow_dispatch dry run for v1.5.0, then the automated winget PR and secret documentation. Done means a dry run succeeds and a new tag updates Scoop and opens a winget-pkgs PR.

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

Mô tả

ci packaging priority: medium

Why it matters

Future releases need winget updates too, and today each one is manual: a new pull request to microsoft/winget-pkgs per version. Separately, the new release-job step that regenerates the Scoop and winget manifests and pushes them to main has never run. It will run for the first time during the next real release, where a failure marks the release job red after the release is already published.

Evidence

  • .github/workflows/ci.yml, last step of the release job ("Update the Scoop and winget manifests on main"): untested, pushes to main with GITHUB_TOKEN, relies on python on the runner and on main not being protected.
  • docs/RELEASING.md, "Package managers": winget submission is a manual PR. The first one is microsoft/winget-pkgs#446760 (waiting on the CLA).

Suggested approach

  1. Move manifest generation into a reusable job that can be triggered with workflow_dispatch for an existing tag (dry-run mode that only uploads the files as an artifact), and run it once for v1.5.0 to prove it works.
  2. Once the first winget version is merged, add vedantmgoyal9/winget-releaser (pinned SHA) to the release job with a fine-grained PAT stored as a secret, so every tag opens the winget update PR automatically.
  3. Document the secret and the fallback (manual wingetcreate submit) in RELEASING.md.

Done when

  • The manifest step has run successfully at least once outside a real release, and a new tag produces both the Scoop update on main and a winget-pkgs PR without manual steps.
Ngôn ngữ chính
Python
Star
0
Fork
2
Merge trung bình
2 ngày 13 giờ
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

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 TMHSDigital/autoclicker

Tất cả issue của TMHSDigital/autoclicker

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.