T27-52 — Generate the source archive from the exact tagged commit and clean-build it

Đang mở
#70 0 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
38/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
build-system, release

Hướng nghiên cứu

Read xtask/src/dist.rs and the dist dispatch in xtask/src/main.rs, then check the release workflow and the T27-52 ledger. First confirm that dist --source is available on the target tag and that the tag SHA is approved. Run cargo run -p xtask -- dist --source; done means the archive excludes the listed unwanted files, builds after clean extraction with the locked Cargo commands, and its digest is recorded.

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

Mô tả

release

T27 row: T27-52
Work package: RP-05 — Web, CLI, source archives, production deployment
Priority: P0
Status: BLOCKED

Objective

Produce the canonical source archive and prove it is buildable from a clean extraction.

Acceptance criteria: The archive is generated from the tag SHA; it contains the sources, licenses and build inputs; it excludes build outputs, the gitignored source/ tree and any secret; a clean extraction runs cargo metadata --locked and cargo build --locked; the digest is recorded.

Inputs

xtask/src/dist.rs (source() — git archive, clean-extract, cargo metadata --locked); the tag SHA; the workspace's Cargo.lock.

Authority

docs/tasks/T27-cross-platform-release.md — source archives must extract cleanly and build with documented prerequisites.

Stopping condition

The archive builds from a clean extraction and its digest is recorded.

Verification

cargo run -p xtask -- dist --source

Evidence and blockers

The generator is implemented and wired into release.yml — but it has never been exercised on a real tag. Concretely, xtask dist --source does not exist on main: the dist verb dispatch on main handles only --web and --native (xtask/src/main.rs, USAGE string "dist --web|--native"), so the row is blocked on the main branch as it stands. The generator was verified on the PR #12 ancestor instead (3.35 MB archive, sha256 a0fcaafe…), which is not a tagged release.

Blocker: the dist --source verb landing on main (it ships with the board branch / PR #12), and an approved tag to archive.


Ledger: docs/tasks/T27-52-source-archive.md and docs/release/EXECUTION-BOARD.md row T27-52 (these land with PR #12).
Campaign: docs/planning/release-compaign/Cross-Platform Releas.txt.

Ngôn ngữ chính
Rust
Star
11
Fork
1
Merge trung bình
9 giờ 48 phút
Pull request đã merge (30 ngày)
13

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 aliasfoxkde/FireCraft

Tất cả issue của aliasfoxkde/FireCraft

Issue tương tự

Thêm issue về Rust

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.