From 862217c054eb4cc94e6fd497d618eb8498d2be51 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Tue, 18 Jun 2019 10:04:23 +0100 Subject: WIP --- guix-data-service/model/package-metadata.scm | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/guix-data-service/model/package-metadata.scm b/guix-data-service/model/package-metadata.scm index 37a8da8..c890d0b 100644 --- a/guix-data-service/model/package-metadata.scm +++ b/guix-data-service/model/package-metadata.scm @@ -142,6 +142,17 @@ WHERE packages.id IN ( (select-package-metadata package-metadata) cdr first)) ;; id)) + (log1 (vlist-map + (match-lambda + ((a . b) + (when (string=? b "5") + (peek "VALUE FOR 5" a)))) + existing-package-metadata-entries)) + (log2 (for-each (lambda (metadata) + (peek "CHECKING" metadata) + (peek (vhash-assoc metadata + existing-package-metadata-entries))) + (take package-metadata 10))) (missing-package-metadata-entries (delete-duplicates (filter (lambda (metadata) -- cgit v1.2.3