about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2026-03-13 10:14:43 -0500
committerFrederick Muriuki Muriithi2026-03-19 09:18:35 -0500
commitfd4db768a00a12c9348b809faa525e714fa3a33e (patch)
tree72c1c8eb1be8667168c4d7642a49020fbe12ce24
parent3b488840ff60a140f25dc1d2d24473b70a49fcc5 (diff)
downloadgn-machines-fd4db768a00a12c9348b809faa525e714fa3a33e.tar.gz
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.
-rw-r--r--genenetwork/services/genenetwork.scm10
-rw-r--r--production.scm2
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{<genenetwork-configuration>} record."
   (values
    config
    (match-record config <genenetwork-configuration>
-                 (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{<genenetwork-configuration>} 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")