diff options
| author | Claude | 2026-06-26 00:00:00 +0000 |
|---|---|---|
| committer | Frederick Muriuki Muriithi | 2026-06-26 10:31:37 -0500 |
| commit | 213b3e4abac4e4f636d49469996ef2f60cae3901 (patch) | |
| tree | 3db9838392f1627d68912622bf464c4dae179407 /services | |
| parent | 2866d00d74286c24e82b2af758f05d951c399b42 (diff) | |
| download | gn-machines-213b3e4abac4e4f636d49469996ef2f60cae3901.tar.gz | |
Replace ad-hoc hline/show-head-commit with %show-commits
Every gexp that logged a repository HEAD commit defined its own local hline and show-head-commit helpers. Now that %show-commits exists as a top-level program-file, replace all five remaining occurrences. For the CD shepherd service gexps (genenetwork2-cd-gexp, genenetwork3-cd-gexp, gn-auth-cd-gexp, gn-guile-gexp) the call moves to just before the with-directory-excursion block that starts the server. No sudo is needed — the shepherd services already run as the genenetwork user. For genenetwork2-tests (the mechanical-rob Laminar job), all three git clones are kept together and followed by a single %show-commits call that logs all three repos at once. Absolute paths are constructed at runtime with (string-append (getcwd) "/repo-name") since the Laminar user owns the fresh clones. In all cases the local hline and show-head-commit definitions are removed entirely.
Diffstat (limited to 'services')
0 files changed, 0 insertions, 0 deletions
