unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Christopher Baines <mail@cbaines.net>
To: Hartmut Goebel <h.goebel@crazy-compilers.com>
Cc: 42291@debbugs.gnu.org
Subject: bug#42291: data service: Show list of files and allow qeuerying
Date: Mon, 13 Jul 2020 20:29:32 +0100	[thread overview]
Message-ID: <877dv7jjs3.fsf@cbaines.net> (raw)
In-Reply-To: <38704555-aa70-e925-d43c-baa02998b58f@crazy-compilers.com>

[-- Attachment #1: Type: text/plain, Size: 1470 bytes --]


Hartmut Goebel <h.goebel@crazy-compilers.com> writes:

> Serverity: wishlist
> I often find myself checking the content of a package. For this I
> would like to be able to inspect the list of files in a package, or
> even query for a specific file.
>
> This is much like Debian does in "list of files" for each package
> (e.g. <https://packages.debian.org/en/buster/amd64/ejabberd-mod-cron/filelist>)
> and with "Search the contents of packages"
> <https://www.debian.org/distrib/packages#search_contents>
>
> Many thanks :-)

Hi Hartmut,

So, I'm in total agreement that this data would be great to have, but so
far I've not been imagining meeting the need to search the files or
contents of store items through the Guix Data Service.

The contents of a package can also be viewed as the contents of a
directory in the store. The Guix Data Service does know about nars, but
just the information in the narinfo file.

What I've had in mind for a while is a service that listens to the Guix
Data Service for new nars, downloads them, indexes them (either just the
files, or file contents too), and then provides a search interface over
this data. It's a little tricky, as you have to decide what to do about
the build reproducibility problem, if a package doesn't build
reproducibly, it's possible to get multiple different lists of files for
the same package.

At the moment, I'm looking at the "building things" area, but I'm still
interested in this.

Thanks,

Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 962 bytes --]

      parent reply	other threads:[~2020-07-13 19:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-09  8:13 bug#42291: data service: Show list of files and allow qeuerying Hartmut Goebel
2020-07-09  9:25 ` zimoun
2020-07-09  9:34   ` Pierre Neidhardt
2020-07-10  1:52   ` Bengt Richter
2020-07-13 19:29 ` Christopher Baines [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877dv7jjs3.fsf@cbaines.net \
    --to=mail@cbaines.net \
    --cc=42291@debbugs.gnu.org \
    --cc=h.goebel@crazy-compilers.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).