summaryrefslogtreecommitdiff
path: root/tests/import
diff options
context:
space:
mode:
authorHilton Chain <hako@ultrarare.space>2025-11-30 17:00:53 +0800
committerRutherther <rutherther@ditigal.xyz>2026-01-18 10:13:38 +0100
commit01b97dff35a1841152c1e2999de06c6fdf51e7c1 (patch)
tree0c7d50a0df60add086a10050f20da6160f38b18f /tests/import
parent91f1db61860946e486e6aba2ebd8cc64688f79c8 (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/import')
-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)))
"aho-corasick" "1.1.3"
"05mrpkvdgp5d20y2p989f187ry9diliijgwrs254fs9s1m1x6q4f"))
(define rust-smithay-0.4.0.0cd3345
- ,($ <comment>
- ";; TODO: Define standalone package if this is a workspace.\n"
- #f)
+ ,(? comment?)
(origin
(method git-fetch)
(uri (git-reference