From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Guix & IPFS Date: Mon, 15 Oct 2018 12:21:59 +0200 Message-ID: <87lg6zfr20.fsf@gnu.org> References: <87r2grk5dj.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:4830:134:3::10]:43787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gC00g-00023A-DG for guix-devel@gnu.org; Mon, 15 Oct 2018 06:22:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gC00f-0003k5-Jc for guix-devel@gnu.org; Mon, 15 Oct 2018 06:22:02 -0400 In-Reply-To: <87r2grk5dj.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Mon, 15 Oct 2018 09:59:04 +0200") 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.org@gnu.org Sender: "Guix-devel" To: Pierre Neidhardt Cc: Guix-devel Hello! Pierre Neidhardt skribis: > I'm in the process of packaging IPFS. > It has about 100 dependencies, most of which are currently missing in > Guix, so that's gonna take me some hours :p FWIW Pierre-Antoine (who was working with me as an intern on Guix-HPC) has given me the last revision of the gopkg importer, which I=E2=80=99m pla= nning to include soon. It might be useful to you! > - IPFS is rather peculiar about its dependency versions. > If I package all those dependencies in Guix, I should use the same > versions. But then we should make sure that no one is going to update > those packages independently, which would break the strict versioning of > IPFS. This seems to be the same for all Go packages: they specify the exact commit of each of their dependencies, AIUI. In practice it may be that upgrading will often be fine, but it does mean that every time we upgrade a Go package, we have to build everything =E2=80=9Cguix refresh -l GO-PACKAGE=E2=80=9D reports to make sur= e. > - gx retrieves the deps over IPFS: how important is this? Should we do > the same? What about using "gx"? We could also implement a new > "gx-fetch" method fully written in Guile. In Guix dependencies are listed statically in the =E2=80=98inputs=E2=80=99 = fields, so I suppose we have to run it once to retrieve that list and then =E2=80=9Cenco= de=E2=80=9D it as =E2=80=98inputs=E2=80=99, no? HTH, Ludo=E2=80=99.