From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QAxeHj6uL2F2+gAAgWs5BA (envelope-from ) for ; Wed, 01 Sep 2021 18:45:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id kHXTGT6uL2HzCQAAbx9fmQ (envelope-from ) for ; Wed, 01 Sep 2021 16:45:50 +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 0B603159DD for ; Wed, 1 Sep 2021 18:45:49 +0200 (CEST) Received: from localhost ([::1]:56776 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLTMy-0004ej-Pv for larch@yhetil.org; Wed, 01 Sep 2021 12:45:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37604) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLT7I-0005a5-Kt for guix-devel@gnu.org; Wed, 01 Sep 2021 12:29:36 -0400 Received: from baptiste.telenet-ops.be ([2a02:1800:120:4::f00:13]:45462) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mLT7F-00032o-JK for guix-devel@gnu.org; Wed, 01 Sep 2021 12:29:35 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by baptiste.telenet-ops.be with bizsmtp id ogVT2500U0mfAB401gVUfx; Wed, 01 Sep 2021 18:29:28 +0200 Message-ID: <7f6e3fe3714fc47a8e7196ed1ff397df202ff3d7.camel@telenet.be> Subject: Re: Can we find a better idiom for unversioned packages? From: Maxime Devos To: Xinglu Chen , Sarah Morgensen , guix-devel@gnu.org Date: Wed, 01 Sep 2021 18:29:18 +0200 In-Reply-To: <8735qolckw.fsf@yoctocell.xyz> References: <8635qp1j6k.fsf@mgsn.dev> <473ea45f79b94ff04327f3fdf691dd8e4a85f7ba.camel@telenet.be> <8735qolckw.fsf@yoctocell.xyz> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-WSdh91StbRkeQvaAA2Fb" 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=1630513768; bh=Nwa8Xeb8WUSFQ4vOuBhoutewcDwwn1rCWraK4KK7b3c=; h=Subject:From:To:Date:In-Reply-To:References; b=iZwlxejRX2zMOs+Wt8h0fFShB11PRFND+qwJJsU1MvxCE7UE6Oe6q6RiQwLsHjzmM tNiU1iNnrr9Tb2dNi8x/HZwNxEZBbSN+xDpTc/VhIHaN+pAIoWECbCn7VghaP5v1pM Jdq9Qqk8/s0M6+1G3CxuVa808S+/1vSDVB4ZRwYYJBjBaIHAXLQ0Bs3VYUxDJg2yhC FZgcIJbNIxUohvobaMujOYgtrwudmcK2eJ5Lfg9XhJ2EGK/rL67DrLkSX+DbfZOx2N 1g2k8AeqWQE6V4DywlZuqVic/OVlESaEVW6SjL61E8FCJgFgT10ZyO55942SwA5rNC rOTGDvu7L98QQ== Received-SPF: pass client-ip=2a02:1800:120:4::f00:13; envelope-from=maximedevos@telenet.be; helo=baptiste.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=1630514750; 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=Nwa8Xeb8WUSFQ4vOuBhoutewcDwwn1rCWraK4KK7b3c=; b=pU7wN67HjGYDz3zVgVS1LnT61S80Joo/PNmYe8jLJwBKkQleM1ASiz0qS+1Rna80GCxBnH HZuyaBO0iKQymvOyarOPE8fh5i9FySdQrSbQZ92STpRTg29tSgbUKdWlALjbOvzsd1i34e c8iVCAbSjjvYH3LW5r5ZZf7nxBYaatPp21GP/CUdIQFqZDsIOQrCqv47/mS6g5T/1FrOby hn1R05us8QQzKyjOCoBrpi2iQCotGYevYkgAsP93cHfG7on1g7V42ojV+l+XXqvmN/sQqK Q1C8qzPkhYVIKLShoR4VObbkgjuskGxKxKH9oROv4AhLQBe0Nat16s0sB29AwA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630514750; a=rsa-sha256; cv=none; b=bmCNuJCO/Cna6B1u52XHmlIm1JCJj5tADlcydG3BDv0ey61wMySmcjzCNxS4GNVfhE4utj rKgGXu+0dqK4k+d36jjmWelxS1qNezdcE4huzGurBcH+jxpZDPVj80lNTzvSCk/oXuQMK5 G9hv1qlBF90/qSa3zRnmzn0auFmKnMup0npYIKFVsvRnaxuOwtKZG3oNgHz3psTI7QJson bv5nCmq7z0Pj0eHR2bkbOJ/6ffvn+WnGyf3beklnNYh4QQ4Ea6dFbw0k3e6Pl6DJPdRL5e WcRucOz7ic4KET/7NGtQYiFknunmAiAvKFpxW8OkUzE0push6RV2mrHbjhI2qw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=telenet.be header.s=r21 header.b=iZwlxejR; 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=iZwlxejR; 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: 0B603159DD X-Spam-Score: -4.22 X-Migadu-Scanner: scn1.migadu.com X-TUID: XquiaSyJGmeZ --=-WSdh91StbRkeQvaAA2Fb Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > > (define-public sbcl-feeder > > (name "sbcl-feeder") > > (version (extended-version > > (base "1.0.0") > > (revision 1) > > (commit "b05f517d7729564575cc809e086c262646a94d34"))) > > (source > > (origin > > (method git-fetch) > > (uri (git-reference ...) > > (url ...) > > ;; git-reference needs to be extended to retrieve the commit= from the version > > (version version))) > > (file-name (git-file-name "feeder" version)) > > (sha256 ...))) > > [...]) >=20 > How will this work for SVN and CVS? I am not familiar with either, but > I know that SVN has its own =E2=80=98revision=E2=80=99 thing. Maybe: (extended-version (base-version "14.12.0") (revision 123) ; what guix considers a revision (commit 38938)) ; what svn considers a revision (TODO figure out non-conf= using terminology) (define (version->string v) (cond ((string? v) v) ;; for SVN (REVISION is set but COMMIT isn't (string-append base-version "-" (number->string revision))) ;; for git and mercurial (both REVISION and COMMIT are set the code from git-version))) Or have separate types , , ..= . Greetings, Maxime. --=-WSdh91StbRkeQvaAA2Fb 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+4iGRcl7gUCYS+qXhccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7iiOAP0YrRknl2aawEokcPi4kU71mNuT ImtMfgLFsJmZanyQTQEAh4fOHv+4lDfFP/5GjzrLZ4ppo8IwYfOHMZgiABLarAQ= =eMpY -----END PGP SIGNATURE----- --=-WSdh91StbRkeQvaAA2Fb--