From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: [PATCH] guix package: Export generation procedures. Date: Sun, 5 Oct 2014 16:44:12 +0200 Message-ID: <20141005144412.GA26224@debian> References: <87d2c5h4if.fsf@gnu.org> <87lhqsev1d.fsf@gmail.com> <877g2c74xh.fsf@gnu.org> <87ha1gds3w.fsf@gmail.com> <8761hsmxkl.fsf@gnu.org> <87zjf4d1mh.fsf@gmail.com> <87mwb0b3fq.fsf@gnu.org> <87ha17ctyv.fsf_-_@gmail.com> <87ppfs6gxk.fsf@gnu.org> <87wq8fk979.fsf_-_@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39701) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xan36-0005tO-HM for guix-devel@gnu.org; Sun, 05 Oct 2014 10:44:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xan2z-0002ug-1f for guix-devel@gnu.org; Sun, 05 Oct 2014 10:44:36 -0400 Content-Disposition: inline In-Reply-To: <87wq8fk979.fsf_-_@gmail.com> 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Alex Kost Cc: guix-devel@gnu.org On Sat, Oct 04, 2014 at 09:59:06PM +0400, Alex Kost wrote: > - (Not related to this patch, but still …) Currently with “roll-back”, > we can only switch to the previous generation. What about adding a > possibility to switch to any generation? So that we could use > something like this: > guix package --switch-generation=7 Actually, sometimes I would like to switch to the next generation ("-roll- forward", in a sense): I install something, go back with "--roll-back", and might like to go just one forward again. So how about the following: --switch-generation=1 goes to generation 1; --switch-generation=-1 goes 1 generation back; --switch-generation=+1 goes one generation forward. Andreas