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 gDduGzlK6F5QRwAA0tVLHw (envelope-from ) for ; Tue, 16 Jun 2020 04:27:37 +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 uPReFzlK6F6ZZQAA1q6Kng (envelope-from ) for ; Tue, 16 Jun 2020 04:27:37 +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 C298494013C for ; Tue, 16 Jun 2020 04:27:36 +0000 (UTC) Received: from localhost ([::1]:45374 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jl3CB-00043M-M7 for larch@yhetil.org; Tue, 16 Jun 2020 00:27:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53108) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jl3C3-000433-DL for guix-devel@gnu.org; Tue, 16 Jun 2020 00:27:27 -0400 Received: from m42-5.mailgun.net ([69.72.42.5]:22252) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jl3Bx-0000qb-Oo for guix-devel@gnu.org; Tue, 16 Jun 2020 00:27:27 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.wilsonb.com; q=dns/txt; s=krs; t=1592281645; h=Content-Type: MIME-Version: Message-Id: In-Reply-To: References: Subject: From: Cc: To: Date: Sender; bh=PdYLyVDWlt7ciZA6o/ZfhsCXiALw/wfoC56rqm+nvls=; b=gIn9YC3BZ72W2N60YmIlNHCqyqHx4e6KcYZAQn/KVjkMtrfau/k7IaQUc5CIlbii8pl+FeBI VIWv2mX1TDDCwfhoHX8v4/pNdebPQX/jAMzFGXskkwxD5SLEz9KlPhzxLFsqsbbnvZW/wtoZ TYYQFn0QjiwUG+g/LwomwWCkAmM6FTY24rnnlq/KBGAvwFRItiQDGHhV8RC9p/Y+Fg/edt5F m9uLYy6PsZmQV1FQP5R3SXljY8DFwZWv9TP2UAFUn71QlOozPDI574S9hGELwthY7ff5g/JQ 3YBK6joS0HoXiePs7oU5ND2LJ4CKlw8TK3G4YG9+a/GgKTgBIg0EfQ== X-Mailgun-Sending-Ip: 69.72.42.5 X-Mailgun-Sid: WyIyNWJlMSIsICJndWl4LWRldmVsQGdudS5vcmciLCAiMDg1NDdhIl0= Received: from wilsonb.com (wilsonb.com [104.199.203.42]) by smtp-out-n05.prod.us-west-2.postgun.com with SMTP id 5ee84a25e144dd511525d3bf (version=TLS1.3, cipher=TLS_AES_128_GCM_SHA256); Tue, 16 Jun 2020 04:27:17 GMT Received: from localhost (KD111239192199.au-net.ne.jp [111.239.192.199]) by wilsonb.com (Postfix) with ESMTPSA id 3AAE7A196E; Tue, 16 Jun 2020 04:27:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wilsonb.com; s=201703; t=1592281634; bh=PdYLyVDWlt7ciZA6o/ZfhsCXiALw/wfoC56rqm+nvls=; h=Date:To:Cc:From:Subject:References:In-Reply-To:From; b=VfoYih4msy3PLh5YbOIXQMpFQquPXca2OET8NPN3bgCC8McRcweHX0TeUY1359H/J FqqKVDmPjR49c9WVzNX+BPwm6hfKbvz/PQ8o9ghDaiukBGY3yFWMIZN3Jvnf363HdB 6ftBNyLXeAhb3wW1HpLzTXVsJlH/tZPH5qaixC+pz8TtwW3vKH4xozCl2z2zhTqDB6 pJa8BY6dFbC4Ml6ll0XFYnGdrjfnFFtlm29IiYrO8f0Upo41B4PP1mTXLBjZ9YFbzj n4ioSg99AGVNhhICf09flXVapcpPlazSyQgppofT0nrMvaTdtMWDtEdNODLtiRRg+g 1ywR/A26bCiEFl+320mNUIAE+uzkUP9k0o0mYZeZ6DhJVM9FUBWXQs5gYDteYHbo+e 13xrP1M/W5a+jOEMWjQp8xayA9DsFt6cpHDyEXc790cG1uPpO0yjEchVURsuOKiKnI gzsQ/dXrx5qkW7YR/Z0oFGOWoaOXU4byZRs2Dn099cE7xb6N7DtHXRvZiIF84sZRpW u8SIpjH6laV/d3mIP2kHZ6Kkon3tYPfyD7mhhJPngqgc3eoabjLqih6rmR/AW8JL/y wkyuOsOS0Pyo5VMGbnZ4JrxKvlTogb5BTNiIDj/zThHtACjDMFrSlAWGOiNQWopgVE KRByC8htj4z3XR04amTy6jbg= Date: Tue, 16 Jun 2020 13:27:09 +0900 To: George Clemmer Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , guix-devel@gnu.org From: elaexuotee@wilsonb.com Subject: Re: Using --manfistest with /manifest files References: <338KGSFKQGP1E.23382XUCMS8T3@wilsonb.com> <87v9juwvn0.fsf@gnu.org> <85ftav206f.fsf@gmail.com> In-Reply-To: <85ftav206f.fsf@gmail.com> Message-Id: <2A54F336KHTTU.2IMX3TO8ZTL26@wilsonb.com> User-Agent: mblaze/0.7 MIME-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="----_=_7c0eb2465c7b076c1da3ca4a_=_" Received-SPF: pass client-ip=69.72.42.5; envelope-from=bounce+ec9951.08547a-guix-devel=gnu.org@mg.wilsonb.com; helo=m42-5.mailgun.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/16 00:27:20 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -30 X-Spam_score: -3.1 X-Spam_bar: --- X-Spam_report: (-3.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action 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: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=mg.wilsonb.com header.s=krs header.b=gIn9YC3B; dkim=pass header.d=wilsonb.com header.s=201703 header.b=VfoYih4m; dmarc=pass (policy=quarantine) header.from=wilsonb.com; 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-Spam-Score: -3.81 X-TUID: XBx1JPt7SjGa This is a multipart message in MIME format. ------_=_7c0eb2465c7b076c1da3ca4a_=_ MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_78b081a512255b35238c39e4_=_" This is a multipart message in MIME format. ------_=_78b081a512255b35238c39e4_=_ Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This is a good point. The naming of `/manifest' does invite confus= ion when first encountering it. That said, I am pretty sure there is a place for `/manifest.scm'. Given the `--manifest' option to several commands, it makes profiles first class. In particular, it would let users easily `guix pack' or `guix archiv= e' arbitrary profiles as needed. At the moment, it's not at all obvious how to= `guix pack' the equivalent of `guix environment --container '. FWIW, I never expected `/manifest' to encode "this is what the use= r ordered," so much as "this is the recipe for (deterministically) reproducin= g this exact profile." For the former we have `packages->manifest', `specifications->manifest' etc. The latter is what I understand this discus= sion to be about. George Clemmer wrote: >=20 > Ludovic Court=C3=A8s writes: >=20 > > elaexuotee@wilsonb.com skribis: >=20 > >> First, am I missing something? Is there a better/preferred way to make= use of > >> the `manifest' files in profiles? >=20 > > You=E2=80=99re not missing anything: it=E2=80=99s a longstanding source= of confusion > > that these =E2=80=98manifest=E2=80=99 files are not like the =E2=80=98m= anifest.scm=E2=80=99 files. > > These =E2=80=98manifest=E2=80=99 files are meant for internal consumpti= on. >=20 > This hurt my head for a while a few years ago until I realized that > 'manifest.scm' is the guix "order" and =E2=80=98.guix-profile/manifest= =E2=80=99 is the > guix "packing list". >=20 > But actually a guix' 'manifest' packing list goes well beyond what we > normally find in a packing list by containing detailed info about how > the specific products were made, down to the specific design for the > specific version shipped. >=20 > Thought of this way it is easy to understand why a receiver of a > 'manifest' can only estimate the set of 'manifest.scm' that might > produce it. A simple-minded example: did the manifest.scm specify the > version of the package shipped or is this an artifact of a) when > 'manifest.scm' was processed or b) of the requirements of the other > packages that were received? >=20 > In any event, once I saw it this way it no longer troubled me that guix > doesn't have a pushbutton way to "reverse" 'manifest' into > 'manifest.scm'. >=20 > ISTM we set ourselves up for confused users and a lot of explaining by > labeling two very different things with same name :-0 >=20 > Yes, only 'manifest.scm' is in the doc, but '.guix-profile/manifest' > smacks a user in the face pretty quickly which leads to these messy > questions. >=20 > IMO we could dramatically simplify the situation, and simplify our > lives, by simply renaming the .guix-profile/manifest file ;-) >=20 > George ------_=_78b081a512255b35238c39e4_=_-- ------_=_7c0eb2465c7b076c1da3ca4a_=_ Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYIADUWIQQ7FdZn/PDWvxE6cmR2pStZ7i7CgQUCXuhKFxccZWxhZXh1b3Rl ZUB3aWxzb25iLmNvbQAKCRB2pStZ7i7CgViIAQDZ2vX9t9x06f/Xd2qMLzqoeb0+ KcqMekW1SKTq/7RbEAEAi9QLlyIjyY0hHu5YifEgmDpMQBQZWiKY5LGb72mGvwY= =bYqI -----END PGP SIGNATURE----- ------_=_7c0eb2465c7b076c1da3ca4a_=_--