bug#20137: number of generation doesn't always rise monotonically

2015-03-23 Thread Tomáš Čech
On Mon, Mar 23, 2015 at 10:13:13AM +0100, Ludovic Courtès wrote: Tomáš Čech skribis: Perhaps we can eventually move to an actual tree structure where the nodes can be named whatever. Until now I thought that's how generations work, and are just named after integers for identification purposes

bug#20137: number of generation doesn't always rise monotonically

2015-03-23 Thread Ludovic Courtès
Tomáš Čech skribis: >>Perhaps we can eventually move to an actual tree structure where the >>nodes can be named whatever. Until now I thought that's how generations >>work, and are just named after integers for identification purposes. [...] >>I’m concerned that this would add both code and us

bug#20137: number of generation doesn't always rise monotonically

2015-03-22 Thread Tomáš Čech
Sorry, for some reason I didn't get any e-mail and noticed only closing the bug. I'll subscribe to bug-guix ML to prevent it. That’s expected, yes. What makes you think it’s a problem? First, it was conflicting experience with what you were saying on IRC. User experience was a bit confusing

bug#20137: number of generation doesn't always rise monotonically

2015-03-22 Thread Ludovic Courtès
tag 20137 notabug thanks I think the initial “bug” report can be closed. Feel free to open another bug or wishlist item if you think something must be done in this area. Thanks to both of you! Ludo’.

bug#20137: number of generation doesn't always rise monotonically

2015-03-19 Thread Ludovic Courtès
taylanbayi...@gmail.com (Taylan Ulrich "Bayırlı/Kammer") skribis: > l...@gnu.org (Ludovic Courtès) writes: > >> 2. Upon rollback from P to N, keep all the generations, but use P+1 >> for the next generation number. Doesn’t work, because rolling back >> from P+1 would bring you back to

bug#20137: number of generation doesn't always rise monotonically

2015-03-18 Thread Thompson, David
On Wed, Mar 18, 2015 at 4:47 PM, Taylan Ulrich Bayırlı/Kammer wrote: > l...@gnu.org (Ludovic Courtès) writes: > >> 2. Upon rollback from P to N, keep all the generations, but use P+1 >> for the next generation number. Doesn’t work, because rolling back >> from P+1 would bring you back

bug#20137: number of generation doesn't always rise monotonically

2015-03-18 Thread Taylan Ulrich Bayırlı/Kammer
l...@gnu.org (Ludovic Courtès) writes: > 2. Upon rollback from P to N, keep all the generations, but use P+1 > for the next generation number. Doesn’t work, because rolling back > from P+1 would bring you back to P instead of N. Perhaps we can eventually move to an actual tree struct

bug#20137: number of generation doesn't always rise monotonically

2015-03-18 Thread Ludovic Courtès
Tomáš Čech skribis: > 1] install some package (you'll have N and N+1) > 2] install some other package (you'll have N, N+1 and N+2) > 3] delete generation N+1 (you'll have N and N+2) > 4] switch to generation N > 5] install some package - you'll get generation N+1 again > (you'll have N, N+1 and

bug#20137: number of generation doesn't always rise monotonically

2015-03-18 Thread Tomáš Čech
Generation number is not always the maximum of all generation numbers and so generation number is not always monotonic. Steps to reproduce: Lets start with on generation N. 1] install some package (you'll have N and N+1) 2] install some other package (you'll have N, N+1 and N+2) 3] delete gener