From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id lplgE0DeEmCtZAAA0tVLHw (envelope-from ) for ; Thu, 28 Jan 2021 15:54:40 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id CECpDkDeEmCefwAA1q6Kng (envelope-from ) for ; Thu, 28 Jan 2021 15:54:40 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 07BA4940105 for ; Thu, 28 Jan 2021 15:54:39 +0000 (UTC) Received: from localhost ([::1]:60766 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l59d0-0003fL-TG for larch@yhetil.org; Thu, 28 Jan 2021 10:54:38 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l59cq-0003e1-Ja for guix-devel@gnu.org; Thu, 28 Jan 2021 10:54:28 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44846) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l59cq-0000Gh-CF; Thu, 28 Jan 2021 10:54:28 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=58392 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l59cp-0002py-Sx; Thu, 28 Jan 2021 10:54:28 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: zimoun Subject: Re: [bug#45919] [PATCH 0/8] Exporting a manifest and channels from a profile References: <20210116182957.31075-1-ludo@gnu.org> <87wnvyv7w6.fsf@gnu.org> <86bldahz42.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 9 =?utf-8?Q?Pluvi=C3=B4se?= an 229 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 28 Jan 2021 16:54:26 +0100 In-Reply-To: <86bldahz42.fsf@gmail.com> (zimoun's message of "Wed, 27 Jan 2021 22:02:53 +0100") Message-ID: <8735ylm4zx.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel , 45919@debbugs.gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.85 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 07BA4940105 X-Spam-Score: -2.85 X-Migadu-Scanner: scn0.migadu.com X-TUID: 0QgF/wCoDVT1 Hi, zimoun skribis: > On Wed, 27 Jan 2021 at 14:14, Ludovic Court=C3=A8s wrote: >> Ludovic Court=C3=A8s skribis: >> >>> Here=E2=80=99s a simple but oft-requested feature (I remember discussing >>> with Pierre and Simon a year ago at the Guix Days about ways to >>> implement it=E2=80=94time flies!): these patches provide =E2=80=98guix = package >>> --export-manifest=E2=80=99 and =E2=80=98--export-channels=E2=80=99. Th= ese options spit >>> a manifest and a channel spec, respectively, with the goal of >>> helping users who wish to migrate to the declarative model. >> >> I=E2=80=99m rather happy with this patch set but since this is something= we=E2=80=99ve >> discussed several times in the past, I think it=E2=80=99d be great if th= ose >> interested could chime in and comment: >> >> https://issues.guix.gnu.org/45919 >> >> I=E2=80=99ll leave a few more days and then=E2=80=A6 push! > > You are looking at me? :-) Yes, but not just. :-) > Well, the feature is nice! At first, I thought that it could be a bit > smarter than using only one commit. But as you said, the aim is for > transitioning. Maybe a future improvement should to list somewhere in > the comments which commit provides which set of packages. It could > help=E2=80=A6 or not. :-) > > Using Docker, it works. Let describe how in case people are interested. [...] > Awesome! Woow, thanks for explaining the experiment, it=E2=80=99s a nice one! Would= be worth turning into a blog post, maybe for hpc.guix.info? > The unexpected is this channels and manifests files do not reproduce the > same Docker pack tarball: > > $ guix describe > Generation 99 Jan 05 2021 16:56:39 (current) > guix-past 829923f > repository URL: https://gitlab.inria.fr/guix-hpc/guix-past > branch: master > commit: 829923f01f894f1e687735627025ada26230832f > guix-bimsb a8b539d > repository URL: https://github.com/BIMSBbioinfo/guix-bimsb > branch: master > commit: a8b539d61a359060c35f3cb34c7edd1d9d14241d > bimsb-nonfree 4084e63 > repository URL: https://github.com/BIMSBbioinfo/guix-bimsb-nonfree.git > branch: master > commit: 4084e63c9c0d662780870aded9f5a6ca1b063780 > guix-science cf87b05 > repository URL: https://github.com/guix-science/guix-science.git > branch: master > commit: cf87b0501c4a38b96edf41025a27bf1cb91f521a > guix 957f0c4 > repository URL: https://git.savannah.gnu.org/git/guix.git > branch: master > commit: 957f0c40327ce00f53db22737e3775ce616ac258 > > $ guix time-machine -C /tmp/img/channels.scm -- pack -f docker --save-pro= venance -m /tmp/img/manifest.scm > Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.= org/git/guix.git'... > /gnu/store/xzk604g8gysv4azn7sf9nylr6iah97gl-docker-pack.tar.gz > > To compare with > /gnu/store/wxymmnxdvdvf08ifsfy39xjaxilhrigk-docker-pack.tar.gz. > > On a third machine, I get: > /gnu/store/wxymmnxdvdvf08ifsfy39xjaxilhrigk-docker-pack.tar.gz > > Well, that=E2=80=99s another story and I have not inspected yet the > derivations and what could be wrong on the machine B. You=E2=80=99d have to check the differences. It may be that provenance data differs, for example because the second attempt includes data about channels that are actually unused. (That=E2=80=99s the whole problem of provenance data: it=E2=80=99s not a one-to-one mapping and it=E2=80=99s not= a bijection either.) Thanks for trying it out! Ludo=E2=80=99.