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 ms5.migadu.com with LMTPS id CNg1K+4oyWNjAgEAbAwnHQ (envelope-from ) for ; Thu, 19 Jan 2023 12:26:38 +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 4FwaK+4oyWOQ2wAAauVa8A (envelope-from ) for ; Thu, 19 Jan 2023 12:26:38 +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 8C3A629A94 for ; Thu, 19 Jan 2023 12:26:38 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pIT3k-0003dk-9m; Thu, 19 Jan 2023 06:26:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pIT2s-0002Rh-Uo for guix-devel@gnu.org; Thu, 19 Jan 2023 06:25:30 -0500 Received: from mx0.riseup.net ([198.252.153.6]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pIT2q-0003Gy-4K for guix-devel@gnu.org; Thu, 19 Jan 2023 06:25:26 -0500 Received: from fews2.riseup.net (fews2-pn.riseup.net [10.0.1.84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4NyKzz0FQGz9t5Y; Thu, 19 Jan 2023 11:25:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1674127519; bh=FDm3OjleGdU0dDQhocllcAXBmEX9O87dPzool7T/3hw=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=H10V/t6n0pA2FFxXXAF4wzMgIVJTBD1BLLsAq/690u7TCdf6W4LkXZcAyk2cqefL1 1/zOatQyxfAauRPFrLrmk7E3dKbkTcrLnTQ+qdjlT3DVfd0+ykcnrRVthyvS/p0t4Y Yl7CmbnFp8yIwCMugU3kQeKK1H2P/Igydzf2acaE= X-Riseup-User-ID: 20D682F09C91398E7DCAFF002AD5467E67E5E9E6C876B195AD33788EE1AA775A Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4NyKzy2GnNz1yRB; Thu, 19 Jan 2023 11:25:18 +0000 (UTC) References: <9b2e8624e8325f2ff3b4efc88547b2a2@dismail.de> <86mt6h2a1k.fsf@riseup.net> <1463570e2bb4a85f02c855ee28c87e345277bc94.camel@gmail.com> From: Csepp To: Liliana Marie Prikler Cc: Csepp , jgart , guix-devel@gnu.org Subject: Re: IDEA: Give Our Generations a Name Date: Thu, 19 Jan 2023 11:23:34 +0000 In-reply-to: <1463570e2bb4a85f02c855ee28c87e345277bc94.camel@gmail.com> Message-ID: <87k01ilqb9.fsf@riseup.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=198.252.153.6; envelope-from=raingloom@riseup.net; helo=mx0.riseup.net 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-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.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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674127598; a=rsa-sha256; cv=none; b=OAx05YT1Mbs4uabOYrEe8fFHwBSVgY6TQ3lbgtVeyUuBkJxR/KMVHoHmTwbFA36eedz5VQ SACngL7ZaJgf83PM1B/dVksRZy7W5Eq61V6fF2GSPTjlaeQti+1JjItBgAkh/7dS+dTJBF hU4zX4qPWMCR3UwRj/qwjBl+k/DeLhA7m4JhmUO7iPVpSmaBu+2sK1QERbUcxDh5DIBVzx LrYmXLRfpb7wcZbgcDQIaidD7Xth6YC+L/RDznjVNbdTINAehKbMBR93XPzc+ZhO41D/an tQBF7Dnn7IKuvXOk7trOkbf/TpK5y/+P8Ds2HuYoUVNyxg39+yAEHh20v2iFdQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b="H10V/t6n"; dmarc=pass (policy=none) header.from=riseup.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674127598; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=LwJ4WxAaxUcKySf0ygRF5ojojZe6ZC0WWu58yV10MyY=; b=gX2oS/QKcrv5yXb8mtG47jOoW1IM1kqCbn/4qEFJo58JOpCQddQTsIbZGWnQOBPuTJ+DNJ 5BTrnrJM7t2VxtAkq5Tf15ZEHGWI7Igf1l+/quznzQBcODNNSCMjE2dHDlzOud5WKad3iC 8d98Mf4uurlBTrZUk50u27s039YwkVFvkYR8MJdWjLv/27OCGEy97pnfTQ7wlQWj0pG+Am t/wKTculOzuaDzSANVJUTskABhtX2Mtp6oc4P3IzIXzJn4ac0RJax6hdvxkJOX7HKujOBM 0O2c/1tyASInzrk8QIhXfme7Axq8FX9eEdzodTtxHKxYxeHSW6kEEVdewppunA== X-Spam-Score: -10.25 X-Migadu-Queue-Id: 8C3A629A94 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b="H10V/t6n"; dmarc=pass (policy=none) header.from=riseup.net; 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-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -10.25 X-TUID: JHS/OxExiMvO Liliana Marie Prikler writes: > Am Dienstag, dem 17.01.2023 um 01:52 +0000 schrieb Csepp: >>=20 >> "jgart" writes: >>=20 >> > Hi Guixers, >> >=20 >> > What do you think if we would be able to give past generations a >> > name? >> >=20 >> > I'm thinking of the way you can do the following with git: >> >=20 >> > git stash -m "My description of this important stash." >> >=20 >> > I think this would help differentiate slight differences that would >> > be hard to tell what the state of that generation was by just >> > looking at the differences of profile package content. >> >=20 >> > to bloat? or not to bloat? that is the question >>=20 >> Since generations are just symlinks to profiles in the store and a >> profile can be in multiple generations, this would require wrapping >> the profile with some additional metadata.=C2=A0 I guess it's technically >> as simple as adding a "dummy" package that just contains the name in >> a file in output/etc/generation-name.txt or something, that would get >> unioned into the profile, and then it's a simple matter of outputting >> that info in --list-generations. >> Right? > I actually have a better idea. Note how each generation has the name > ${common-identifier}-$generation-link. You could thus simply store a > tag by using ${common-identifier}-$tag and simply pointing that at the > right link. Downside is, that you're limited to the "standard" > alphanumeric + dash character set, plus the first character shouldn't > be a number, but I'd say this is good enough for most practical > purposes. > > Cheers Hmm, yup, much simpler. Although for system generations it doesn't help much, but that could be handled by setting the name in the OS record.