aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-11-01 13:03:25 +0300
committerMunyoki Kilyungi2024-11-12 11:45:16 +0300
commit7cbc837904e857ebd7b6babd94dc9d4d3c9ec530 (patch)
tree9baaa2ca6153e4262e0c5a4aee1c0226cf56b45d
parent827d2ec3c21033641e4ef9d84049db8d63c2fbd1 (diff)
downloadgn-machines-7cbc837904e857ebd7b6babd94dc9d4d3c9ec530.tar.gz
Rename transform-genenetwork-database.
* genenetwork-development.scm (transform-genenetwork-database): Rename this to... (transform-genenetwork-database-project): ... this. (transform-genenetwork-database-project): Ditto.
-rw-r--r--genenetwork-development.scm8
1 files 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 <genenetwork-configuration> 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 <genenetwork-configuration> 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 <genenetwork-configuration> 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)))