processing / processing/processing-website
Automate Website Update on Processing Release with GitHub Workflows
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- MDX
- Star
- 90
- Fork
- 122
- Merge trung bình
- 1 giờ 43 phút
- Pull request đã merge (30 ngày)
- 3
Mô tả
Problem Statement
The Processing download page does not currently update automatically when a new version is released. As a result, the website must be updated manually through a multi-step process, which can be time-consuming for maintainers.
Proposed Solution
Instead of manually triggering fetchReleases.js, the update of the website can be automated with GitHub workflows whenever a new version of Processing is released. The automation process will fetch the releases from both the Processing and Processing4 repositories and write them to JSON files in the content/download/releases directory. For more information, refer to fetchReleases.js.
The action should make a new release for the website and deploy it by interacting with the existing deploy workflow.
Note: this change will require the Processing4 repository to dispatch an event upon the creation of a new release.
Benefits
- The website will always be up-to-date, providing users with accurate information about the latest version of Processing.
- The manual process of updating the website will be automated, reducing the workload on maintainers and improving efficiency.
- A better user experience, as users will have access to the latest information about Processing at all times.
References
Dispatch event: https://github.com/orgs/community/discussions/26323#discussioncomment-3251448
Notes
The corresponding issue on the processing4 repository can be found at https://github.com/processing/processing4/issues/665
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu với scripts/fetchReleases.js, content/download/releases và .github/workflows/deploy.yml để hiểu luồng hiện tại của việc lấy release và triển khai. Kiểm tra issue Processing4 được liên kết và tài liệu tham chiếu về dispatch-event, sau đó xác minh rằng một Processing release mới sẽ kích hoạt việc cập nhật dữ liệu release và triển khai website.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- github-actions, javascript
- Lĩnh vực
- ci-cd, devops, release
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100