all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* undoing a --roll-back
@ 2014-04-06 17:43 Yagnesh Raghava Yakkala
  2014-04-06 19:33 ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: Yagnesh Raghava Yakkala @ 2014-04-06 17:43 UTC (permalink / raw)
  To: guix-devel


Hello all,

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 #"

Thanks.

╭─────
│sealion:~
│$ guix package --roll-back
│switching from generation 4 to 3
│nothing to be done
│✗ sealion:~
│$ guix package --fallback
│nothing to be done
│sealion:~
│$ guix package --list-generations
│Generation 1	Apr 06 2014 20:43:55
│  autoconf	2.69	out	/gnu/store/j1jlnidgsl91vka52faxd8gg7785ps2h-autoconf-2.69
│
│Generation 2	Apr 06 2014 21:12:09
│  autoconf	2.69	out	/gnu/store/j1jlnidgsl91vka52faxd8gg7785ps2h-autoconf-2.69
│  hello	2.9	out	/gnu/store/5k0dr40p8404sgjx9w7vbb9vdcp6kzsl-hello-2.9
│
│Generation 3	Apr 06 2014 21:13:38	(current)
│  autoconf	2.69	out	/gnu/store/j1jlnidgsl91vka52faxd8gg7785ps2h-autoconf-2.69
│  hello	2.9	out	/gnu/store/5k0dr40p8404sgjx9w7vbb9vdcp6kzsl-hello-2.9
│  automake	1.14.1	out	/gnu/store/nnljzxzsjf5wrr28j2zy3k6y71a8y28p-automake-1.14.1
│
│Generation 4	Apr 06 2014 22:26:05
│  autoconf	2.69	out	/gnu/store/j1jlnidgsl91vka52faxd8gg7785ps2h-autoconf-2.69
│  hello	2.9	out	/gnu/store/5k0dr40p8404sgjx9w7vbb9vdcp6kzsl-hello-2.9
│  automake	1.14.1	out	/gnu/store/nnljzxzsjf5wrr28j2zy3k6y71a8y28p-automake-1.14.1
│  emacs	24.3	out	/gnu/store/5aqsf21m86qf03jj8rc6bvq9v0xnlws5-emacs-24.3
│
│Generation 5	Apr 07 2014 02:26:17
│  autoconf	2.69	out	/gnu/store/j1jlnidgsl91vka52faxd8gg7785ps2h-autoconf-2.69
│  hello	2.9	out	/gnu/store/5k0dr40p8404sgjx9w7vbb9vdcp6kzsl-hello-2.9
│  automake	1.14.1	out	/gnu/store/nnljzxzsjf5wrr28j2zy3k6y71a8y28p-automake-1.14.1
╰─────

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

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

* Re: undoing a --roll-back
  2014-04-06 17:43 undoing a --roll-back Yagnesh Raghava Yakkala
@ 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; 5+ 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] 5+ messages in thread

* Re: undoing a --roll-back
  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
  1 sibling, 0 replies; 5+ 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] 5+ messages in thread

* bug#17208: undoing a --roll-back
  2014-04-06 19:33 ` 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; 5+ 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] 5+ 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; 5+ 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] 5+ messages in thread

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

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-06 17:43 undoing a --roll-back Yagnesh Raghava Yakkala
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
2014-10-15 17:11     ` Ludovic Courtès

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.