GNU bug report logs - #62264
[PATCH] Add 'guix locate' command

Previous Next

Package: guix-patches;

Reported by: "Antoine R. Dumont (@ardumont)" <antoine.romain.dumont <at> gmail.com>

Date: Sat, 18 Mar 2023 16:38:03 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ludovic Courtès <ludo <at> gnu.org>
To: 62264 <at> debbugs.gnu.org
Cc: Ludovic Courtès <ludo <at> gnu.org>, Antoine R. Dumont <antoine.romain.dumont <at> gmail.com>, guix-devel <at> gnu.org
Subject: [bug#62264] [PATCH v2 0/3] Add 'guix locate'
Date: Thu,  8 Jun 2023 00:09:51 +0200
Hello!

Here is the “camera-ready” version of the new ‘guix locate’ command
(formerly ‘guix index’) that Antoine and myself have worked on.
I think it’s ready to go.

This version relies only on local knowledge, which means you can
only find packages already in your store.  In a future iteration,
we’ll add an optional mechanism to download the database from
elsewhere.

Thoughts?

Ludo’.

Ludovic Courtès (3):
  store: Tolerate non-existent GC root directories.
  Add 'guix locate'.
  DRAFT news: Add entry for 'guix locate'.

 Makefile.am             |   2 +
 doc/guix.texi           | 118 ++++++++
 etc/news.scm            |  17 ++
 guix/scripts/locate.scm | 657 ++++++++++++++++++++++++++++++++++++++++
 guix/store/roots.scm    |  12 +-
 po/guix/POTFILES.in     |   1 +
 tests/guix-locate.sh    |  72 +++++
 tests/store-roots.scm   |  18 +-
 8 files changed, 892 insertions(+), 5 deletions(-)
 create mode 100644 guix/scripts/locate.scm
 create mode 100755 tests/guix-locate.sh


base-commit: e8f9fb3e03ea8fee0e13f13706a6b16414f74a7b
-- 
2.40.1





This bug report was last modified 2 years and 27 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.