From 7cbc837904e857ebd7b6babd94dc9d4d3c9ec530 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Fri, 1 Nov 2024 13:03:25 +0300 Subject: Rename transform-genenetwork-database. * genenetwork-development.scm (transform-genenetwork-database): Rename this to... (transform-genenetwork-database-project): ... this. (transform-genenetwork-database-project): Ditto. --- genenetwork-development.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/genenetwork-development.scm b/genenetwork-development.scm index 79718c9..7366eef 100644 --- a/genenetwork-development.scm +++ b/genenetwork-development.scm @@ -813,7 +813,7 @@ described by CONFIG, a object." ;; Path to where the data directory from which virtuoso loads all the files (define %virtuoso-data-dir "/var/lib/data") -(define (transform-genenetwork-database connection-settings virtuoso-data-dir project) +(define (transform-genenetwork-database-gexp connection-settings virtuoso-data-dir repository) (with-imported-modules '((guix build utils)) (with-packages (list ccwl git-minimal gnu-make guile-3.0 guile-dbd-mysql guile-dbi guile-hashing guile-libyaml guile-sparql @@ -829,7 +829,7 @@ described by CONFIG, a object." ;; exists. This ensures that no other process is ;; running this. (unless (file-exists? build-directory) - (invoke "git" "clone" "--depth" "1" #$(forge-project-repository project) ".") + (invoke "git" "clone" "--depth" "1" #$repository ".") (invoke "make" "-j" (number->string (current-processor-count))) (invoke "./generate-ttl-files.scm" "--settings" #$connection-settings "--output" build-directory) @@ -864,10 +864,10 @@ described by CONFIG, a object." #:guix-daemon-uri %guix-daemon-uri))) (forge-laminar-job (name "transform-genenetwork-database") - (run (transform-genenetwork-database + (run (transform-genenetwork-database-gexp %connection-settings %virtuoso-data-dir - this-forge-project))))) + "https://git.genenetwork.org/gn-transform-databases"))))) (ci-jobs-trigger 'webhook))) -- cgit v1.2.3