executable_guix-my-services 631 B

1234567891011121314
  1. (define c (open-connection))
  2. (latest-repository-commit c "https://git.savannah.gnu.org/git/guix.git"
  3. #:ref '(commit . "4289d1d71cbbb1895354ec3b0cb8c99a4ce9f9be"))
  4. (format #t "~{~a~%~}"
  5. (filter (lambda (value)
  6. (or (and (string-suffix? "service." value)
  7. (string-prefix? "gnu: Add" value))
  8. (string-prefix? "services:" value)
  9. (string-prefix? "gnu: services:" value)))
  10. (string-split (git-output "log" (string-append "--author=" %author) "--format=%s")
  11. #\newline)))