From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH 5/5] system: Add 'guix system' actions: switch-generation and roll-back. Date: Sun, 06 Nov 2016 18:13:44 +0100 Message-ID: <8737j43513.fsf@gnu.org> References: <87d1ihscmr.fsf@gnu.org> <20161102054815.11253-1-cmmarusich@gmail.com> <20161102054815.11253-6-cmmarusich@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44919) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c3R0w-0006Ie-75 for guix-devel@gnu.org; Sun, 06 Nov 2016 12:13:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c3R0t-0007xO-2h for guix-devel@gnu.org; Sun, 06 Nov 2016 12:13:50 -0500 In-Reply-To: <20161102054815.11253-6-cmmarusich@gmail.com> (cmmarusich@gmail.com's message of "Tue, 1 Nov 2016 22:48:15 -0700") 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+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: cmmarusich@gmail.com Cc: guix-devel@gnu.org cmmarusich@gmail.com skribis: > From: Chris Marusich > > * guix/scripts/system.scm (roll-back-system, switch-to-system-generation)= : new > actions. > (reinstall-grub): New procedure, used by switch-to-system-generation. > (show-help, process-command, guix-system): Honor the new actions. > * doc/guix.texi (Invoking guix system) : Ad= d the > new actions. > : In the footnote, mention that the new actions also only wo= rk on > GuixSD. Applied. > I realized I forgot to include some info in the manual, so here's one > more patch to add the missing info. I merged it with the one above. I=E2=80=99m really happy we have these two new commands now, it fixes a gla= ring lack. Thanks for your hard work and patience! With this in place, and once you=E2=80=99ve recovered from this patch series ;-), it should be relatively easy to add =E2=80=98guix system delete-generations=E2=80=99 (similar to =E2=80=98guix package --delete-gene= rations=E2=80=99.) WDYT? The next more complicated thing would be to see what needs to be done so we can restart system services upon roll-back. Ludo=E2=80=99.