aboutsummaryrefslogtreecommitdiff
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015-2023 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (test-graph)
  #:use-module (guix tests)
  #:use-module (guix graph)
  #:use-module (guix scripts graph)
  #:use-module (guix packages)
  #:use-module (guix derivations)
  #:use-module (guix store)
  #:use-module (guix monads)
  #:use-module (guix build-system gnu)
  #:use-module (guix build-system trivial)
  #:use-module (guix gexp)
  #:use-module (guix utils)
  #:use-module (gnu packages)
  #:use-module (gnu packages base)
  #:use-module (gnu packages bootstrap)
  #:use-module (gnu packages guile)
  #:use-module (gnu packages libunistring)
  #:use-module (gnu packages bootstrap)
  #:use-module (ice-9 match)
  #:use-module (ice-9 sandbox)
  #:use-module (srfi srfi-1)
  #:use-module (srfi srfi-11)
  #:use-module (srfi srfi-26)
  #:use-module (srfi srfi-64))

(define %store
  (open-connection-for-tests))

;; Globally disable grafts because they can trigger early builds.
(%graft? #f)

(define (make-recording-backend)
  "Return a <graph-backend> and a thunk that returns the recorded nodes and
edges."
  (let ((nodes '())
        (edges '()))
    (define (record-node id label port)
      (set! nodes (cons (list id label) nodes)))
    (define (record-edge source target port)
      (set! edges (cons (list source target) edges)))
    (define (return)
      (values (reverse nodes) (reverse edges)))

    (values (graph-backend "test" "This is the test backend."
                           (const #t) (const #t)
                           record-node record-edge)
            return)))

(define (package->tuple package)
  "Return a tuple representing PACKAGE as produced by %PACKAGE-NODE-TYPE."
  (list (object-address package)
        (package-full-name package)))

(define (edge->tuple source target)
  "Likewise for an edge from SOURCE to TARGET."
  (list (object-address source)
        (object-address target)))


(test-begin "graph")

(test-assert "package DAG"
  (let-values (((backend nodes+edges) (make-recording-backend)))
    (let* ((p1 (dummy-package "p1"))
           (p2 (dummy-package "p2" (inputs `(("p1" ,p1)))))
           (p3 (dummy-package "p3" (inputs `(("p2" ,p2) ("p1", p1))))))
      (run-with-store %store
        (export-graph (list p3) 'port
                      #:node-type %package-node-type
                      #:backend backend))
      ;; We should see nothing more than these 3 packages.
      (let-values (((nodes edges) (nodes+edges)))
        (and (equal? nodes (map package->tuple (list p3 p2 p1)))
             (equal? edges
                     (map edge->tuple
                          (list p3 p3 p2)
                          (list p2 p1 p1))))))))

(test-assert "package DAG, limited depth"
  (let-values (((backend nodes+edges) (make-recording-backend)))
    (let* ((p1 (dummy-package "p1"))
           (p2 (dummy-package "p2" (inputs `(("p1" ,p1)))))
           (p3 (dummy-package "p3" (inputs `(("p1" ,p1)))))
           (p4 (dummy-package "p4" (inputs `(("p2" ,p2) ("p3" ,p3))))))
      (run-with-store %store
        (export-graph (list p4) 'port
                      #:max-depth 1
                      #:node-type %package-node-type
                      #:backend backend))
      ;; We should see nothing more than these 3 packages.
      (let-values (((nodes edges) (nodes+edges)))
        (and (equal? nodes (map package->tuple (list p4 p2 p3)))
             (equal? edges
                     (map edge->tuple
                          (list p4 p4)
                          (list p2 p3))))))))

(test-assert "package DAG, oops it was a cycle"
  (let-values (((backend nodes+edges) (make-recording-backend)))
    (letrec ((p1 (dummy-package "p1" (inputs `(("p3" ,p3)))))
             (p2 (dummy-package "p2" (inputs `(("p1" ,p1)))))
             (p3 (dummy-package "p3" (inputs `(("p2" ,p2) ("p1", p1))))))
      (call-with-time-limit
       600 ;; If ever this test should fail, we still want it to terminate
       (lambda ()
         (run-with-store %store
           (export-graph (list p3) 'port
                         #:node-type %package-node-type
                         #:backend backend)))
       (lambda ()
         (run-with-store %store
           (export-graph
            (list (dummy-package "timeout-reached"))
            'port
            #:node-type %package-node-type
            #:backend backend))))
      ;; We should see nothing more than these 3 packages.
      (let-values (((nodes edges) (nodes+edges)))
        (and (equal? nodes (map package->tuple (list p3 p2 p1)))
             (equal? edges
                     (map edge->tuple
                          (list p3 p3 p2 p1)
                          (list p2 p1 p1 p3))))))))

(test-assert "reverse package DAG"
  (let-values (((backend nodes+edges) (make-recording-backend)))
    (run-with-store %store
      (export-graph (list libunistring) 'port
                    #:node-type %reverse-package-node-type
                    #:backend backend))
    ;; We should see nothing more than these 3 packages.
    (let-values (((nodes edges) (nodes+edges)))
      (and (member (package->tuple guile-2.0) nodes)
           (->bool (member (edge->tuple libunistring guile-2.0) edges))))))

(test-assert "bag-emerged DAG"
  (let-values (((backend nodes+edges) (make-recording-backend)))
    (let* ((o        (dummy-origin (method (lambda _
                                             (text-file "foo" "bar")))))
           (p        (dummy-package "p" (source o)))
           (implicit (map (match-lambda
                            ((label package) package)
                            ((label package output) package))
                          (standard-packages))))
      (run-with-store %store
        (export-graph (list p) 'port
                      #:node-type %bag-emerged-node-type
                      #:backend backend))
      ;; We should see exactly P and IMPLICIT, with one edge from P to each
      ;; element of IMPLICIT.  O must not appear among NODES.  Note: IMPLICIT
      ;; contains "glibc" twice, once for "out" and a second time for
      ;; "static", hence the 'delete-duplicates' call below.
      (let-values (((nodes edges) (nodes+edges)))
        (and (equal? (match nodes
                       (((labels names) ...)
                        names))
                     (map package-full-name
                          (cons p (delete-duplicates implicit))))
             (equal? (match edges
                       (((sources destinations) ...)
                        (zip (map store-path-package-name sources)
                             (map store-path-package-name destinations))))
                     (map (lambda (destination)
                            (list "p-0.drv"
                                  (string-append
                                   (package-full-name destination "-")
                                   ".drv")))
                          implicit)))))))

(test-assert "bag DAG"                            ;a big town in Iraq
  (let-values (((backend nodes+edges) (make-recording-backend)))
    (let ((p (dummy-package "p")))
      (run-with-store %store
        (export-graph (list p) 'port
                      #:node-type %bag-node-type
                      #:backend backend))
      ;; We should see P, its implicit inputs as well as the whole DAG, which
      ;; should include bootstrap binaries.
      (let-values (((nodes edges) (nodes+edges)))
        (every (lambda (name)
                 (find (cut string=? name <>)
                       (match nodes
                         (((labels names) ...)
                          names))))
               (match (%bootstrap-inputs)
                 (((labels packages) ...)
                  (map package-full-name (filter package? packages)))))))))

(test-assert "bag DAG, including origins"
  (let-values (((backend nodes+edges) (make-recording-backend)))
    (let* ((m (lambda* (uri hash-type hash name #:key system)
                (text-file "foo-1.2.3.tar.gz" "This is a fake!")))
           (o (origin
                (method m) (uri "the-uri")
                (sha256
                 (base32
                  "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))))
           (p (dummy-package "p" (source o))))
      (run-with-store %store
        (export-graph (list p) 'port
                      #:node-type %bag-with-origins-node-type
                      #:backend backend))
      ;; We should see O among the nodes, with an edge coming from P.
      (let-values (((nodes edges) (nodes+edges)))
        (run-with-store %store
          (mlet %store-monad ((o* (lower-object o))
                              (p* (lower-object p))
                              (g  (lower-object (default-guile))))
            (return
             (and (find (match-lambda
                          ((file "the-uri") #t)
                          (_                #f))
                        nodes)
                  (find (match-lambda
                          ((source target)
                           (and (string=? source (derivation-file-name p*))
                                (string=? target o*))))
                        edges)

                  ;; There must also be an edge from O to G.
                  (find (match-lambda
                          ((source target)
                           (and (string=? source o*)
                                (string=? target (derivation-file-name g)))))
                        edges)))))))))

(test-assert "reverse bag DAG"
  (let-values (((dune camomile utop)
                (values (specification->package "dune")
                        (specification->package "ocaml-camomile")
                        (specification->package "ocaml-utop")))
               ((backend nodes+edges) (make-recording-backend)))
    (run-with-store %store
      (export-graph (list dune) 'port
                    #:node-type %reverse-bag-node-type
                    #:backend backend))

    (run-with-store %store
      (mlet %store-monad ((dune-drv       (package->derivation dune))
                          (camomile-drv   (package->derivation camomile))
                          (utop-drv       (package->derivation utop)))
        ;; CAMOMILE uses 'dune-build-system' so DUNE is a direct dependency.
        ;; UTOP is much higher in the stack but it should be there.
        (let-values (((nodes edges) (nodes+edges)))
          (return
           (and (member `(,(derivation-file-name camomile-drv)
                          ,(package-full-name camomile))
                        nodes)
                (->bool (member (map derivation-file-name
                                     (list dune-drv utop-drv))
                                edges)))))))))

(test-assert "derivation DAG"
  (let-values (((backend nodes+edges) (make-recording-backend)))
    (run-with-store %store
      (mlet* %store-monad ((txt   (text-file "text-file" "Hello!"))
                           (guile (package->derivation %bootstrap-guile))
                           (drv   (gexp->derivation "output"
                                                    #~(symlink #$txt #$output)
                                                    #:guile-for-build
                                                    guile)))
        ;; We should get at least these 3 nodes and corresponding edges.
        (mbegin %store-monad
          (export-graph (list drv) 'port
                        #:node-type %derivation-node-type
                        #:backend backend)
          (let-values (((nodes edges) (nodes+edges)))
            ;; XXX: For some reason we need to throw in some 'basename'.
            (return (and (match nodes
                           (((ids labels) ...)
                            (let ((ids (map basename ids)))
                              (every (lambda (item)
                                       (member (basename item) ids))
                                     (list txt
                                           (derivation-file-name drv)
                                           (derivation-file-name guile))))))
                         (every (cut member <>
                                     (map (lambda (edge)
                                            (map basename edge))
                                          edges))
                                (list (map (compose basename derivation-file-name)
                                           (list drv guile))
                                      (list (basename (derivation-file-name drv))
                                            (basename txt))))))))))))

(test-assert "reference DAG"
  (let-values (((backend nodes+edges) (make-recording-backend)))
    (run-with-store %store
      (mlet* %store-monad ((txt   (text-file "text-file" "Hello!"))
                           (guile (package->derivation %bootstrap-guile))
                           (drv   (gexp->derivation "output"
                                                    #~(symlink #$txt #$output)
                                                    #:guile-for-build
                                                    guile))
                           (out -> (derivation->output-path drv)))
        ;; We should see only OUT and TXT, with an edge from the former to the
        ;; latter.
        (mbegin %store-monad
          (built-derivations (list drv))
          (export-graph (list (derivation->output-path drv)) 'port
                        #:node-type %reference-node-type
                        #:backend backend)
          (let-values (((nodes edges) (nodes+edges)))
            (return
             (and (equal? (match nodes
                            (((ids labels) ...)
                             ids))
                          (list out txt))
                  (equal? edges `((,out ,txt)))))))))))

(test-assert "referrer DAG"
  (let-values (((backend nodes+edges) (make-recording-backend)))
    (run-with-store %store
      (mlet* %store-monad ((txt   (text-file "referrer-node" (random-text)))
                           (drv   (gexp->derivation "referrer"
                                                    #~(symlink #$txt #$output)))
                           (out -> (derivation->output-path drv)))
        ;; We should see only TXT and OUT, with an edge from the former to the
        ;; latter.
        (mbegin %store-monad
          (built-derivations (list drv))
          (export-graph (list txt) 'port
                        #:node-type %referrer-node-type
                        #:backend backend)
          (let-values (((nodes edges) (nodes+edges)))
            (return
             (and (equal? (match nodes
                            (((ids labels) ...)
                             ids))
                          (list txt out))
                  (equal? edges `((,txt ,out)))))))))))

(test-assert "module graph"
  (let-values (((backend nodes+edges) (make-recording-backend)))
    (run-with-store %store
      (export-graph '((gnu packages guile)) 'port
                    #:node-type %module-node-type
                    #:backend backend))

    (let-values (((nodes edges) (nodes+edges)))
      (and (member '(gnu packages guile)
                   (match nodes
                     (((ids labels) ...) ids)))
           (->bool (and (member (list '(gnu packages guile)
                                      '(gnu packages libunistring))
                                edges)
                        (member (list '(gnu packages guile)
                                      '(gnu packages bdw-gc))
                                edges)))))))

(test-assert "node-edges"
  (run-with-store %store
    (let ((packages (fold-packages cons '())))
      (mlet %store-monad ((edges (node-edges %package-node-type packages)))
        (return (and (null? (edges hello))
                     (lset= eq?
                            (edges guile-2.0)
                            (match (package-direct-inputs guile-2.0)
                              (((labels packages _ ...) ...)
                               packages)))))))))

(test-equal "node-transitive-edges + node-back-edges"
  '()
  (run-with-store %store
    (let ((packages   (fold-packages cons '()))
          (bootstrap? (lambda (package)
                        (string-contains
                         (location-file (package-location package))
                         "bootstrap.scm")))
          (trivial?   (lambda (package)
                        (eq? (package-build-system package)
                             trivial-build-system)))
          (system-specific? (lambda (package)
                              (memq #:system (package-arguments package)))))
      (mlet %store-monad ((edges (node-back-edges %bag-node-type packages)))
        (let* ((glibc      (canonical-package glibc))
               (dependents (node-transitive-edges (list glibc) edges))
               (diff       (lset-difference eq? packages dependents)))
          ;; All the packages depend on libc, except bootstrap packages, some
          ;; packages that use TRIVIAL-BUILD-SYSTEM, and some that target a
          ;; specific system and thus may depend on a different libc package
          ;; object.
          (return (remove (lambda (package)
                            (or (trivial? package)
                                (bootstrap? package)
                                (system-specific? package)))
                          diff)))))))

(test-assert "node-transitive-edges, no duplicates"
  (run-with-store %store
    (let* ((p0  (dummy-package "p0"))
           (p1a (dummy-package "p1a" (inputs `(("p0" ,p0)))))
           (p1b (dummy-package "p1b" (inputs `(("p0" ,p0)))))
           (p2  (dummy-package "p2" (inputs `(("p1a" ,p1a) ("p1b" ,p1b))))))
      (mlet %store-monad ((edges (node-edges %package-node-type
                                             (list p2 p1a p1b p0))))
        (return (lset= eq? (node-transitive-edges (list p2) edges)
                       (list p1a p1b p0)))))))

(test-assert "node-transitive-edges, references"
  (run-with-store %store
    (mlet* %store-monad ((d0 (package->derivation %bootstrap-guile))
                         (d1 (gexp->derivation "d1"
                                               #~(begin
                                                   (mkdir #$output)
                                                   (symlink #$%bootstrap-guile
                                                            (string-append
                                                             #$output "/l")))))
                         (d2 (gexp->derivation "d2"
                                               #~(begin
                                                   (mkdir #$output)
                                                   (symlink #$d1
                                                            (string-append
                                                             #$output "/l")))))
                         (_  (built-derivations (list d2)))
                         (->node -> (node-type-convert %reference-node-type))
                         (o2      (->node (derivation->output-path d2)))
                         (o1      (->node (derivation->output-path d1)))
                         (o0      (->node (derivation->output-path d0)))
                         (edges   (node-edges %reference-node-type
                                              (append o0 o1 o2)))
                         (reqs    ((store-lift requisites) o2)))
      (return (lset= string=?
                     (append o2 (node-transitive-edges o2 edges)) reqs)))))

(test-equal "node-reachable-count"
  '(3 3)
  (run-with-store %store
    (let* ((p0  (dummy-package "p0"))
           (p1a (dummy-package "p1a" (inputs `(("p0" ,p0)))))
           (p1b (dummy-package "p1b" (inputs `(("p0" ,p0)))))
           (p2  (dummy-package "p2" (inputs `(("p1a" ,p1a) ("p1b" ,p1b))))))
      (mlet* %store-monad ((all -> (list p2 p1a p1b p0))
                           (edges  (node-edges %package-node-type all))
                           (back   (node-back-edges %package-node-type all)))
        (return (list (node-reachable-count (list p2) edges)
                      (node-reachable-count (list p0) back)))))))

(test-equal "shortest-path, packages + derivations"
  '(("p5" "p4" "p1" "p0")
    ("p3" "p2" "p1" "p0")
    #f
    ("p5-0.drv" "p4-0.drv" "p1-0.drv" "p0-0.drv"))
  (run-with-store %store
    (let* ((p0 (dummy-package "p0"))
           (p1 (dummy-package "p1" (inputs `(("p0" ,p0)))))
           (p2 (dummy-package "p2" (inputs `(("p1" ,p1)))))
           (p3 (dummy-package "p3" (inputs `(("p2" ,p2)))))
           (p4 (dummy-package "p4" (inputs `(("p1" ,p1)))))
           (p5 (dummy-package "p5" (inputs `(("p4" ,p4) ("p3" ,p3))))))
      (mlet* %store-monad ((path1 (shortest-path p5 p0 %package-node-type))
                           (path2 (shortest-path p3 p0 %package-node-type))
                           (nope  (shortest-path p3 p4 %package-node-type))
                           (drv5  (package->derivation p5))
                           (drv0  (package->derivation p0))
                           (path3 (shortest-path drv5 drv0
                                                 %derivation-node-type)))
        (return (append (map (lambda (path)
                               (and path (map package-name path)))
                             (list path1 path2 nope))
                        (list (map (node-type-label %derivation-node-type)
                                   path3))))))))

(test-equal "shortest-path, reverse packages"
  '("libffi" "guile" "guile-json")
  (run-with-store %store
    (mlet %store-monad ((path (shortest-path (specification->package "libffi")
                                             guile-json-1
                                             %reverse-package-node-type)))
      (return (map package-name path)))))

(test-equal "shortest-path, references"
  `(("d2" "d1" ,(package-full-name %bootstrap-guile "-"))
    (,(package-full-name %bootstrap-guile "-") "d1" "d2"))
  (run-with-store %store
    (mlet* %store-monad ((d0 (package->derivation %bootstrap-guile))
                         (d1 (gexp->derivation "d1"
                                               #~(begin
                                                   (mkdir #$output)
                                                   (symlink #$%bootstrap-guile
                                                            (string-append
                                                             #$output "/l")))))
                         (d2 (gexp->derivation "d2"
                                               #~(begin
                                                   (mkdir #$output)
                                                   (symlink #$d1
                                                            (string-append
                                                             #$output "/l")))))
                         (_  (built-derivations (list d2)))
                         (->node -> (node-type-convert %reference-node-type))
                         (o2   (->node (derivation->output-path d2)))
                         (o0   (->node (derivation->output-path d0)))
                         (path (shortest-path (first o2) (first o0)
                                              %reference-node-type))
                         (rpath (shortest-path (first o0) (first o2)
                                               %referrer-node-type)))
      (return (list (map (node-type-label %reference-node-type) path)
                    (map (node-type-label %referrer-node-type) rpath))))))

(test-end "graph")
>-rw-r--r--bqn.scm9192logplainabout -rw-r--r--browser-extensions.scm4613logplainabout -rw-r--r--build-tools.scm42508logplainabout -rw-r--r--busybox.scm7713logplainabout -rw-r--r--c.scm56820logplainabout -rw-r--r--calcurse.scm3469logplainabout -rw-r--r--calendar.scm19795logplainabout -rw-r--r--ccache.scm3183logplainabout -rw-r--r--cdrom.scm42776logplainabout -rw-r--r--cedille.scm5388logplainabout -rw-r--r--certs.scm12932logplainabout -rw-r--r--check.scm135434logplainabout -rw-r--r--chemistry.scm51935logplainabout -rw-r--r--chez.scm58481logplainabout -rw-r--r--chicken.scm12183logplainabout -rw-r--r--chromium.scm46223logplainabout -rw-r--r--ci.scm13009logplainabout -rw-r--r--cinnamon.scm5976logplainabout -rw-r--r--clojure.scm28052logplainabout -rw-r--r--cluster.scm11841logplainabout -rw-r--r--cmake.scm18776logplainabout -rw-r--r--cobol.scm3223logplainabout -rw-r--r--code.scm47240logplainabout -rw-r--r--commencement.scm161898logplainabout -rw-r--r--compression.scm120751logplainabout -rw-r--r--compton.scm6374logplainabout -rw-r--r--configuration-management.scm4344logplainabout -rw-r--r--conky.scm3453logplainabout -rw-r--r--connman.scm8187logplainabout -rw-r--r--containers.scm15198logplainabout -rw-r--r--convmv.scm2300logplainabout -rw-r--r--cook.scm4105logplainabout -rw-r--r--coq.scm31441logplainabout -rw-r--r--cpio.scm2300logplainabout -rw-r--r--cpp.scm99603logplainabout -rw-r--r--cppi.scm1775logplainabout -rw-r--r--cran.scm1303438logplainabout -rw-r--r--crates-graphics.scm110439logplainabout -rw-r--r--crates-gtk.scm71594logplainabout -rw-r--r--crates-io.scm2389338logplainabout -rw-r--r--cross-base.scm27914logplainabout -rw-r--r--crypto.scm72414logplainabout -rw-r--r--cryptsetup.scm6632logplainabout -rw-r--r--cups.scm46987logplainabout -rw-r--r--curl.scm17356logplainabout -rw-r--r--cvassistant.scm3600logplainabout -rw-r--r--cybersecurity.scm6306logplainabout -rw-r--r--cyrus-sasl.scm3439logplainabout -rw-r--r--darwin.scm4460logplainabout -rw-r--r--databases.scm200934logplainabout -rw-r--r--datamash.scm6611logplainabout -rw-r--r--datastructures.scm16947logplainabout -rw-r--r--dav.scm6445logplainabout -rw-r--r--dbm.scm8358logplainabout -rw-r--r--dc.scm2177logplainabout -rw-r--r--debian.scm27204logplainabout -rw-r--r--debug.scm38249logplainabout -rw-r--r--dejagnu.scm3502logplainabout -rw-r--r--dezyne.scm5028logplainabout -rw-r--r--dhall.scm5386logplainabout -rw-r--r--dico.scm3645logplainabout -rw-r--r--dictionaries.scm19576logplainabout -rw-r--r--diffoscope.scm14244logplainabout -rw-r--r--digest.scm5494logplainabout -rw-r--r--direct-connect.scm3170logplainabout -rw-r--r--disk.scm62857logplainabout -rw-r--r--display-managers.scm20762logplainabout -rw-r--r--distributed.scm3870logplainabout -rw-r--r--django.scm54940logplainabout -rw-r--r--djvu.scm17009logplainabout -rw-r--r--dlang.scm20284logplainabout -rw-r--r--dns.scm59137logplainabout -rw-r--r--docbook.scm36912logplainabout -rw-r--r--docker.scm32591logplainabout -rw-r--r--documentation.scm17681logplainabout -rw-r--r--dunst.scm3639logplainabout -rw-r--r--dvtm.scm2302logplainabout -rw-r--r--easyrpg.scm4376logplainabout -rw-r--r--ebook.scm28493logplainabout -rw-r--r--ed.scm2372logplainabout -rw-r--r--education.scm47513logplainabout -rw-r--r--efi.scm9698logplainabout -rw-r--r--electronics.scm17678logplainabout -rw-r--r--elf.scm14217logplainabout -rw-r--r--elixir.scm5023logplainabout -rw-r--r--elm.scm28919logplainabout -rw-r--r--emacs-xyz.scm1385039logplainabout -rw-r--r--emacs.scm28307logplainabout -rw-r--r--embedded.scm75053logplainabout -rw-r--r--emulators.scm102606logplainabout -rw-r--r--enchant.scm6443logplainabout -rw-r--r--engineering.scm166716logplainabout -rw-r--r--enlightenment.scm23225logplainabout -rw-r--r--entr.scm3366logplainabout -rw-r--r--erlang.scm29021logplainabout -rw-r--r--esolangs.scm6462logplainabout -rw-r--r--fabric-management.scm9241logplainabout -rw-r--r--fcitx.scm8839logplainabout -rw-r--r--fcitx5.scm21418logplainabout -rw-r--r--figlet.scm1797logplainabout -rw-r--r--file-systems.scm84837logplainabout -rw-r--r--file.scm2852logplainabout -rw-r--r--finance.scm88346logplainabout -rw-r--r--firmware.scm45375logplainabout -rw-r--r--flashing-tools.scm21559logplainabout -rw-r--r--flex.scm3195logplainabout -rw-r--r--fltk.scm6075logplainabout -rw-r--r--fonts.scm124378logplainabout -rw-r--r--fontutils.scm77682logplainabout -rw-r--r--forth.scm2426logplainabout -rw-r--r--fpga.scm23597logplainabout -rw-r--r--freedesktop.scm117537logplainabout -rw-r--r--freeipmi.scm2495logplainabout -rw-r--r--fribidi.scm4167logplainabout -rw-r--r--ftp.scm11875logplainabout -rw-r--r--fvwm.scm3028logplainabout -rw-r--r--game-development.scm117047logplainabout -rw-r--r--games.scm469745logplainabout -rw-r--r--gawk.scm10415logplainabout -rw-r--r--gcal.scm2889logplainabout -rw-r--r--gcc.scm61366logplainabout -rw-r--r--gd.scm6528logplainabout -rw-r--r--gdb.scm8473logplainabout -rw-r--r--genealogy.scm4362logplainabout -rw-r--r--genimage.scm6158logplainabout -rw-r--r--geo.scm114636logplainabout -rw-r--r--gettext.scm14181logplainabout -rw-r--r--ghostscript.scm16930logplainabout -rw-r--r--gimp.scm21196logplainabout -rw-r--r--gkrellm.scm2437logplainabout -rw-r--r--gl.scm47869logplainabout -rw-r--r--glib.scm59191logplainabout -rw-r--r--gnome-xyz.scm66821logplainabout -rw-r--r--gnome.scm516281logplainabout -rw-r--r--gnu-doc.scm4139logplainabout -rw-r--r--gnu-pw-mgr.scm2629logplainabout -rw-r--r--gnucash.scm13672logplainabout -rw-r--r--gnunet.scm18045logplainabout -rw-r--r--gnupg.scm48872logplainabout -rw-r--r--gnustep.scm14767logplainabout -rw-r--r--gnuzilla.scm73882logplainabout -rw-r--r--gobby.scm7917logplainabout -rw-r--r--golang.scm486236logplainabout -rw-r--r--gperf.scm2354logplainabout -rw-r--r--gpodder.scm9195logplainabout -rw-r--r--gps.scm11630logplainabout -rw-r--r--graph.scm26440logplainabout -rw-r--r--graphics.scm103846logplainabout -rw-r--r--graphviz.scm19061logplainabout -rw-r--r--groff.scm12305logplainabout -rw-r--r--groovy.scm37995logplainabout -rw-r--r--gsasl.scm4354logplainabout -rw-r--r--gstreamer.scm41519logplainabout -rw-r--r--gtk.scm119035logplainabout -rw-r--r--guile-wm.scm9119logplainabout -rw-r--r--guile-xyz.scm224375logplainabout -rw-r--r--guile.scm40420logplainabout -rw-r--r--gv.scm3235logplainabout -rw-r--r--gxmessage.scm2313logplainabout -rw-r--r--hardware.scm55422logplainabout -rw-r--r--haskell-apps.scm36726logplainabout -rw-r--r--haskell-check.scm45148logplainabout -rw-r--r--haskell-crypto.scm31231logplainabout -rw-r--r--haskell-web.scm77436logplainabout -rw-r--r--haskell-xyz.scm578548logplainabout -rw-r--r--haskell.scm63701logplainabout -rw-r--r--haxe.scm11558logplainabout -rw-r--r--heads.scm8366logplainabout -rw-r--r--hexedit.scm4577logplainabout -rw-r--r--high-availability.scm9776logplainabout -rw-r--r--hugs.scm3683logplainabout -rw-r--r--hunspell.scm18649logplainabout -rw-r--r--hurd.scm26320logplainabout -rw-r--r--hyperledger.scm8584logplainabout -rw-r--r--i2p.scm3508logplainabout -rw-r--r--ibus.scm37742logplainabout -rw-r--r--icu4c.scm9868logplainabout -rw-r--r--idris.scm12886logplainabout -rw-r--r--idutils.scm3143logplainabout -rw-r--r--image-processing.scm70066logplainabout -rw-r--r--image-viewers.scm45431logplainabout -rw-r--r--image.scm102033logplainabout -rw-r--r--imagemagick.scm11487logplainabout -rw-r--r--inklingreader.scm2147logplainabout -rw-r--r--inkscape.scm13206logplainabout -rw-r--r--installers.scm7482logplainabout -rw-r--r--instrumentation.scm19464logplainabout -rw-r--r--ipfs.scm16117logplainabout -rw-r--r--irc.scm26192logplainabout -rw-r--r--irods.scm12131logplainabout -rw-r--r--iso-codes.scm4910logplainabout -rw-r--r--jami.scm23171logplainabout -rw-r--r--java-bootstrap.scm32728logplainabout -rw-r--r--java-compression.scm15277logplainabout -rw-r--r--java-graphics.scm5022logplainabout -rw-r--r--java-maths.scm3593logplainabout -rw-r--r--java-xml.scm26966logplainabout -rw-r--r--java.scm583466logplainabout -rw-r--r--javascript.scm42591logplainabout -rw-r--r--jemalloc.scm3832logplainabout -rw-r--r--jose.scm1999logplainabout -rw-r--r--jrnl.scm2308logplainabout -rw-r--r--julia-jll.scm109289logplainabout -rw-r--r--julia-xyz.scm242526logplainabout -rw-r--r--julia.scm26105logplainabout -rw-r--r--jupyter.scm31264logplainabout -rw-r--r--kawa.scm2548logplainabout -rw-r--r--kde-frameworks.scm145609logplainabout -rw-r--r--kde-games.scm51173logplainabout -rw-r--r--kde-internet.scm14844logplainabout -rw-r--r--kde-multimedia.scm27508logplainabout -rw-r--r--kde-pim.scm74195logplainabout -rw-r--r--kde-plasma.scm95255logplainabout -rw-r--r--kde-systemtools.scm12722logplainabout -rw-r--r--kde-utils.scm44037logplainabout -rw-r--r--kde.scm51977logplainabout -rw-r--r--kerberos.scm11151logplainabout -rw-r--r--kodi.scm21493logplainabout -rw-r--r--language.scm35061logplainabout -rw-r--r--ld-wrapper.in12362logplainabout -rw-r--r--lean.scm4822logplainabout -rw-r--r--lego.scm6647logplainabout -rw-r--r--less.scm5550logplainabout -rw-r--r--lesstif.scm3382logplainabout -rw-r--r--libbsd.scm2157logplainabout -rw-r--r--libcanberra.scm6131logplainabout -rw-r--r--libdaemon.scm4612logplainabout -rw-r--r--libedit.scm2830logplainabout -rw-r--r--libevent.scm12023logplainabout -rw-r--r--libffcall.scm1922logplainabout -rw-r--r--libffi.scm10392logplainabout -rw-r--r--libftdi.scm1935logplainabout -rw-r--r--libidn.scm3569logplainabout -rw-r--r--libphidget.scm1798logplainabout -rw-r--r--libreoffice.scm45171logplainabout -rw-r--r--libsigsegv.scm2731logplainabout -rw-r--r--libunistring.scm3159logplainabout -rw-r--r--libunwind.scm2817logplainabout -rw-r--r--libusb.scm27509logplainabout -rw-r--r--license.scm9216logplainabout -rw-r--r--lighting.scm3296logplainabout -rw-r--r--linphone.scm42592logplainabout -rw-r--r--linux.scm424243logplainabout -rw-r--r--lirc.scm6316logplainabout -rw-r--r--lisp-check.scm39255logplainabout -rw-r--r--lisp-xyz.scm979670logplainabout -rw-r--r--lisp.scm65979logplainabout -rw-r--r--llvm.scm95890logplainabout -rw-r--r--logging.scm15016logplainabout -rw-r--r--logo.scm2823logplainabout -rw-r--r--loko.scm3517logplainabout -rw-r--r--lout.scm5620logplainabout -rw-r--r--lsof.scm4657logplainabout -rw-r--r--lua.scm53312logplainabout -rw-r--r--lxde.scm26532logplainabout -rw-r--r--lxqt.scm41080logplainabout -rw-r--r--m4.scm2700logplainabout -rw-r--r--machine-learning.scm160331logplainabout -rw-r--r--magic-wormhole.scm6245logplainabout -rw-r--r--mail.scm196188logplainabout -rw-r--r--make-bootstrap.scm39554logplainabout -rw-r--r--man.scm18506logplainabout -rw-r--r--markup.scm19745logplainabout -rw-r--r--marst.scm1763logplainabout -rw-r--r--mastodon.scm6644logplainabout -rw-r--r--mate.scm52570logplainabout -rw-r--r--maths.scm344412logplainabout -rw-r--r--matrix.scm11446logplainabout -rw-r--r--maven-parent-pom.scm23387logplainabout -rw-r--r--maven.scm171119logplainabout -rw-r--r--mc.scm4610logplainabout -rw-r--r--mcrypt.scm4584logplainabout -rw-r--r--medical.scm2344logplainabout -rw-r--r--mercury.scm11210logplainabout -rw-r--r--mes.scm11423logplainabout -rw-r--r--messaging.scm135935logplainabout -rw-r--r--microcom.scm2155logplainabout -rw-r--r--minetest.scm33071logplainabout -rw-r--r--mingw.scm8577logplainabout -rw-r--r--moe.scm2206logplainabout -rw-r--r--mold.scm5058logplainabout -rw-r--r--monitoring.scm33524logplainabout -rw-r--r--moreutils.scm3537logplainabout -rw-r--r--motti.scm1669logplainabout -rw-r--r--mp3.scm32745logplainabout -rw-r--r--mpd.scm23263logplainabout -rw-r--r--mpi.scm24656logplainabout -rw-r--r--mtools.scm2089logplainabout -rw-r--r--multiprecision.scm22766logplainabout -rw-r--r--music.scm272206logplainabout -rw-r--r--musl.scm2190logplainabout -rw-r--r--myrddin.scm2544logplainabout -rw-r--r--nano.scm2150logplainabout -rw-r--r--ncdu.scm4101logplainabout -rw-r--r--ncurses.scm16733logplainabout -rw-r--r--netpbm.scm8287logplainabout -rw-r--r--nettle.scm4570logplainabout -rw-r--r--networking.scm184724logplainabout -rw-r--r--nfs.scm7482logplainabout -rw-r--r--nickle.scm2467logplainabout -rw-r--r--nicotine.scm3764logplainabout -rw-r--r--nim.scm7659logplainabout -rw-r--r--ninja.scm3146logplainabout -rw-r--r--node-xyz.scm61092logplainabout -rw-r--r--node.scm39085logplainabout -rw-r--r--notcurses.scm3208logplainabout -rw-r--r--noweb.scm5108logplainabout -rw-r--r--nss.scm11762logplainabout -rw-r--r--ntp.scm10107logplainabout -rw-r--r--nutrition.scm6528logplainabout -rw-r--r--nvi.scm4375logplainabout -rw-r--r--ocaml.scm347626logplainabout -rw-r--r--ocr.scm12356logplainabout -rw-r--r--onc-rpc.scm7264logplainabout -rw-r--r--openbox.scm4401logplainabout -rw-r--r--opencl.scm14932logplainabout -rw-r--r--opencog.scm11859logplainabout -rw-r--r--openkinect.scm5553logplainabout -rw-r--r--openldap.scm18821logplainabout -rw-r--r--openpgp.scm7835logplainabout -rw-r--r--openstack.scm41198logplainabout -rw-r--r--orange.scm7666logplainabout -rw-r--r--orpheus.scm4051logplainabout -rw-r--r--ots.scm3434logplainabout -rw-r--r--package-management.scm93581logplainabout -rw-r--r--pantheon.scm5920logplainabout -rw-r--r--parallel.scm21745logplainabout -rw-r--r--pascal.scm12928logplainabout -rw-r--r--password-utils.scm63035logplainabout d---------patches69162logplain -rw-r--r--patchutils.scm22248logplainabout -rw-r--r--patool.scm3535logplainabout -rw-r--r--pciutils.scm7462logplainabout -rw-r--r--pcre.scm5942logplainabout -rw-r--r--pdf.scm62270logplainabout -rw-r--r--pem.scm1789logplainabout -rw-r--r--pep.scm13227logplainabout -rw-r--r--perl-check.scm59142logplainabout -rw-r--r--perl-compression.scm8270logplainabout -rw-r--r--perl-maths.scm2883logplainabout -rw-r--r--perl-web.scm4692logplainabout -rw-r--r--perl.scm483901logplainabout -rw-r--r--perl6.scm30806logplainabout -rw-r--r--phabricator.scm3286logplainabout -rw-r--r--photo.scm33297logplainabout -rw-r--r--php.scm22912logplainabout -rw-r--r--piet.scm7482logplainabout -rw-r--r--pikchr.scm2608logplainabout -rw-r--r--pkg-config.scm8168logplainabout -rw-r--r--plan9.scm2724logplainabout -rw-r--r--plotutils.scm18635logplainabout -rw-r--r--poedit.scm2875logplainabout -rw-r--r--polkit.scm9447logplainabout -rw-r--r--popt.scm6253logplainabout -rw-r--r--presentation.scm3947logplainabout -rw-r--r--pretty-print.scm15978logplainabout -rw-r--r--printers.scm2676logplainabout -rw-r--r--profiling.scm17227logplainabout -rw-r--r--prolog.scm7257logplainabout -rw-r--r--protobuf.scm24580logplainabout -rw-r--r--pth.scm2759logplainabout -rw-r--r--pulseaudio.scm21321logplainabout -rw-r--r--pumpio.scm2676logplainabout -rw-r--r--pure.scm2629logplainabout -rw-r--r--purescript.scm5467logplainabout -rw-r--r--pv.scm1974logplainabout -rw-r--r--pypy.scm9294logplainabout -rw-r--r--python-build.scm22595logplainabout -rw-r--r--python-check.scm98499logplainabout -rw-r--r--python-compression.scm20366logplainabout -rw-r--r--python-crypto.scm67213logplainabout -rw-r--r--python-science.scm67213logplainabout -rw-r--r--python-web.scm303441logplainabout -rw-r--r--python-xyz.scm1181150logplainabout -rw-r--r--python.scm37043logplainabout -rw-r--r--qt.scm207723logplainabout -rw-r--r--racket.scm51458logplainabout -rw-r--r--radio.scm100071logplainabout -rw-r--r--ragel.scm3266logplainabout -rw-r--r--rails.scm23208logplainabout -rw-r--r--raspberry-pi.scm24298logplainabout -rw-r--r--ratpoison.scm4256logplainabout -rw-r--r--rcm.scm2855logplainabout -rw-r--r--rdesktop.scm5405logplainabout -rw-r--r--rdf.scm20857logplainabout -rw-r--r--re2c.scm2214logplainabout -rw-r--r--readline.scm6980logplainabout -rw-r--r--rednotebook.scm4037logplainabout -rw-r--r--regex.scm3855logplainabout -rw-r--r--robotics.scm5964logplainabout -rw-r--r--rocm.scm12174logplainabout -rw-r--r--rpc.scm12187logplainabout -rw-r--r--rpm.scm8068logplainabout -rw-r--r--rrdtool.scm3934logplainabout -rw-r--r--rsync.scm4494logplainabout -rw-r--r--ruby.scm502371logplainabout -rw-r--r--rush.scm1896logplainabout -rw-r--r--rust-apps.scm92494logplainabout -rw-r--r--rust.scm37821logplainabout -rw-r--r--sagemath.scm13279logplainabout -rw-r--r--samba.scm22572logplainabout -rw-r--r--sawfish.scm7354logplainabout -rw-r--r--scanner.scm20302logplainabout -rw-r--r--scheme.scm45942logplainabout -rw-r--r--screen.scm7755logplainabout -rw-r--r--scribus.scm3987logplainabout -rw-r--r--scsi.scm4310logplainabout -rw-r--r--sdl.scm26209logplainabout -rw-r--r--search.scm29094logplainabout