unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* Re: undoing a --roll-back
       [not found] <87eh1a4amv.fsf@sealion.lowtem.hokudai.ac.jp>
@ 2014-04-06 19:33 ` Ludovic Courtès
  2014-04-07  9:13   ` Yagnesh Raghava Yakkala
  2014-10-15 15:26   ` bug#17208: " Eric Bavier
  0 siblings, 2 replies; 4+ messages in thread
From: Ludovic Courtès @ 2014-04-06 19:33 UTC (permalink / raw)
  To: Yagnesh Raghava Yakkala; +Cc: guix-devel, bug-guix

(Adding bug-guix so we keep track of it.)

Yagnesh Raghava Yakkala <hi@yagnesh.org> skribis:

> I am trying to understand rollback feature. I have five generations in the
> package history. As I operated roll-back command, my "current" generation sets
> to 3 from 4 (shell log pasted below). Now how can I return to 4. More general, can I
> go to a desired generation by giving number?  say "guix package --goto-generation #"

Good question.  We can’t do that at the moment, but it would be simple
to add.

In the meantime you can do it by hand by changing the target of the
/var/guix/profiles/per-user/$USER/guix-profile symlink (or similar.)

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: undoing a --roll-back
  2014-04-06 19:33 ` undoing a --roll-back Ludovic Courtès
@ 2014-04-07  9:13   ` Yagnesh Raghava Yakkala
  2014-10-15 15:26   ` bug#17208: " Eric Bavier
  1 sibling, 0 replies; 4+ messages in thread
From: Yagnesh Raghava Yakkala @ 2014-04-07  9:13 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel, bug-guix


Hello Ludovic,

On Apr 07 2014, ludo@gnu.org (Ludovic Courtès) wrote:

> (Adding bug-guix so we keep track of it.)

Thanks 

> In the meantime you can do it by hand by changing the target of the
> /var/guix/profiles/per-user/$USER/guix-profile symlink (or similar.)

Thanks, that was easy.

-- 
ఎందరో మహానుభావులు అందరికి వందనములు.
YYR

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#17208: undoing a --roll-back
  2014-04-06 19:33 ` undoing a --roll-back Ludovic Courtès
  2014-04-07  9:13   ` Yagnesh Raghava Yakkala
@ 2014-10-15 15:26   ` Eric Bavier
  2014-10-15 17:11     ` Ludovic Courtès
  1 sibling, 1 reply; 4+ messages in thread
From: Eric Bavier @ 2014-10-15 15:26 UTC (permalink / raw)
  To: 17208

Note that commit b3bb82f1 adds the '--switch-generation' option to
'guix package'.

-- 
Eric Bavier

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#17208: undoing a --roll-back
  2014-10-15 15:26   ` bug#17208: " Eric Bavier
@ 2014-10-15 17:11     ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2014-10-15 17:11 UTC (permalink / raw)
  To: Eric Bavier; +Cc: 17208-done

Eric Bavier <ericbavier@gmail.com> skribis:

> Note that commit b3bb82f1 adds the '--switch-generation' option to
> 'guix package'.

Indeed, I think it answers the original request.
So I’m happily closing the bug.  :-)

Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-10-15 17:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <87eh1a4amv.fsf@sealion.lowtem.hokudai.ac.jp>
2014-04-06 19:33 ` undoing a --roll-back Ludovic Courtès
2014-04-07  9:13   ` Yagnesh Raghava Yakkala
2014-10-15 15:26   ` bug#17208: " Eric Bavier
2014-10-15 17:11     ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).