From 01b97dff35a1841152c1e2999de06c6fdf51e7c1 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Sun, 30 Nov 2025 17:00:53 +0800 Subject: import: crate: Generate comments with ‘TODO REVIEW:’ prefix. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This distinguishes them from manually added ones. When committing changes, these ‘TODO REVIEW’ comments should be addressed and removed first. If you're working with Rust packaging, please update your local Guix to this commit to apply the change. * guix/import/crate.scm (cargo-lock->expressions): Generate comments with ‘TODO REVIEW:’ prefix. * tests/import/crate.scm ("crate-lockfile-import"): Don't check the exact comment string. * doc/guix-cookbook.texi (Common Workflow for Rust Packaging), * gnu/packages/rust-crates.scm: Adjust accordingly. Change-Id: I76b914b49be46d04cc61b101b6bc9e31cadb7f07 Signed-off-by: Rutherther Merges: #4567 --- tests/import/crate.scm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/import/crate.scm b/tests/import/crate.scm index d0fa582ad1a..e65609896af 100644 --- a/tests/import/crate.scm +++ b/tests/import/crate.scm @@ -311,9 +311,7 @@ version = \"25.2.0\"\n" port))) "aho-corasick" "1.1.3" "05mrpkvdgp5d20y2p989f187ry9diliijgwrs254fs9s1m1x6q4f")) (define rust-smithay-0.4.0.0cd3345 - ,($ - ";; TODO: Define standalone package if this is a workspace.\n" - #f) + ,(? comment?) (origin (method git-fetch) (uri (git-reference -- cgit v1.3