Move away from cgit to more flexible linking to repositories

This commit is contained in:
Christopher Baines 2025-05-24 22:55:35 +01:00
parent 36f30551cb
commit 5717ce82ce
19 changed files with 405 additions and 262 deletions

View file

@ -212,13 +212,14 @@
(for-each
(lambda (git-repository-details)
(when (fifth git-repository-details)
(simple-format #t "starting thread to poll ~A (~A)\n"
(second git-repository-details)
(third git-repository-details))
(let ((id (assq-ref git-repository-details 'id)))
(when (assq-ref git-repository-details
'poll-interval)
(simple-format #t "starting thread to poll ~A (~A)\n"
id
(assq-ref git-repository-details 'url))
(start-thread-to-poll-git-repository
(first git-repository-details))))
(start-thread-to-poll-git-repository id))))
(with-postgresql-connection
"poll-startup"
all-git-repositories))