Initial commit
This is a service designed to provide information about Guix. At the moment, this initial prototype gathers up information about packages, the associated metadata and derivations. The initial primary use case is to compare two different revisions of Guix, detecting which packages are new, no longer present, updated or otherwise different. It's based on the Mumi project. [1]: https://git.elephly.net/software/mumi.git
This commit is contained in:
commit
5a9262b38d
32 changed files with 9457 additions and 0 deletions
11
guix-data-service/jobs.scm
Normal file
11
guix-data-service/jobs.scm
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
(define-module (guix-data-service jobs)
|
||||
#:use-module (ice-9 match)
|
||||
#:use-module (guix-data-service jobs load-new-guix-revision)
|
||||
#:export (process-jobs))
|
||||
|
||||
(define (process-jobs conn)
|
||||
(match (process-next-load-new-guix-revision-job conn)
|
||||
(#f (begin (simple-format #t "Waiting for new jobs...")
|
||||
(sleep 60)
|
||||
(process-jobs conn)))
|
||||
(_ (process-jobs conn))))
|
||||
Loading…
Add table
Add a link
Reference in a new issue