From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 EBFyOrXllGLuMQEAbAwnHQ (envelope-from ) for ; Mon, 30 May 2022 17:41:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kH9qOrXllGIttQAA9RJhRA (envelope-from ) for ; Mon, 30 May 2022 17:41:41 +0200 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 965ACC218 for ; Mon, 30 May 2022 17:41:41 +0200 (CEST) Received: from localhost ([::1]:39432 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nvhWW-0005zu-Ob for larch@yhetil.org; Mon, 30 May 2022 11:41:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33308) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nvhVn-0005z2-WF for guix-devel@gnu.org; Mon, 30 May 2022 11:40:57 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40562) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nvhVn-00038R-NP; Mon, 30 May 2022 11:40:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=9QumdxYh09cU1P8y7vFFAkogN8KGceeg1N1EthzfzzI=; b=Bf6pQqf7cE51Mmc+qhjS YqZKZLO6jLGQXtx5Dy0lmQt9RZUfwvI1POy2piIKIK8Mq7hiX4ZSCyOCW19B482p2rQShP5wTB0Hw b4p+xU9Om5xCGZ8yzmrngxr+4UX88h4Lw7wvtsXxcPhoPhJeqhXHU/UyH5lz2NNzrgJiysZedRwtO alhyQfmU8SfhLIc4SchEXxLinPxbe3c8c1vMNRXDCbdgpoZVWhSkytIn7wzkB8lNgYIzEoykbJKuS qbl2xSIVHlQ88xQPEW1T4/lSkHj1SMZ35LlBicfW3kOkmuOxrPSX60yoDKrw4tJUhuY3asVeeSeKS z3lPpPtadHkPqw==; Received: from [193.50.110.143] (port=37074 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nvhVn-0005sO-Ai; Mon, 30 May 2022 11:40:55 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: zimoun Cc: Guix Devel Subject: Re: wishlist: =?utf-8?B?4oCccmVwYWNr4oCd?= generations history of profile References: <86wnegb9it.fsf@gmail.com> <87tu9g2r3k.fsf@gnu.org> <86r14kdw4m.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Primidi 11 Prairial an 230 de la =?utf-8?Q?R=C3=A9vo?= =?utf-8?Q?lution=2C?= jour de la Fraise X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 30 May 2022 17:40:53 +0200 In-Reply-To: <86r14kdw4m.fsf@gmail.com> (zimoun's message of "Mon, 23 May 2022 18:58:01 +0200") Message-ID: <875yln2flm.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1653925301; 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=9QumdxYh09cU1P8y7vFFAkogN8KGceeg1N1EthzfzzI=; b=J2S1BUrMQd7nwMlna95a9ieNoRjccTFTyjPf4RGNKTvzcalXeAOrCoTEhk1hV5vf/7krMX G6uAbFFEz7sdTCUa+7C/gXYUVZayQOJzw5S1SMtwYI4QSdDKcB4yMeMRszd+eTRruIaR+j 5/rci4sv/YqUxSEJX40j4jPNx83jUideQUdtsh3NrnE/qLYJ65y00B5lT0QOqNXuGpjd+L 8JHnLt/qEIzXMeAJGv6lsIFJ3afMb008Yo+wGoFi6v/42k1tgGsC10Ml1SvAg6PrdcVWAD B1Nn22LDxHiFYEb7vIl9Ej4IA2hgPjmNhkmDNfnIYH+HNubwWi2Q9ywkRKDJvw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653925301; a=rsa-sha256; cv=none; b=kTVPwPDrjlNUSyo7kPq3WRzofj329NdEhDCb5KNo+oaFTB77x6sslE8TkQ92JxFu4NWrHA vIAtUHZffPatRl6K7IWnhK5veyjXhqA4Z9kgmH3wAInQZR0DvBDd/ObYqVWpFH3a0sdFMh pCSnX4QvmX4KQSQ4W/OBgCGh7DPU0wxtt/6HdiNk46GW72iNq2F6WB5kQzlhG7k507XGFK 37iZRkt0+J+pAe5jvrNN6t3J6NLCcgVvJ7m6++WXQLILBcGJC3oI/g0tboGWtuIqrnmfpR xPHjMvI/gJ5XNJ1TVz8C5AfD9WbEkx1DFO5F2DorNnUn5MQ7lHaeHoMb/Mgnmg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=Bf6pQqf7; dmarc=pass (policy=none) header.from=gnu.org; 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: -5.23 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=Bf6pQqf7; dmarc=pass (policy=none) header.from=gnu.org; 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: 965ACC218 X-Spam-Score: -5.23 X-Migadu-Scanner: scn1.migadu.com X-TUID: 4mJsgW3We/E9 Hi, zimoun skribis: > On Mon, 23 May 2022 at 17:42, Ludovic Court=C3=A8s wrote: > >> Exactly! =E2=80=98guix pull=E2=80=99 profiles are entirely reproducible= : we can rebuild >> them from the output of =E2=80=98guix describe=E2=80=99. >> >> So =E2=80=98guix gc=E2=80=99 (or something) could automatically remove o= ld generation >> symlinks and instead store the output of =E2=80=98guix describe=E2=80=99= . That way, >> =E2=80=98--list-generations=E2=80=99 or =E2=80=98--switch-generations=E2= =80=99 could transparently >> display the info or rebuild the generation. > > I have in mind to remove all except the manifest file. [...] > Or maybe, it is easier to remove as today but save the relevant > information elsewhere. WDYT? Yes, that =E2=80=98manifest=E2=80=99 file would have copied elsewhere (we c= an=E2=80=99t just remove part of what=E2=80=99s in a /gnu/store directory). > Today, I manually store the output of =E2=80=9Cguix describe=E2=80=9D bef= ore I > manipulate a profile. This channels.scm output is tracked by Git as > part of my project. Then I run =E2=80=9Cgit log=E2=80=9D to find the pre= vious state of > interest and go back using, > > guix time-machine -C channels.scm -- shell -m manifest.scm > > which is fine and works well. Probably the good practise. :-) > > Instead of this external tracking, I would like to allow this workflow: > > guix package -p project --list-generations > guix package -p project --switch-generation=3D12 > > whatever the sysadmin collect about the old generations. Do you expect =E2=80=98--list-generations=E2=80=99 to look at older revisio= ns of your version-controlled =E2=80=98manifest.scm=E2=80=99? Ludo=E2=80=99.