From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uNQQF7iQnGI+4wAAbAwnHQ (envelope-from ) for ; Sun, 05 Jun 2022 13:17:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id i6ItF7iQnGKejgAA9RJhRA (envelope-from ) for ; Sun, 05 Jun 2022 13:17:12 +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 11308CBD3 for ; Sun, 5 Jun 2022 13:17:11 +0200 (CEST) Received: from localhost ([::1]:37350 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nxoFq-0002yb-Nm for larch@yhetil.org; Sun, 05 Jun 2022 07:17:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37792) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxoFV-0002wZ-89 for guix-devel@gnu.org; Sun, 05 Jun 2022 07:16:49 -0400 Received: from ns13.heimat.it ([46.4.214.66]:37638) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nxoFT-0007WE-J7 for guix-devel@gnu.org; Sun, 05 Jun 2022 07:16:48 -0400 Received: from localhost (ip6-localhost [127.0.0.1]) by ns13.heimat.it (Postfix) with ESMTP id 12CC530087D; Sun, 5 Jun 2022 11:16:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at ns13.heimat.it Received: from ns13.heimat.it ([127.0.0.1]) by localhost (ns13.heimat.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nL0trcYOEG6a; Sun, 5 Jun 2022 11:16:42 +0000 (UTC) Received: from bourrache.mug.xelera.it (unknown [93.56.171.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ns13.heimat.it (Postfix) with ESMTPSA id 7659C30085C; Sun, 5 Jun 2022 11:16:42 +0000 (UTC) Received: from roquette.mug.biscuolo.net (roquette [10.38.2.14]) by bourrache.mug.xelera.it (Postfix) with SMTP id 15A851B52B7F; Sun, 5 Jun 2022 13:16:42 +0200 (CEST) Received: (nullmailer pid 22329 invoked by uid 1000); Sun, 05 Jun 2022 11:16:41 -0000 From: Giovanni Biscuolo To: zimoun Cc: Guix Devel Subject: Re: wishlist: =?utf-8?B?4oCccmVwYWNr4oCd?= generations history of profile In-Reply-To: <86k09v1m0v.fsf@gmail.com> Organization: Xelera.eu References: <86wnegb9it.fsf@gmail.com> <87tu9g2r3k.fsf@gnu.org> <86r14kdw4m.fsf@gmail.com> <875yln2flm.fsf@gnu.org> <87k0a3aqh2.fsf@gmail.com> <87fskknahr.fsf@xelera.eu> <86k09v1m0v.fsf@gmail.com> Date: Sun, 05 Jun 2022 13:16:41 +0200 Message-ID: <875ylfmkbq.fsf@xelera.eu> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=46.4.214.66; envelope-from=g@xelera.eu; helo=ns13.heimat.it X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" 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=1654427832; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=EZaXBTXJ59rnFY/wgKv69MvofCzgi+ZWLtczH9Fl19Y=; b=faxyagL7XzBdSY7TQwC3Vx3dKYQWzDhcXZAjaCIKNxeGmVF7A3mxGA0AiWryT6n281w27z 2wPMEoWaBEEHDikX8ApNX//meHmRGWtK1LDtTq7a22HJ+e1r+XxwMeLaXqQLwu8DeGSSB+ fpd/il2RaIy8/HiSw2GWf4EeeTx+eK2Uv7EMn6ImKtnSZDOQjL40GhIBLZ4rA2K4Nm3DSl 6LQEnaMPzbwkOvWQZdCib55Kw4DRz+k6Qwi32vvQwPik0bnCHEwLZPPAmevE+P7w8l0NoR kTVHZXt32ClisZnqt/Ivto9PzZiSwGjzt2FUoXVes0c/tWz9LTBHXuMGIDeOng== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654427832; a=rsa-sha256; cv=none; b=d1pCPuhMqwfGSnClqJzkytB6RKQ+d8RgF+7no1zGK2NcQa6jZ0EGEsYdItO0gW1sid7geU kc5hv5843QEXfLzjifXPEEGViKgctUPSSLqAgE9cIKMSubLjhpdFh5HXqNVL8eEz7erear LTZAeK4xhmNfUNYk+ej2jYmONLlooI/bQvoLhAMWKFW8j7+6x8Ym3RXMKLYkEi1LBkTz6j D39lrkKqOjWDGAat9WYVN8q5WVKoXR7AxZt6aNX79iZrXf+CTfd+HwIp2VEY4maz9gsUSm S/0MXHgMhraZckMZbVieGAZOiB4lq02TIKSYsuxrR1jOSPirCVhfFKyPADArbg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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.21 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: 11308CBD3 X-Spam-Score: -5.21 X-Migadu-Scanner: scn0.migadu.com X-TUID: qcFT2zIFUTwR --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Simon and developers, what about a flag - e.g. --backup - and a related funcion for "guix package -d generations" and "guix gc -d generations" (other?) that saves "channels-generation-.scm" and "manifest-generation- for each deleted generation? This way we can keep the current deletion of generations and status logic while giving users a utility to automaticcaly keep old channels.scm and manifest.scm files, of course the responsibility to store the backups (where, how, why) is on the users shoulders Sorry I'm not able to help with such implementation, it's just an idea for an alternative one. zimoun writes: [...] > Therefore, you want to roll-back to the first generation and see=E2=80=A6= Bah > you cannot because it is many months old and the sysadmin runs =E2=80=9Cg= uix gc > -d 3m=E2=80=9D to save some space. I'm a sysadmin, please understand the ungrateful job to administer a machine in a "shared servers context" in which users have the power to administer their software profiles.... except they are not willing to do it properly. Each and every user is /also/ a little sysadmin ;-) "guix gc -d 3m" by sysadmins for their users is "hard delegation" "guix package -d " by users and "guix gc -C" by sysadmins is "soft delegation" and more fair IMHO [...] > However, we are often saying: do not worry, you can always travel back > in time (implicitly assuming Guix have the information :-)). If this is the case, IMHO we should patch the manual: what part of the manual do you have in mind? > And this assumption is often missed which leads to uncomfortable > situations, not to say maybe some scientists are sometime blaming > sysadmin and/or Guix promoter. :-) I know: when a system does not work as expected is always someone else resposibility, usually sysadmins :-O > Somehow my point is: The time scale of a project is often very different > to the time scale of GC on a machine. Most of the time, the old Somehow my point is: sysadmins and users should peacefully agree on a Guix package and profile management policy, documenting it for the organization [...] Happy Guixing! :-D Gio' =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJABAEBCgAqFiEERcxjuFJYydVfNLI5030Op87MORIFAmKckJkMHGdAeGVsZXJh LmV1AAoJENN9DqfOzDkSNwUQAIOCSaMIQ5oIIg1vgKacx1jHGgdZXWpPk888DBFE JUKSGxeXFwgEL2xh0/x9cX8BCXchUnUupTUilyzii9rUZGKlLKnnJiyYCM3bJB+K uJQK2TW8isxLwnLLs22sOyUbisDJXLcKoVRC+tUpzuOFkZ4M331hIz8TA+VJXWCS BTWG/cJZGLenyUb54iqcbcISQhv7rfOf15m9VhGY0BNefrpY3zVmfhTd6qiVKhvb GcntUHBl+1obsvF498wZ2dxvmwJAfj61o+BvAjd9tDhscMVaozAY5q8TLWpoGZHh L1LX44ax1QKTkFZvk9T5AX364uFXLIRJT1ER99vzSKNxU/Z4lgve+TWIHCPX88Y5 TCO+RQEutrqVEgkVtVWJOSmlPYsvw/6A85+lMwLYENAOLPckdv2JXmovSdXNwo+0 Ix+8AQMZ7bRrap6f3/HUEPn/BJMfQOG/JIgypJgETSB2BHuB19TPjfoA/wyoR9xI TFDBaFSS+bLRifj2d5slh/vGhp/I+3cGVvmReifGS2kJApqYPjoQPJXz5vOZZCG0 5uZWX8NJ5yV8A31cjkBDkCZdH21RDHb4/Eh+WRPLYeUwMo1mzBmRyFVQxl5DJqDu QEASOT/yQJW1jJR1xP+LEXIldtDRPx3kn6bWQbRKS89U/hqbuVtCCM7bx+azNIX7 0sOj =f826 -----END PGP SIGNATURE----- --=-=-=--