From fd4db768a00a12c9348b809faa525e714fa3a33e Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Fri, 13 Mar 2026 10:14:43 -0500 Subject: gn-guile: Rename config to 'gn-doc-remote-uri' Rename from 'gn-doc-git-checkout' to 'gn-doc-remote-uri' to make the name better elaborate on what the configuration is about. --- genenetwork/services/genenetwork.scm | 10 +++++----- production.scm | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/genenetwork/services/genenetwork.scm b/genenetwork/services/genenetwork.scm index 7f232dc..15999a2 100644 --- a/genenetwork/services/genenetwork.scm +++ b/genenetwork/services/genenetwork.scm @@ -128,8 +128,8 @@ (default "/opt/home/gn-guile/.ssh/known_hosts")) (gn-guile-working-dir genenetwork-configuration-gn-guile-working-dir (default "/export/data")) - (gn-doc-git-checkout genenetwork-configuration-gn-doc-git-checkout - (default "/export/data/gn-docs")) + (gn-doc-remote-uri genenetwork-configuration-gn-doc-remote-uri + (default "/export/data/gn-docs.git")) (gn-docs-working-branch genenetwork-configuration-gn-docs-working-branch (default "gn-production-branch")) (gn-virtuoso-ttl-directory genenetwork-configuration-gn-virtuoso-ttl-directory @@ -670,7 +670,7 @@ a @code{} record." (values config (match-record config - (gn-guile-port gn-guile gn-guile-ssh-identity-file gn-guile-known-hosts-file gn-doc-git-checkout gn-docs-working-branch) + (gn-guile-port gn-guile gn-guile-ssh-identity-file gn-guile-known-hosts-file gn-doc-remote-uri gn-docs-working-branch) (with-imported-modules '((guix build utils)) #~(begin (use-modules (guix build utils)) @@ -696,12 +696,12 @@ a @code{} record." (setenv "GIT_COMMITTER_NAME" "genenetwork") (setenv "GIT_COMMITTER_EMAIL" "no-reply@git.genenetwork.org") (setenv "CURRENT_REPO_PATH" current-repo-path) - (setenv "CGIT_REPO_PATH" #$gn-doc-git-checkout) + (setenv "CGIT_REPO_PATH" #$gn-doc-remote-uri) (when (file-exists? current-repo-path) (delete-file-recursively current-repo-path)) (invoke #$(file-append git-minimal "/bin/git") - "clone" "--depth" "1" "--branch" #$gn-docs-working-branch #$gn-doc-git-checkout)) + "clone" "--depth" "1" "--branch" #$gn-docs-working-branch #$gn-doc-remote-uri)) (invoke #$(file-append gn-guile "/bin/gn-guile") (number->string #$gn-guile-port))))))) diff --git a/production.scm b/production.scm index ef5708b..b4590e5 100644 --- a/production.scm +++ b/production.scm @@ -88,7 +88,7 @@ (llm-db-path "/var/lib/genenetwork/sqlite/genenetwork3/llm.db") (gn3-alias-server-port 9800) (gn-tmpdir "/opt/gn/tmp") - (gn-doc-git-checkout "git@git.genenetwork.org:/home/git/public/gn-docs") + (gn-doc-remote-uri "git@git.genenetwork.org:/home/git/public/gn-docs") (gn-guile-working-dir "/var/lib/genenetwork/gn-guile/") (gn-docs-working-branch "gn2-production-branch") (gn-guile-ssh-identity-file "/opt/home/gn-guile/.ssh/id-ed25519-gn2-production-on-tux04") -- cgit 1.4.1