summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorHilton Chain <hako@ultrarare.space>2025-11-30 17:00:53 +0800
committerRutherther <rutherther@ditigal.xyz>2026-01-18 11:15:36 +0100
commit2ae3c69679d3619c06ec37bdc458cf522515c11e (patch)
treeb3afa79d24b1cd73c89b447dda9f6aa701ab1df8 /tests
parent1232e5352621befc6eefeda0ffec55c5bdf5df64 (diff)
import: crate: Generate comments with ‘TODO REVIEW:’ prefix.
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 <rutherther@ditigal.xyz> Merges: #4567
Diffstat (limited to 'tests')
-rw-r--r--tests/import/crate.scm4
1 files changed, 1 insertions, 3 deletions
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)))
311 "aho-corasick" "1.1.3" 311 "aho-corasick" "1.1.3"
312 "05mrpkvdgp5d20y2p989f187ry9diliijgwrs254fs9s1m1x6q4f")) 312 "05mrpkvdgp5d20y2p989f187ry9diliijgwrs254fs9s1m1x6q4f"))
313 (define rust-smithay-0.4.0.0cd3345 313 (define rust-smithay-0.4.0.0cd3345
314 ,($ <comment> 314 ,(? comment?)
315 ";; TODO: Define standalone package if this is a workspace.\n"
316 #f)
317 (origin 315 (origin
318 (method git-fetch) 316 (method git-fetch)
319 (uri (git-reference 317 (uri (git-reference