aboutsummaryrefslogtreecommitdiff
ModeNameSize
-rw-r--r--.dir-locals.el10376logplainabout
-rw-r--r--.editorconfig311logplainabout
-rw-r--r--.gitattributes73logplainabout
-rw-r--r--.gitignore2705logplainabout
-rw-r--r--.guix-authorizations4514logplainabout
-rw-r--r--.guix-channel182logplainabout
-rw-r--r--.mailmap4921logplainabout
-rw-r--r--.patman331logplainabout
-rw-r--r--AUTHORS472logplainabout
-rw-r--r--CODE-OF-CONDUCT5321logplainabout
-rw-r--r--COPYING35147logplainabout
-rw-r--r--ChangeLog163logplainabout
-rw-r--r--HACKING748logplainabout
-rw-r--r--Makefile.am39533logplainabout
-rw-r--r--NEWS382196logplainabout
-rw-r--r--README4885logplainabout
-rw-r--r--ROADMAP3257logplainabout
-rw-r--r--THANKS2388logplainabout
-rw-r--r--TODO4360logplainabout
-rwxr-xr-xbootstrap844logplainabout
d---------build-aux688logplain
-rw-r--r--config-daemon.ac4406logplainabout
-rw-r--r--configure.ac8771logplainabout
d---------doc504logplain
d---------etc1127logplain
-rw-r--r--gnu.scm5289logplainabout
d---------gnu807logplain
-rw-r--r--guix.scm1452logplainabout
d---------guix3508logplain
d---------m435logplain
d---------nix282logplain
d---------po96logplain
d---------scripts35logplain
d---------tests4867logplain
ons '()) (description ""))) (t2 (service-type (name 't2) (extensions '()) (description ""))) (t3 (service-type (name 't3) (extensions '()) (description ""))) (services (list (service t1 1) (service t2 2) (service t3 3)))) (map service-value (modify-services services (t1 value => 11) (t3 value => 33))))) (test-error "modify-services: change value for non-existing service" #t (let* ((t1 (service-type (name 't1) (extensions '()) (description ""))) (t2 (service-type (name 't2) (extensions '()) (description ""))) (t3 (service-type (name 't3) (extensions '()) (description ""))) (services (list (service t1 1) (service t3 3)))) (map service-value (modify-services services (t2 value => 22))))) (test-error "modify-services: delete then modify" #t (let* ((t1 (service-type (name 't1) (extensions '()) (description ""))) (t2 (service-type (name 't2) (extensions '()) (description ""))) (t3 (service-type (name 't3) (extensions '()) (description ""))) (services (list (service t1 1) (service t2 2) (service t3 3)))) (map service-value (modify-services services (delete t2) (t2 value => 22))))) (test-equal "modify-services: modify then delete" '(2 3) (let* ((t1 (service-type (name 't1) (extensions '()) (description ""))) (t2 (service-type (name 't2) (extensions '()) (description ""))) (t3 (service-type (name 't3) (extensions '()) (description ""))) (services (list (service t1 1) (service t2 2) (service t3 3)))) (map service-value (modify-services services (t1 value => 11) (delete t1))))) (test-equal "modify-services: delete multiple services of the same type" '(1 3) (let* ((t1 (service-type (name 't1) (extensions '()) (description ""))) (t2 (service-type (name 't2) (extensions '()) (description ""))) (t3 (service-type (name 't3) (extensions '()) (description ""))) (services (list (service t1 1) (service t2 2) (service t2 2) (service t3 3)))) (map service-value (modify-services services (delete t2))))) (test-equal "modify-services: modify multiple services of the same type" '(1 12 13 4) (let* ((t1 (service-type (name 't1) (extensions '()) (description ""))) (t2 (service-type (name 't2) (extensions '()) (description ""))) (t3 (service-type (name 't3) (extensions '()) (description ""))) (services (list (service t1 1) (service t2 2) (service t2 3) (service t3 4)))) (map service-value (modify-services services (t2 value => (+ value 10)))))) (test-end)