Re: File search

2022-01-21 Thread Ricardo Wurmus
raingloom 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.tl

Re: File search

2022-01-21 Thread raingloom
On Fri, 21 Jan 2022 10:03:43 +0100 Ludovic Courtès wrote: > Hello Guix! > > Lately I found myself going several times to > to look for packages providing a given > file and I thought it’s time to do something about it. > > The script below creates an SQLite databas

Re: File search

2022-01-21 Thread Maxim Cournoyer
Hi Ludovic, Thank you for this valuable initiative :-). I like that it sits in few lines and should already be useful for local searches with a minimal front command to query it. Ludovic Courtès writes: > Hi! > > Vagrant Cascadian skribis: > >> What about ... a roughly weekly job that runs on

Re: File search

2022-01-21 Thread Ludovic Courtès
Hi! Vagrant Cascadian skribis: > What about ... a roughly weekly job that runs on ci.guix. to create the > database and packages of parts of the database and a channel that > includes those and utilities to query them so that you can install the > packages and refresh them at your leisure... > >

Re: File search

2022-01-21 Thread Ludovic Courtès
Hi! Mathieu Othacehe skribis: >> I think accuracy (making sure you get results that correspond precisely >> to, say, your current channel revisions and your current system) is not >> a high priority: some result is better than no result. Likewise for >> freshness: results for an older version o

Re: File search

2022-01-21 Thread Vagrant Cascadian
On 2022-01-21, Ludovic Courtès wrote: > Lately I found myself going several times to > to look for packages providing a given > file and I thought it’s time to do something about it. Hah! > The script below creates an SQLite database for the current set of > packages

WSDD Service Module

2022-01-21 Thread Simon Streit
Hello! I've been preparing WSDD [1] for Guix. This is a Web Service Discovery Daemon that replaces host discovery through SMBv1. SMBv1 has been disabled in Samba and Windows for some time now for security reasons. Hence WSDD is a drop in replacement for host discovery. I've packaged wsdd alread

WSDD Service Module

2022-01-21 Thread Simon Streit
Hello! I've been preparing WSDD [1] for Guix. This is a Web Service Discovery Daemon that replaces host discovery through SMBv1. SMBv1 has been disabled in Samba and Windows for some time now for security reasons. Hence WSDD is a drop in replacement for host discovery. I've packaged wsdd alread

Re: using an SRFI that is not available in Guile

2022-01-21 Thread Attila Lendvai
> How about using ‘*unspecified*’ in those cases? hrm, that looks interesting, thanks! i'll try using that first. it's Guile-specific, but then most of the rest of Guix is... > Out of curiosity, in what case do you need to represent “unset fields”? i think an example works better here: consid

Re: File search

2022-01-21 Thread Mathieu Othacehe
Hello Ludo! > Lately I found myself going several times to > to look for packages providing a given > file and I thought it’s time to do something about it. Yeah, I'm also thinking regularly about it but giving up because setting up this mechanism properly turns ou

File search

2022-01-21 Thread Ludovic Courtès
Hello Guix! Lately I found myself going several times to to look for packages providing a given file and I thought it’s time to do something about it. The script below creates an SQLite database for the current set of packages, but only for those already in the store

Re: Return back original implementation for text-config serialization

2022-01-21 Thread Maxime Devos
Andrew Tropin schreef op do 20-01-2022 om 16:20 [+0300]: > [...] > > From what I understood from Liliana's and Maxime's replies: I'm not the > only one finding the original implementation to be more intuitive and > consistent with the rest of Guix API. Please, correct me if I'm wrong. To be clea