From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4FheBCjhMGFrKgAAgWs5BA (envelope-from ) for ; Thu, 02 Sep 2021 16:35:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id QCdnOyfhMGEyZAAAB5/wlQ (envelope-from ) for ; Thu, 02 Sep 2021 14:35:19 +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 85ACE6225 for ; Thu, 2 Sep 2021 16:35:19 +0200 (CEST) Received: from localhost ([::1]:52404 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLnoE-00054w-Nn for larch@yhetil.org; Thu, 02 Sep 2021 10:35:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35588) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLno1-00054o-ER for guix-devel@gnu.org; Thu, 02 Sep 2021 10:35:05 -0400 Received: from laurent.telenet-ops.be ([2a02:1800:110:4::f00:19]:34642) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mLnnz-0007RR-6w for guix-devel@gnu.org; Thu, 02 Sep 2021 10:35:05 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by laurent.telenet-ops.be with bizsmtp id p2az2500Q0mfAB4012az73; Thu, 02 Sep 2021 16:35:00 +0200 Message-ID: <2a1ed939ed359dc06b54b180fe4da009ab6b1f21.camel@telenet.be> Subject: Re: Can we find a better idiom for unversioned packages? From: Maxime Devos To: Liliana Marie Prikler , Sarah Morgensen , guix-devel@gnu.org Date: Thu, 02 Sep 2021 16:34:58 +0200 In-Reply-To: <3b4f86e8ca7410b939f5a8da689919d1ab42f216.camel@student.tugraz.at> References: <8635qp1j6k.fsf@mgsn.dev> <473ea45f79b94ff04327f3fdf691dd8e4a85f7ba.camel@telenet.be> <1e58de895f638d897ea89647344ef24c40ea3ec2.camel@telenet.be> <27af2d4efec4ced1e8411b1d993dbc8112d26cb7.camel@student.tugraz.at> <4042fc2a6124d218ffefbaa9c42dfa0e388dd1cd.camel@telenet.be> <3b4f86e8ca7410b939f5a8da689919d1ab42f216.camel@student.tugraz.at> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-54ela8hgaBEZtfJ7Kb4f" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1630593300; bh=mykn5TmxE/M5FOP7T7uKIEOIstABFgwa3NkCN9Qy3Fc=; h=Subject:From:To:Date:In-Reply-To:References; b=moXUNB5cS2+poxJ7rsYvldlOYDM8ARRKlqqPkOlaWrXAw1XbO/YL2k90xSjuHgXc0 Hm4KF1JRxfJbkXsrWCCUpg2mZ+cQZ3hhqIU6jeIC8YiHiE54c1eE46I+tVpxR1Skav ctaVHf7O6ZODS1coutyJmO24e9ryG9xIBKosH8qTkYXzxPeIZwfNLCCFGYc0m2oDfT /Wsz2ksflkVSwdKLniOik4TsfIs6c2Bih8cjvQXSyJZntMuKV/sRqS4b43j16CXAj2 9Ku4H4I/ZyRiN24jF2SoB+y+vhmCgikpkGd3u3rCKcbSwuyWI2ojprsQGcMfGOadH+ 3qXY+OAx7aubw== Received-SPF: pass client-ip=2a02:1800:110:4::f00:19; envelope-from=maximedevos@telenet.be; helo=laurent.telenet-ops.be X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no 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-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630593319; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=mykn5TmxE/M5FOP7T7uKIEOIstABFgwa3NkCN9Qy3Fc=; b=GiPpsDlpoeWIDWfbrSFwyAzQQxZ77DfMztawT61q2s7LJQ9DJdFfIKco6Jk80fKKYg5MzS 3iOOt53EYSOd2WmUPndal7x5EqqRrFvFyPgoVqpAAybnYj/QC+9xr+2NzudncTpQBv/fgN oFhfLXLcMR1NkKOcbEePwTsTgM95unNTsv85WFqpyRaJy3SJwA5VxJZOX21d04kr0JWnyf EmzYUaP7VVaR1Kz8XtM1BFqeUY3hAZSbh5RaTBMyFOdDXn5inkMDHcOnrbxdhzzubn+l23 hmAOzVfYPTePz1yfIS5SrEZuSZ1c/377GmZHx6hMG/aDm8tOSMs57S05MstNfg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630593319; a=rsa-sha256; cv=none; b=V4qWqmlOIPXZslJXUX00mmkUeShyM6AuJ8JfiI7v8I/hAs9nCvl/1tzErmaflsMoBo/GMZ Ptn1oiFmKrrckTtCxA0FVH0tg7e2rqlmwZ1B6zh/F2NOtZA4xeItl4Zu+LhoKlQf76JQVZ wO2GU/zqnfBUZZ7VIPfsmb0A/3nFdh5vsca24VxtKTGiJeHkoFTRH343VWYYvUIxvctxPU TczIuru1f2YD1aOxnhKPe2b0ZXS4a+0XyRLtRqTtOLZbsjIbiB3rScipjB02IFODORoNz4 oNMubhbtuHyAByb47nbNqR+TncilLseXhCMdBuxYA1FDJY/p83xoeSSWu1TaAw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=telenet.be header.s=r21 header.b=moXUNB5c; dmarc=pass (policy=none) header.from=telenet.be; 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-Spam-Score: -4.22 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=telenet.be header.s=r21 header.b=moXUNB5c; dmarc=pass (policy=none) header.from=telenet.be; 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: 85ACE6225 X-Spam-Score: -4.22 X-Migadu-Scanner: scn1.migadu.com X-TUID: +8z8G5fAmh9x --=-54ela8hgaBEZtfJ7Kb4f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Liliana Marie Prikler schreef op do 02-09-2021 om 16:20 [+0200]: > Am Donnerstag, den 02.09.2021, 16:09 +0200 schrieb Maxime Devos: > > > > > > > 2. We cannot get at the source location for the definition > > > > > > > of > > > > > > > 'commit' or 'revision'. This would be useful for updating > > > > > > > these > > > > > > > packages with `guix refresh -u`. There is a proposed patch > > > > > > > [0] > > > > > > > to > > > > > > > work around this, but it *is* a workaround. > > > > > Other versioning idioms would also be workarounds, wouldn't > > > > > they? > > > > >=20 > > > > > > > 3. Packages inheriting from it lose the definitions. For > > > > > > > actual fields, we have e.g. `(package-version this- > > > > > > > package)`, but we have no equivalent for these. > > > > > What purpose would extracting those serve however?=20 > > > >=20 > > > > Not losing the revision is useful for things like=20 > > > > ;;;, to be able to determine > > > > the old > > > > revision. (That's not about inheriting packages though.) > > > Isn't that addressed by addressing the second point, though? Like, > > > if > > > you know the source location of the revision, you can read it back > > > to > > > get the value itself (or possibly even access it as-is), no? > >=20 > > Indeed! The patch [0] addresses the second point. With that patch, > > the proposed isn't required. But also: some > > people (at least Sarah?) consider [0] a work-around, and if guix used > > something like , [0] wouldn't be necessary. > >=20 > > It doesn't really matter to me what we'll end up using in guix > > in the long term, though in the short term, I would like something > > like [0] to be merged, as it is used by the (not-yet submitted, needs > > some cleanup, testing & rebasing) minetest updater, and it makes > > work in more cases. > That's not quite my point. Sarah said that "inheriting definitions" > loses those values, which is true regardless of the merge of [0]. What > you said to answer my question w.r.t. why that matters was to repeat > the second point, which is addressed by [0]. [extra newlines for clarity] > In other words, what I'm > asking is why specifically inheriting (as in record inheriting) is made > to be such a big deal that it deserves its own point when I would > personally argue that it is not at all that important. Ok, I understand! Though I don't have an answer to your question. Greetings, Maxime. --=-54ela8hgaBEZtfJ7Kb4f Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYTDhEhccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7hGyAQCH4FiEHc47Q5LgVNSE3pKnnePP s7OCXK5prr722EJdHQEA2nigiieUiq9jWKpzFW+MQEpRN1XXPq8nV7bNSVP9lQQ= =EK9C -----END PGP SIGNATURE----- --=-54ela8hgaBEZtfJ7Kb4f--