From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: Re: Package file indexing Date: Wed, 15 Jan 2020 23:14:59 +0100 Message-ID: <8736cgnz8c.fsf@gnu.org> References: <20190314204941.GA21065@jasmine.lan> <87mulx9kuv.fsf@nckx> <87zhpx846u.fsf@ambrevar.xyz> <87bm21y2s2.fsf_-_@gnu.org> <87wo9shenq.fsf@ambrevar.xyz> <87o8v44olo.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> <87blr4ha2x.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:34242) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1irqwH-0004vQ-Fs for guix-devel@gnu.org; Wed, 15 Jan 2020 17:15:02 -0500 In-Reply-To: <87blr4ha2x.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Wed, 15 Jan 2020 19:02:30 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane-mx.org@gnu.org Sender: "Guix-devel" To: Pierre Neidhardt Cc: Guix-devel , =?utf-8?Q?Nicol=C3=B2?= Balzarotti Hello, Pierre Neidhardt skribis: > Thanks Nicol=C3=B2, your feedback was very useful! > > So it's not program-not-found but command-not-found and it's define > here: > > https://github.com/NixOS/nixpkgs/tree/master/nixos/modules/programs/com= mand-not-found > > Then I found this > > https://github.com/NixOS/nixos-channel-scripts > > All this is pretty clear and simple. > > The main thing I wonder at this point is when the > "generate-programs-index.cc" file is run. > > What would be the good entry point in substitute servers to populate > such a database? The database could be updated upon reception of a build-completion notification from build machines or from the Data Service, like Chris proposed. (Or, if it were =E2=80=98guix publish=E2=80=99, it could do that= on demand, the first time a narinfo is requested.) Ludo=E2=80=99.