On Tue, 2021-03-23 at 14:08 +0100, Ludovic Courtès wrote: > [...] > Yes, I think so. We “just” need to package ‘fs-repo-migrations’ first. > > Perhaps it’d be okay, as a first step, to provide an IPFS service that > doesn’t handle migrations automatically. > > [...] Punt for later. > > > The patch LGTM. However, we usually commit services along with a system > > > test under (gnu tests …). The manual has info on how to run individual > > > system tests: > > > > > > https://guix.gnu.org/manual/en/html_node/Running-the-Test-Suite.html > > > > > > Could you write a test that ensures that basic functionality works? It > > > could be as simple as waiting for the service to be up, then invoking > > > ‘ipfs add’ and ‘ipfs get’. WDYT? > > > > [...] I have attached a revised patch series testing such basic functionality. However, I tested the functionality with the HTTP interface instead of with the command line, as the CLI tools assume the IPFS daemon is run as the same user as the CLI tools. (IIRC there is an implementation of the CLI tools somewhere that uses the API endpoint instead of reading/writing to ~/.ipfs, but I don't recall where.) I have a problem: I can't run the test I wrote. $ make && make check-system TESTS="ipfs" > [compilation bla bla] > Compiling Scheme modules... > Selected 1 system tests... > (end of output) For some reason, the test I wrote seems to be ignored. (Also available from my public git repo: ) Greetings, Maxime.