[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: File search
From: |
Ricardo Wurmus |
Subject: |
Re: File search |
Date: |
Mon, 24 Jan 2022 18:03:15 +0100 |
User-agent: |
mu4e 1.6.10; emacs 27.2 |
Ludovic Courtès <ludo@gnu.org> writes:
> Ricardo Wurmus <rekado@elephly.net> skribis:
>
>> raingloom <raingloom@riseup.net> writes:
>>
>>> One use case that I hope can be addressed is TeXlive packages. Trying
>>> to figure out which package corresponded to which missing file was a
>>> nightmare the last I had to use LaTeX.
>>
>> The texlive package database is the authoritative source of information.
>> The file texlive.tlpdb is included in the texlive-bin package, and we’re
>> using it in the importer. I also added (@ (guix import texlive)
>> files-differ?), which compares a texlive package’s output directory with
>> the files that the texlive.tlpdb lists for that package.
>>
>> You can also use it to check what package should provide a certain file.
>> I do this all the time to figure out if our existing packages are
>> incomplete or if we’re just missing a package.
>
> Oh, I had never tried that. Is there a command that browses
> texlive.tlpdb, or do you just open it or grep it?
I just have it open in Emacs and search inside. But we could easily add
a procedure to (guix import texlive) to check the texlive.tlpdb. All
the hard work has already been done; we’re using the same mechanism for
the importer and “files-differ?”.
--
Ricardo
- Re: File search, (continued)
Re: File search, raingloom, 2022/01/22
Re: File search, Ryan Prior, 2022/01/25