From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mBGFJke4zmFxswAAgWs5BA (envelope-from ) for ; Fri, 31 Dec 2021 08:59:03 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id SO4oI0e4zmGOVgEAauVa8A (envelope-from ) for ; Fri, 31 Dec 2021 08:59:03 +0100 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 3EEFE2AE0E for ; Fri, 31 Dec 2021 08:59:03 +0100 (CET) Received: from localhost ([::1]:47182 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n3CoY-0002jN-BT for larch@yhetil.org; Fri, 31 Dec 2021 02:59:02 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51918) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3CnY-0002Vo-P3 for guix-devel@gnu.org; Fri, 31 Dec 2021 02:58:00 -0500 Received: from [2a00:1450:4864:20::336] (port=53048 helo=mail-wm1-x336.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n3CnW-00071S-UD for guix-devel@gnu.org; Fri, 31 Dec 2021 02:58:00 -0500 Received: by mail-wm1-x336.google.com with SMTP id g132so16957385wmg.2 for ; Thu, 30 Dec 2021 23:57:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=QbMdpWqS8my4dh+fRpBnA9/f+R1jKYzeDoNhs6PUjxU=; b=l8ajxSVVWToooYV0l1hXd4SCTZumOiZSizp08Fgeh90cOXBC6Z69zS9vgBQbwdbnA7 F+BPaEvmfd4Rm8HJVRfG/nu5YM8wDV2zmr9+9g0Fgb6iexzkZXrUH+FYeIldHsqNEvZ3 KSs2IkxTvFZnRLB8gxQxUXWXLQt2MBzIRpVqulnO9HfAD85N7mlAXid5gLD6rudyqClZ F/z7PLWalDJ8ymCdyAler7LJSKwz7P81vfE/Ke6eeNsIaddr1njsR26CKM/HTyc7rifn TPb0BnC8SQ1tm1jrRvHGEwqIayu3wHhA0kxcSt+Lh/sdY1s73LuilNHp1XF6cu13/cUT tdEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=QbMdpWqS8my4dh+fRpBnA9/f+R1jKYzeDoNhs6PUjxU=; b=7/smaOcNFuwkrDbJrwO6V12POJrRKD6DDJJC44YToOUcy9ad/n7mCFoSHhieZwgNGp uxtXkrDtbFqWrdzu+o2V2p1RcHIMWA9QZX0o2IiOuAExC3wcMn5dvOYTLNw9esk3AgQc 49qAPCuLuCfsp1ii3Bgg/iFSdZDXtRdmwS6UeKQy8Tg2kGoGV7Yyj5yj1UBEuFVPRCrK 7L1ihJkwEBe99txltQo41Nii45V/h3l7Sa6o+s5bGNaleeTpYIwnrcB5/i781hpCfQd6 ACUvxxZ5xdCRmTL15IkgBdnSIiT9VB2dm4vc+mttjLme7Du9oVcwClW9x56IP6cR1CZd BoMg== X-Gm-Message-State: AOAM5310ztfQHFvUUWZRFWSJtdVpWjmXraHAstzCQxDN5lyIqX+EBDtC Fh9E+rk3R44GNsdCL6YX6LU= X-Google-Smtp-Source: ABdhPJy5PKubyulo5pqcUdUYlGOcfLd0dPr0j8DtAvxuKOE5yjjjBjZH4Q2PZI3GQkdO4uFJKAqisg== X-Received: by 2002:a05:600c:3546:: with SMTP id i6mr29863968wmq.88.1640937476708; Thu, 30 Dec 2021 23:57:56 -0800 (PST) Received: from [192.168.178.20] (b2b-109-90-125-150.unitymedia.biz. [109.90.125.150]) by smtp.gmail.com with ESMTPSA id m3sm26184777wrv.95.2021.12.30.23.57.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 30 Dec 2021 23:57:56 -0800 (PST) Message-ID: <97f31fd3-38bd-1744-bb03-6ae514ae78a9@gmail.com> Date: Fri, 31 Dec 2021 08:57:52 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 Subject: Re: On raw strings in commit field Content-Language: en-US To: Liliana Marie Prikler , Mark H Weaver , guix-devel@gnu.org References: <6e451a878b749d4afb6eede9b476e5faabb0d609.camel@gmail.com> <87k0fm7v3k.fsf@netris.org> From: Taylan Kammer In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::336 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=taylan.kammer@gmail.com; helo=mail-wm1-x336.google.com X-Spam_score_int: -23 X-Spam_score: -2.4 X-Spam_bar: -- X-Spam_report: (-2.4 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-3.024, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 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 X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640937543; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=QbMdpWqS8my4dh+fRpBnA9/f+R1jKYzeDoNhs6PUjxU=; b=crbJClvehRmqvPAeEhC3ZHro3U0J1d+470WV6roMT3RheXDRRr2acjmMPud2rik3zPduXe U1BpaIl8S+28mVFOkJ7Db9US0d3gUhBuKBY3ZrgStXEcxa+limiWa03Vyy16Dul2PUO2X4 i/Tu3gGX0PzurId+7yFqTVZbBIa5sWQX8OPnPBiLcnd6FWsqmMV5e9gHGZOqZOoh5lBOoo RKgPnGPm+Wh4dtkxmt5jsadvGsrVSX4YG7LNFGuR+c4J/HmSbrgQ6uE7+OMFAaFOL/lNO9 oKc165NVUhN+bhOFVI0/+8gqjwJ+wmXkWvTXo/lpWiRAf7+T4KbIS3VlvPol3A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640937543; a=rsa-sha256; cv=none; b=RQ+XeqkSOU3KJL+0JpbWENECzoFizf+GOUBqupgqlysdamUpa2s0AAFAyaoxVwb14m0W5B 8eTUx8CuJ1FJTMJhho+1QHWQ/c3Wi/bcWCXi8RjhUPODZ6V0R0lDt5CVJs9g5zXfkCRGs4 Xrb9gJ8WvRwFzC+/tDzVY3dsbnbygdcvKd0L2xc9VnE2kT3oDP0Syoea0DSag9f+TH5bOd Kc50OvNjQdDNsZn64h+7DtszYtqEuUlah/1moE24+R1Ipagjgm6O+r9kekC3cT5QUAjGWU S+WhYEq+q9oAEExja+dbY25cWAkB6imUY5qUNvwsIB29R2z6UkUE/wXru/pOOQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=l8ajxSVV; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.28 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=l8ajxSVV; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 3EEFE2AE0E X-Spam-Score: -4.28 X-Migadu-Scanner: scn1.migadu.com X-TUID: XDavMTn+uuME On 31.12.2021 04:15, Liliana Marie Prikler wrote: > [...] Obviously, when > travelling back in time, we want Guix' "1.2.3" to be whatever it was by > that point, but on the other hand, we also want a recently pulled Guix > to have a reasonably recent "v1.2.3" if it claims to have "1.2.3". [...] I think here lies the crux of the disagreement. As far as I understand, Guix doesn't intend to support the notion that one version string could represent two different actual versions of a program throughout time. Rather, I think, the reason Guix keeps both the tag and commit ref is simply that the tag could disappear from the repo. (In my experience, that's easy to do by accident when you clone a repo and push it to a new location. You have to fetch and push the tags explicitly.) If a tag ever *was* changed to point to a different commit, meaning that the same version string now represents a different actual version, then I think Guix would give that version a new name, such as "1.2.3-new" or whatever. I don't know if this ever actually happened, but I think this is how Guix would probably want to deal with it if it does. Having one string represent two different actual versions is just really terrible and I don't see Guix ever supporting such a practice. [tangent follows] (A software developer might argue that two different commits actually are the same version of the software, say for instance because only a minor change in the build system or README file or such was made, i.e. files that are considered "not part of the end-product," but in Guix land I think we wouldn't let that fare. Maybe an exception would be made if it was proven that the actual package produced by Guix from both commits will always be bit-identical. Even then, better not.) P.S. I hope I'm actually helping to add clarity to the thread instead of more confusion by adding my voice. I was just skimming the ML, found this thread interesting, and thought I might be able to add clarity, because it seemed a little confusing. :-) -- Taylan