unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 12237f82baa277e165e6777173b3a10859f6bd7e 23094 bytes (raw)
name: guix/extensions/index.scm 	 # note: path name is non-authoritative(*)

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
 
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2022 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 (guix extensions index)
  #:use-module ((guix i18n) #:select (G_))
  #:use-module ((guix ui) #:select (show-version-and-exit
                                    show-bug-report-information
                                    with-error-handling
                                    string->number*))
  #:use-module (guix scripts)
  #:use-module (sqlite3)
  #:use-module (ice-9 match)
  #:use-module (ice-9 format)
  #:use-module (ice-9 getopt-long)
  #:use-module (guix describe)
  #:use-module (guix store)
  #:use-module (guix monads)
  #:autoload   (guix combinators) (fold2)
  #:autoload   (guix grafts) (%graft?)
  #:autoload   (guix store roots) (gc-roots)
  #:use-module (guix derivations)
  #:use-module (guix packages)
  #:use-module (guix profiles)
  #:use-module ((guix progress) #:select (progress-reporter/bar
                                          call-with-progress-reporter))
  #:use-module (guix sets)
  #:use-module ((guix utils) #:select (cache-directory))
  #:autoload   (guix build utils) (find-files)
  #:autoload   (gnu packages) (fold-packages)
  #:use-module (srfi srfi-1)
  #:use-module (srfi srfi-9)
  #:use-module (srfi srfi-37)  ;; option
  #:use-module (srfi srfi-71)
  #:export     (guix-index))

(define debug #f)

(define application-version 2)

;; The following schema is the full schema at the `application-version`.  It
;; should be modified according to the development required. If the schema
;; needs modification across time, those should be changed directly in the
;; full-schema and the incremental changes should be referenced below
;; as migration step (for the existing dbs) below.
(define schema-full
  "
create table if not exists SchemaVersion (
  version integer primary key not null,
  date date,
  unique (version)
);

create table if not exists Packages (
  id        integer primary key autoincrement not null,
  name      text not null,
  version   text not null,
  unique    (name, version) -- add uniqueness constraint
);

create table if not exists Directories (
  id        integer primary key autoincrement not null,
  name      text not null,
  package   integer not null,
  foreign key (package) references Packages(id) on delete cascade,
  unique (name, package) -- add uniqueness constraint
);

create table if not exists Files (
  name      text not null,
  basename  text not null,
  directory integer not null,
  foreign key (directory) references Directories(id) on delete cascade
  unique (name, basename, directory) -- add uniqueness constraint
);

create index if not exists IndexFiles on Files(basename);")

;; List of tuple ((version . sqlite schema migration script)).  There should
;; be as much version increments with each step needed to migrate the db.
(define schema-to-migrate '((1 . "
create table if not exists SchemaVersion (
  version integer primary key not null,
  unique (version)
);
")
                            (2 . "
alter table SchemaVersion
add column date date;
")))

(define (call-with-database file proc)
  (let ((db (sqlite-open file)))
    (dynamic-wind
      (lambda () #t)
      (lambda () (proc db))
      (lambda () (sqlite-close db)))))

(define (insert-version db version)
  "Insert application VERSION into the DB."
  (define stmt-insert-version
    (sqlite-prepare db "\
INSERT OR IGNORE INTO SchemaVersion(version, date)
VALUES (:version, CURRENT_TIMESTAMP);"
                    #:cache? #t))
  (sqlite-exec db "begin immediate;")
  (sqlite-bind-arguments stmt-insert-version #:version version)
  (sqlite-fold (const #t) #t stmt-insert-version)
  (sqlite-exec db "commit;"))

(define (read-version db)
  "Read the current application version from the DB."

  (define stmt-select-version (sqlite-prepare db "\
SELECT version FROM SchemaVersion ORDER BY version DESC LIMIT 1;"
                                              #:cache? #f))
  (match (sqlite-fold cons '() stmt-select-version)
    ((#(version))
     version)))

(define (insert-files db package version directories)
    "Insert files from DIRECTORIES as belonging to PACKAGE at VERSION."
    (define stmt-select-package
      (sqlite-prepare db "\
SELECT id FROM Packages WHERE name = :name AND version = :version;"
                      #:cache? #t))

    (define stmt-insert-package
      (sqlite-prepare db "\
INSERT OR IGNORE INTO Packages(name, version) -- to avoid spurious writes
VALUES (:name, :version);"
                      #:cache? #t))

    (define stmt-select-directory
      (sqlite-prepare db "\
SELECT id FROM Directories WHERE name = :name AND package = :package;"
                      #:cache? #t))

    (define stmt-insert-directory
      (sqlite-prepare db "\
INSERT OR IGNORE INTO Directories(name, package) -- to avoid spurious writes
VALUES (:name, :package);"
                      #:cache? #t))

    (define stmt-insert-file
      (sqlite-prepare db "\
INSERT OR IGNORE INTO Files(name, basename, directory)
VALUES (:name, :basename, :directory);"
                      #:cache? #t))

    (sqlite-exec db "begin immediate;")
    (sqlite-bind-arguments stmt-insert-package
                           #:name package
                           #:version version)
    (sqlite-fold (const #t) #t stmt-insert-package)

    (sqlite-bind-arguments stmt-select-package
                           #:name package
                           #:version version)
    (match (sqlite-fold cons '() stmt-select-package)
      ((#(package-id))
       (when debug
         (format #t "(pkg, version, pkg-id): (~a, ~a, ~a)"
                 package version package-id)
         (pk 'package package-id package))
       (for-each (lambda (directory)
                   (define (strip file)
                     (string-drop file (+ (string-length directory) 1)))

                   (sqlite-reset stmt-insert-directory)
                   (sqlite-bind-arguments stmt-insert-directory
                                          #:name directory
                                          #:package package-id)
                   (sqlite-fold (const #t) #t stmt-insert-directory)

                   (sqlite-reset stmt-select-directory)
                   (sqlite-bind-arguments stmt-select-directory
                                          #:name directory
                                          #:package package-id)
                   (match (sqlite-fold cons '() stmt-select-directory)
                     ((#(directory-id))
                      (when debug
                        (format #t "(name, package, dir-id): (~a, ~a, ~a)\n"
                                directory package-id directory-id))
                      (for-each (lambda (file)
                                  ;; If DIRECTORY is a symlink, (find-files
                                  ;; DIRECTORY) returns the DIRECTORY singleton.
                                  (unless (string=? file directory)
                                    (sqlite-reset stmt-insert-file)
                                    (sqlite-bind-arguments stmt-insert-file
                                                           #:name (strip file)
                                                           #:basename
                                                           (basename file)
                                                           #:directory
                                                           directory-id)
                                    (sqlite-fold (const #t) #t stmt-insert-file)))
                                (find-files directory)))))
                 directories)))
    (sqlite-exec db "commit;"))

\f
;;;
;;; Indexing from local packages.
;;;

(define (insert-package db package)
  "Insert all the files of PACKAGE into DB."
  (mlet %store-monad ((drv (package->derivation package #:graft? #f)))
    (match (derivation->output-paths drv)
      (((labels . directories) ...)
       (when (every file-exists? directories)
         (insert-files db (package-name package) (package-version package)
                       directories))
       (return #t)))))

(define* (index-packages-from-store db)
  "Insert all current packages from the local store into the DB."
  (with-store store
    (parameterize ((%graft? #f))
      (let* ((packages   (fold-packages
                          (lambda (package result)
                            (cons package result))
                          '()
                          #:select? (lambda (package)
                                      (and (not (hidden-package? package))
                                           (not (package-superseded package))
                                           (supported-package? package)))))
             (nb-entries (length packages))
             (prefix     (format #f "Registering ~a packages" nb-entries))
             (progress   (progress-reporter/bar nb-entries prefix)))
        (call-with-progress-reporter progress
          (lambda (report)
            (for-each (lambda (package)
                        (run-with-store store
                            (insert-package db package))
                        (report))
                      packages)))))))

\f
;;;
;;; Indexing from local profiles.
;;;

(define (all-profiles)
  "Return the list of system profiles."
  (delete-duplicates
   (filter-map (lambda (root)
                 (if (file-exists? (string-append root "/manifest"))
                     root
                     (let ((root (string-append root "/profile")))
                       (and (file-exists? (string-append root "/manifest"))
                            root))))
               (gc-roots))))

(define (profiles->manifest-entries profiles)
  "Return deduplicated manifest entries across all PROFILES."
  (let loop ((visited (set))
             (profiles profiles)
             (entries '()))
    (match profiles
      (()
       entries)
      ((profile . rest)
       (let* ((manifest (profile-manifest profile))
              (entries visited
                       (fold2 (lambda (entry lst visited)
                                (let ((item (manifest-entry-item entry)))
                                  (if (set-contains? visited item)
                                      (values lst visited)
                                      (values (cons entry lst)
                                              (set-insert item
                                                          visited)))))
                              entries
                              visited
                              (manifest-transitive-entries manifest))))
         (loop visited rest entries))))))

(define (insert-manifest-entry db entry)
  "Insert a manifest ENTRY into DB."
  (insert-files db (manifest-entry-name entry)
                (manifest-entry-version entry)
                (list (manifest-entry-item entry)))) ;FIXME: outputs?

(define (index-packages-from-manifests-with-db db-pathname)
  "Index packages entries into DB-PATHNAME from the system manifests."
  (call-with-database db-pathname
    (lambda (db)
      (let* ((profiles   (all-profiles))
             (entries    (profiles->manifest-entries profiles))
             (nb-entries (length entries))
             (prefix     (format #f "Registering ~a packages" nb-entries))
             (progress   (progress-reporter/bar nb-entries prefix)))
        (call-with-progress-reporter progress
          (lambda (report)
            (for-each (lambda (entry)
                        (insert-manifest-entry db entry)
                        (report))
                      entries)))))))

\f
;;;
;;; Search.
;;;

(define-record-type <package-match>
  (package-match name version file)
  package-match?
  (name      package-match-name)
  (version   package-match-version)
  (file      package-match-file))

(define (matching-packages db file)
  "Return unique <package-match> corresponding to packages containing FILE."
  (define lookup-stmt
    (sqlite-prepare db "\
SELECT Packages.name, Packages.version, Directories.name, Files.name
FROM Packages
INNER JOIN Files, Directories
ON files.basename = :file
  AND directories.id = files.directory
  AND packages.id = directories.package;"))

  (sqlite-bind-arguments lookup-stmt #:file file)
  (sqlite-fold (lambda (result lst)
                 (match result
                   (#(package version directory file)
                    (cons (package-match package version
                                         (string-append directory "/" file))
                          lst))))
               '() lookup-stmt))

\f

;;;
;;; CLI
;;;

(define (index-packages-from-store-with-db db-pathname)
  "Index packages using db at location DB-PATHNAME."
  (call-with-database db-pathname
    (lambda (db)
      (index-packages-from-store db))))

(define (matching-packages-with-db db-pathname file)
  "Compute list of packages referencing FILE using db at DB-PATHNAME."
  (call-with-database db-pathname
    (lambda (db)
      (matching-packages db file))))

(define (read-version-from-db db-pathname)
  (call-with-database db-pathname
    (lambda (db) (read-version db))))

(define (migrate-schema-to-version db-pathname)
  (call-with-database db-pathname
    (lambda (db)
      (catch #t
        (lambda ()
          ;; Migrate from the current version to the full migrated schema
          ;; This can raise sqlite-error if the db is not properly configured yet
          (let* ((current-db-version (read-version db))
                 (next-db-version (+ 1 current-db-version)))
            (when (< current-db-version application-version)
              ;; when the current db version is older than the current application
              (let ((schema-migration-at-version (assoc-ref schema-to-migrate next-db-version)))
                (when schema-migration-at-version
                  ;; migrate the schema to the next version (if it exists)
                  (sqlite-exec db schema-migration-at-version)
                  ;; insert current version
                  (insert-version db next-db-version)
                  ;; iterate over the next migration if any
                  (migrate-schema-to-version db))))))
        (lambda (key . arg)
          ;; exception handler in case failure to read an inexisting db
          ;; Fallback to boostrap the schema
          (sqlite-exec db schema-full)
          (insert-version db application-version))))))

(define (print-matching-results matches)
  "Print the MATCHES matching results."
  (for-each (lambda (result)
              (format #t "~20a ~a~%"
                      (string-append (package-match-name result)
                                     "@" (package-match-version result))
                      (package-match-file result)))
            matches))

(define default-db-path
  (string-append (cache-directory #:ensure? #f)
                 "/index/db.sqlite"))

(define (show-help)
  (display (G_ "Usage: guix index [OPTIONS...] [search FILE...]
Without argument, indexes (package, file) relationships from the machine.
This allows indexation with 2 methods:

- out of the local manifests. This is the fastest implementation but this
indexes less packages. That'd be typically the use case for user local
indexation.

- out of the local store. This is slower due to implementation details (it
discusses with the store daemon for one). That'd be typically the use case for
building the largest db in one of the build farm node.

With 'search FILE', search for packages installing FILE.\n
Note: Internal cache is located at ~/.cache/guix/index/db.sqlite by default.
See --db-path for customization.\n"))
  (newline)
  (display (G_ "The valid values for OPTIONS are:"))
  (newline)
  (display (G_ "
  -h, --help          Display this help and exit"))
  (display (G_ "
  -V, --version       Display version information and exit"))
  (display (G_ "
  --db-path=DIR       Change default location of the cache db"))
  (newline)
  (display (G_ "
  --with-method=METH  Change default indexation method. By default it uses the
                      local \"manifests\" (faster). It can also uses the local
                      \"store\" (slower, typically on the farm build ci)."))
  (newline)
  (display (G_ "The valid values for ARGS are:"))
  (newline)
  (display (G_ "
  search FILE     Search for packages installing the FILE (from cache db)"))
  (newline)
  (display (G_ "
  <EMPTY>         Without any argument, it index packages. This fills in the
                  db cache using whatever indexation method is defined."))
  (show-bug-report-information))

(define %options
  (list
   (option '(#\h "help") #f #f
           (lambda args (show-help) (exit 0)))
   (option '(#\V "version") #f #f
           (lambda (opt name arg result)
             (catch 'sqlite-error
               (lambda ()
                 (let ((db-path (assoc-ref result 'db-path)))
                   (simple-format
                    #t
                    "Extension local cache database:\n- path: ~a\n- version: ~a\n\n"
                    db-path (read-version-from-db db-path))
                   ))
               (lambda (key . arg) 'no-db-yet-so-nothing-to-display))
             (show-version-and-exit "guix index")))
   ;; index data out of the method (store or package)
   (option '(#\d "db-path") #f #t
           (lambda (opt name arg result)
             (when debug
               (format #t "%options: --with-method: opt ~a\n" opt)
               (format #t "%options: --with-method: name ~a\n" name)
               (format #t "%options: --with-method: arg ~a\n" arg)
               (format #t "%options: --with-method: result ~a\n" result))
             (alist-cons 'db-path arg
                         (alist-delete 'db-path result))))

   ;; index data out of the method (store or package)
   (option '(#\m "with-method") #f #t
           (lambda (opt name arg result)
             (when debug
               (format #t "%options: --with-method: opt ~a\n" opt)
               (format #t "%options: --with-method: name ~a\n" name)
               (format #t "%options: --with-method: arg ~a\n" arg)
               (format #t "%options: --with-method: result ~a\n" result))
             (match arg
               ((or "manifests" "store")
                (alist-cons 'with-method arg
                            (alist-delete 'with-method result)))
               (_
                (G_ "guix index: Wrong indexation method, either manifests
 (fast) or store (slow)~%")))))))

(define %default-options
  `((db-path . ,default-db-path)
    (with-method . "manifests")))

(define-command (guix-index . args)
  (category extension)
  (synopsis "Index packages to search package for a given filename")

  (define (parse-sub-command arg result)
    ;; Parse sub-command ARG and augment RESULT accordingly.
    (when debug
      (format #t "parse-sub-command: arg: ~a\n" arg)
      (format #t "parse-sub-command: result: ~a\n" result)
      (format #t "parse-sub-command: (assoc-ref result 'action): ~a\n" (assoc-ref result 'action))
      (format #t "parse-sub-command: (assoc-ref result 'argument): ~a\n" (assoc-ref result 'argument)))
    (if (assoc-ref result 'action)
        (alist-cons 'argument arg result)
        (let ((action (string->symbol arg)))
          (case action
            ((search)
             (alist-cons 'action action result))
            (else (leave (G_ "~a: unknown action~%") action))))))

  (define (match-pair car)
    ;; Return a procedure that matches a pair with CAR.
    (match-lambda
      ((head . tail)
       (and (eq? car head) tail))
      (_ #f)))

  (define (option-arguments opts)
    ;; Extract the plain arguments from OPTS.
    (let* ((args   (reverse (filter-map (match-pair 'argument) opts)))
           (count  (length args))
           (action (or (assoc-ref opts 'action) 'index)))

      (when debug
        (format #t "option-arguments: args: ~a\n" args)
        (format #t "option-arguments: count: ~a\n" count)
        (format #t "option-arguments: action: ~a\n" action))

      (define (fail)
        (leave (G_ "wrong number of arguments for action '~a'~%")
               action))

      (unless action
        (format (current-error-port)
                (G_ "guix index: missing command name~%"))
        (format (current-error-port)
                (G_ "Try 'guix index --help' for more information.~%"))
        (exit 1))
      (alist-cons 'argument (string-concatenate args)
                  (alist-delete 'argument
                                (alist-cons 'action action
                                            (alist-delete 'action opts))))))

  (with-error-handling
    (let* ((opts        (parse-command-line args %options
                                            (list %default-options)
                                            #:argument-handler
                                            parse-sub-command))
           (args        (option-arguments opts))
           (action      (assoc-ref args 'action))
           (db-path     (assoc-ref args 'db-path))
           (with-method (assoc-ref args 'with-method)))
      (when debug
        (format #t "main: opts: ~a\n" opts)
        (format #t "main: args: ~a\n" args)
        (format #t "main: action: ~a\n" action)
        (format #t "main: db-path: ~a\n" db-path)
        (format #t "main: with-method: ~a\n" with-method))

      (match action
        ('search
         (unless (file-exists? db-path)
           (format (current-error-port)
                   (G_ "guix index: The local cache db does not exist yet.
You need to index packages first.\nTry 'guix index --help' for more information.~%"))
           (exit 1))
         (let* ((file (assoc-ref args 'argument))
                (matches (matching-packages-with-db db-path file)))
           (print-matching-results matches)
           (exit (pair? matches))))
        ('index
         (let ((db-dirpath (dirname db-path)))
           (unless (file-exists? db-dirpath)
             (mkdir db-dirpath)))
         ;; Migrate/initialize db to schema at version application-version
         (migrate-schema-to-version db-path)
         ;; Finally index packages
         (if (string= with-method "manifests")
             (index-packages-from-manifests-with-db db-path)
             (index-packages-from-store-with-db db-path)))))))

debug log:

solving 12237f82ba ...
found 12237f82ba in https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/
found 256a43d7fd in https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/
found 56841a4666 in https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/
found 0fd361a485 in https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/
found 878daf4fb6 in https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/
found 3a5015afe1 in https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/
found b89eb9e6c8 in https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/
found 627dddc119 in https://yhetil.org/guix-devel/877cz7qg80.fsf@gmail.com/ ||
	https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/
found 42c2051f13 in https://yhetil.org/guix-devel/877cz7qg80.fsf@gmail.com/ ||
	https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/
found 1c23d9a4f1 in https://yhetil.org/guix-devel/877cz7qg80.fsf@gmail.com/ ||
	https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/
found a7c518e903 in https://yhetil.org/guix-devel/877cz7qg80.fsf@gmail.com/ ||
	https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/
found c40edc7944 in https://yhetil.org/guix-devel/877cz7qg80.fsf@gmail.com/ ||
	https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/
found abaf7df071 in https://yhetil.org/guix-devel/877cz7qg80.fsf@gmail.com/ ||
	https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/
found 4a69df326e in https://yhetil.org/guix-devel/877cz7qg80.fsf@gmail.com/ ||
	https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/
found a7a23c6194 in https://yhetil.org/guix-devel/877cz7qg80.fsf@gmail.com/ ||
	https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/
found ab7661dbac in https://yhetil.org/guix-devel/877cz7qg80.fsf@gmail.com/ ||
	https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/
found 630560b231 in https://yhetil.org/guix-devel/877cz7qg80.fsf@gmail.com/ ||
	https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/
found 7d19e64a07 in https://yhetil.org/guix-devel/877cz7qg80.fsf@gmail.com/ ||
	https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/
found 9679d643a6 in https://yhetil.org/guix-devel/877cz7qg80.fsf@gmail.com/ ||
	https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/
found 3b43ea887e in https://yhetil.org/guix-devel/877cz7qg80.fsf@gmail.com/ ||
	https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/
found ce8306531f in https://yhetil.org/guix-devel/877cz7qg80.fsf@gmail.com/ ||
	https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/
found ab0a0403ec in https://yhetil.org/guix-devel/877cz7qg80.fsf@gmail.com/ ||
	https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/
found 830dfc49fb in https://yhetil.org/guix-devel/877cz7qg80.fsf@gmail.com/ ||
	https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/
found 1e42f5bad8 in https://yhetil.org/guix-devel/877cz7qg80.fsf@gmail.com/ ||
	https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/
found 83aafbc554 in https://yhetil.org/guix-devel/877cz7qg80.fsf@gmail.com/ ||
	https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/

applying [1/25] https://yhetil.org/guix-devel/877cz7qg80.fsf@gmail.com/
diff --git a/guix/extensions/file-database.scm b/guix/extensions/file-database.scm
new file mode 100644
index 0000000000..83aafbc554

Checking patch guix/extensions/file-database.scm...
Applied patch guix/extensions/file-database.scm cleanly.

skipping https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/ for 83aafbc554
index at:
100644 83aafbc55447753c0331e35009d5e8b462d47395	guix/extensions/file-database.scm

applying [2/25] https://yhetil.org/guix-devel/877cz7qg80.fsf@gmail.com/
diff --git a/guix/extensions/file-database.scm b/guix/extensions/locate.scm
similarity index 82%
rename from guix/extensions/file-database.scm
rename to guix/extensions/locate.scm
index 83aafbc554..1e42f5bad8 100644

Checking patch guix/extensions/file-database.scm => guix/extensions/locate.scm...
Applied patch guix/extensions/file-database.scm => guix/extensions/locate.scm cleanly.

skipping https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/ for 1e42f5bad8
index at:
100644 1e42f5bad809dc397ecfd8ba31c6f8b0dc1bf20f	guix/extensions/locate.scm

applying [3/25] https://yhetil.org/guix-devel/877cz7qg80.fsf@gmail.com/
diff --git a/guix/extensions/locate.scm b/guix/extensions/locate.scm
index 1e42f5bad8..830dfc49fb 100644

Checking patch guix/extensions/locate.scm...
Applied patch guix/extensions/locate.scm cleanly.

skipping https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/ for 830dfc49fb
index at:
100644 830dfc49fb3760068804450689515e656035b2e9	guix/extensions/locate.scm

applying [4/25] https://yhetil.org/guix-devel/877cz7qg80.fsf@gmail.com/
diff --git a/guix/extensions/locate.scm b/guix/extensions/locate.scm
index 830dfc49fb..ab0a0403ec 100644

Checking patch guix/extensions/locate.scm...
Applied patch guix/extensions/locate.scm cleanly.

skipping https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/ for ab0a0403ec
index at:
100644 ab0a0403ecfc23f93249aacb687c448df503285d	guix/extensions/locate.scm

applying [5/25] https://yhetil.org/guix-devel/877cz7qg80.fsf@gmail.com/
diff --git a/guix/extensions/locate.scm b/guix/extensions/locate.scm
index ab0a0403ec..ce8306531f 100644

Checking patch guix/extensions/locate.scm...
Applied patch guix/extensions/locate.scm cleanly.

skipping https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/ for ce8306531f
index at:
100644 ce8306531fc238a233f5f81ab8a3135f99912a23	guix/extensions/locate.scm

applying [6/25] https://yhetil.org/guix-devel/877cz7qg80.fsf@gmail.com/
diff --git a/guix/extensions/locate.scm b/guix/extensions/locate.scm
index ce8306531f..3b43ea887e 100644

Checking patch guix/extensions/locate.scm...
Applied patch guix/extensions/locate.scm cleanly.

skipping https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/ for 3b43ea887e
index at:
100644 3b43ea887e99815d477bf059f35a900b73526b58	guix/extensions/locate.scm

applying [7/25] https://yhetil.org/guix-devel/877cz7qg80.fsf@gmail.com/
diff --git a/guix/extensions/locate.scm b/guix/extensions/locate.scm
index 3b43ea887e..9679d643a6 100644

Checking patch guix/extensions/locate.scm...
Applied patch guix/extensions/locate.scm cleanly.

skipping https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/ for 9679d643a6
index at:
100644 9679d643a6a5d92feef005f65aac815d135a486f	guix/extensions/locate.scm

applying [8/25] https://yhetil.org/guix-devel/877cz7qg80.fsf@gmail.com/
diff --git a/guix/extensions/locate.scm b/guix/extensions/locate.scm
index 9679d643a6..7d19e64a07 100644

Checking patch guix/extensions/locate.scm...
Applied patch guix/extensions/locate.scm cleanly.

skipping https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/ for 7d19e64a07
index at:
100644 7d19e64a07f51a51e08b1dbc880922b70daa2acc	guix/extensions/locate.scm

applying [9/25] https://yhetil.org/guix-devel/877cz7qg80.fsf@gmail.com/
diff --git a/guix/extensions/locate.scm b/guix/extensions/locate.scm
index 7d19e64a07..630560b231 100644

Checking patch guix/extensions/locate.scm...
Applied patch guix/extensions/locate.scm cleanly.

skipping https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/ for 630560b231
index at:
100644 630560b231a29096397203cf08b553e52f8e0b43	guix/extensions/locate.scm

applying [10/25] https://yhetil.org/guix-devel/877cz7qg80.fsf@gmail.com/
diff --git a/guix/extensions/locate.scm b/guix/extensions/index.scm
similarity index 93%
rename from guix/extensions/locate.scm
rename to guix/extensions/index.scm
index 630560b231..ab7661dbac 100644

Checking patch guix/extensions/locate.scm => guix/extensions/index.scm...
Applied patch guix/extensions/locate.scm => guix/extensions/index.scm cleanly.

skipping https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/ for ab7661dbac
index at:
100644 ab7661dbacb6eb9405c4fae84044ea01bf48c676	guix/extensions/index.scm

applying [11/25] https://yhetil.org/guix-devel/877cz7qg80.fsf@gmail.com/
diff --git a/guix/extensions/index.scm b/guix/extensions/index.scm
index ab7661dbac..a7a23c6194 100644

Checking patch guix/extensions/index.scm...
Applied patch guix/extensions/index.scm cleanly.

skipping https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/ for a7a23c6194
index at:
100644 a7a23c6194471a23f508bf3b5882291799e1d1e9	guix/extensions/index.scm

applying [12/25] https://yhetil.org/guix-devel/877cz7qg80.fsf@gmail.com/
diff --git a/guix/extensions/index.scm b/guix/extensions/index.scm
index a7a23c6194..4a69df326e 100644

Checking patch guix/extensions/index.scm...
Applied patch guix/extensions/index.scm cleanly.

skipping https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/ for 4a69df326e
index at:
100644 4a69df326ecfb01bfc83a902b379bbc7a3ac8664	guix/extensions/index.scm

applying [13/25] https://yhetil.org/guix-devel/877cz7qg80.fsf@gmail.com/
diff --git a/guix/extensions/index.scm b/guix/extensions/index.scm
index 4a69df326e..abaf7df071 100644

Checking patch guix/extensions/index.scm...
Applied patch guix/extensions/index.scm cleanly.

skipping https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/ for abaf7df071
index at:
100644 abaf7df07191bfa73a4bc0eef05de13689b45a9d	guix/extensions/index.scm

applying [14/25] https://yhetil.org/guix-devel/877cz7qg80.fsf@gmail.com/
diff --git a/guix/extensions/index.scm b/guix/extensions/index.scm
index abaf7df071..c40edc7944 100644

Checking patch guix/extensions/index.scm...
Applied patch guix/extensions/index.scm cleanly.

skipping https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/ for c40edc7944
index at:
100644 c40edc79449e67241d9f2ed2f771e2d4d45c4399	guix/extensions/index.scm

applying [15/25] https://yhetil.org/guix-devel/877cz7qg80.fsf@gmail.com/
diff --git a/guix/extensions/index.scm b/guix/extensions/index.scm
index c40edc7944..a7c518e903 100644

Checking patch guix/extensions/index.scm...
Applied patch guix/extensions/index.scm cleanly.

skipping https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/ for a7c518e903
index at:
100644 a7c518e903746236dc6a8a138a0d357975f78d08	guix/extensions/index.scm

applying [16/25] https://yhetil.org/guix-devel/877cz7qg80.fsf@gmail.com/
diff --git a/guix/extensions/index.scm b/guix/extensions/index.scm
index a7c518e903..1c23d9a4f1 100644

Checking patch guix/extensions/index.scm...
Applied patch guix/extensions/index.scm cleanly.

skipping https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/ for 1c23d9a4f1
index at:
100644 1c23d9a4f1af72788bffd3c31edb0570f486f660	guix/extensions/index.scm

applying [17/25] https://yhetil.org/guix-devel/877cz7qg80.fsf@gmail.com/
diff --git a/guix/extensions/index.scm b/guix/extensions/index.scm
index 1c23d9a4f1..42c2051f13 100644

Checking patch guix/extensions/index.scm...
Applied patch guix/extensions/index.scm cleanly.

skipping https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/ for 42c2051f13
index at:
100644 42c2051f13de67613a659eaea567b0f26cca0151	guix/extensions/index.scm

applying [18/25] https://yhetil.org/guix-devel/877cz7qg80.fsf@gmail.com/
diff --git a/guix/extensions/index.scm b/guix/extensions/index.scm
index 42c2051f13..627dddc119 100644

Checking patch guix/extensions/index.scm...
Applied patch guix/extensions/index.scm cleanly.

skipping https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/ for 627dddc119
index at:
100644 627dddc11922bd2d059c0956eb78a834dad081ad	guix/extensions/index.scm

applying [19/25] https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/
diff --git a/guix/extensions/index.scm b/guix/extensions/index.scm
index 627dddc119..b89eb9e6c8 100644


applying [20/25] https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/
diff --git a/guix/extensions/index.scm b/guix/extensions/index.scm
index b89eb9e6c8..3a5015afe1 100644


applying [21/25] https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/
diff --git a/guix/extensions/index.scm b/guix/extensions/index.scm
index 3a5015afe1..878daf4fb6 100644


applying [22/25] https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/
diff --git a/guix/extensions/index.scm b/guix/extensions/index.scm
index 878daf4fb6..0fd361a485 100644


applying [23/25] https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/
diff --git a/guix/extensions/index.scm b/guix/extensions/index.scm
index 0fd361a485..56841a4666 100644


applying [24/25] https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/
diff --git a/guix/extensions/index.scm b/guix/extensions/index.scm
index 56841a4666..256a43d7fd 100644


applying [25/25] https://yhetil.org/guix-devel/87pmck7g6y.fsf@gmail.com/
diff --git a/guix/extensions/index.scm b/guix/extensions/index.scm
index 256a43d7fd..12237f82ba 100644

Checking patch guix/extensions/index.scm...
Applied patch guix/extensions/index.scm cleanly.
Checking patch guix/extensions/index.scm...
Applied patch guix/extensions/index.scm cleanly.
Checking patch guix/extensions/index.scm...
Applied patch guix/extensions/index.scm cleanly.
Checking patch guix/extensions/index.scm...
Applied patch guix/extensions/index.scm cleanly.
Checking patch guix/extensions/index.scm...
Applied patch guix/extensions/index.scm cleanly.
Checking patch guix/extensions/index.scm...
Applied patch guix/extensions/index.scm cleanly.
Checking patch guix/extensions/index.scm...
Applied patch guix/extensions/index.scm cleanly.

index at:
100644 12237f82baa277e165e6777173b3a10859f6bd7e	guix/extensions/index.scm

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).