Add action to download the source code `tar.gz` of a GitHub release

Đang mở
#529 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 1 ngày

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
42/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
git, github, ruby
Lĩnh vực
release, tooling

Hướng nghiên cứu

Không có tệp, bài kiểm thử hoặc điểm vào nào được nêu tên. Hãy bắt đầu bằng cách truy vết quy trình tự động hóa release hiện đang checkout mã nguồn Git, sau đó xác định action chịu trách nhiệm lấy nội dung release. Hoàn thành có nghĩa là action có thể sử dụng snapshot tar.gz của một release GitHub thay cho việc checkout toàn bộ repository, đồng thời vẫn giữ lại mã nguồn cần thiết cho việc tạo chuỗi.

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

Mô tả

Since moving to XCFramework as the integration method for Gutenberg for Mobile Apps, we have been downloading the source code via Git in order to generate strings, see https://github.com/wordpress-mobile/WordPress-iOS/pull/21416.

Needless to say, checking out the whole repo take a long time, even with --depth 1, which is one of the reasons we moved to XCFramework in the first place.

As we work to hand over release management to the devs, see https://github.com/Automattic/apps-infra-plans/issues/5, it would be good to take the time to remove this bottleneck.

One idea I have is to download the source code from the GitHub release (assuming a release is used, which is in most of the integration cases). After all, what we don't need Git history, only a snapshot of the code.

For reference, the archive for version 1.109.2 is around 20 MB

image
Ngôn ngữ chính
Ruby
Star
32
Fork
7
Merge trung bình
1 ngày 15 giờ
Pull request đã merge (30 ngày)
9

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 wordpress-mobile/release-toolkit

Tất cả issue của wordpress-mobile/release-toolkit

Issue tương tự

Thêm issue về Ruby

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.