Re: Display diffs between generations.

2016-10-26 Thread Roel Janssen
Benz Schenk writes: > On Tue, 25 Oct 2016 18:01:23 +0200 > Roel Janssen wrote: > >> Ludovic Courtès writes: >> >> > Hi! >> > >> > Benz Schenk skribis: >> > >> >> On Fri, 21 Oct 2016 11:37:00 +0200 >> >> Roel Janssen wrote: >> > >> > [...]

Re: Display diffs between generations.

2016-10-26 Thread Ludovic Courtès
Benz Schenk skribis: > On Tue, 25 Oct 2016 18:01:23 +0200 > Roel Janssen wrote: [...] >> There's only one thing: >> Would it make more sense to stick to the chronology of the generations >> (sorting them before displaying them)? > > IMO it's useful to see the

Re: Display diffs between generations.

2016-10-26 Thread Benz Schenk
On Tue, 25 Oct 2016 18:01:23 +0200 Roel Janssen wrote: > Ludovic Courtès writes: > > > Hi! > > > > Benz Schenk skribis: > > > >> On Fri, 21 Oct 2016 11:37:00 +0200 > >> Roel Janssen wrote: > > > > [...] > > > [...] > >> > >> I adapted

Re: Display diffs between generations.

2016-10-25 Thread Roel Janssen
Ludovic Courtès writes: > Hi! > > Benz Schenk skribis: > >> On Fri, 21 Oct 2016 11:37:00 +0200 >> Roel Janssen wrote: > > [...] > >>> The attached patch implements this behavior. However, because I use >>> @code{previous-generation-number} to determine which

Re: Display diffs between generations.

2016-10-24 Thread Ludovic Courtès
Hi! Benz Schenk skribis: > On Fri, 21 Oct 2016 11:37:00 +0200 > Roel Janssen wrote: [...] >> The attached patch implements this behavior. However, because I use >> @code{previous-generation-number} to determine which generation to diff >> with, the

Re: Display diffs between generations.

2016-10-21 Thread Benz Schenk
On Fri, 21 Oct 2016 11:37:00 +0200 Roel Janssen wrote: > Ludovic Courtès writes: > > > Roel Janssen skribis: > > > >> Ludovic Courtès writes: > > > > [...] > > > [...] > >> > >> Ah, sorry, I forgot about this. This makes sense. But then, what should > >>

Re: Display diffs between generations.

2016-10-21 Thread Roel Janssen
>From 7864ff2443f99fb227e90d0d176a977a30c88faa Mon Sep 17 00:00:00 2001 From: Roel Janssen Date: Fri, 21 Oct 2016 11:31:52 +0200 Subject: [PATCH] guix package: Display generation diffs. * guix/ui.scm (display-profile-content-diff): New variable. * guix/scripts/package.scm

Re: Display diffs between generations.

2016-10-20 Thread Ludovic Courtès
Roel Janssen skribis: > Ludovic Courtès writes: [...] >> I think what I’m suggesting is that the first matching generation should >> be displayed in full using ‘display-profile-content’, and subsequent >> generations would be displayed as a diff. >> >> Thus, when viewing a single

Re: Display diffs between generations.

2016-10-20 Thread Roel Janssen
Ludovic Courtès writes: > Roel Janssen skribis: > >> Ludovic Courtès writes: > > [...] > >>> I don’t think so. The old behavior will always be available by >>> specifying a single generation anyway: >>> >>> guix package --list-generations=42 >>> >>> It may be worth mentioning

Re: Display diffs between generations.

2016-10-20 Thread Ludovic Courtès
Roel Janssen skribis: > Ludovic Courtès writes: [...] >> I don’t think so. The old behavior will always be available by >> specifying a single generation anyway: >> >> guix package --list-generations=42 >> >> It may be worth mentioning this in the manual. >> >> My

Re: Display diffs between generations.

2016-10-19 Thread Roel Janssen
Ludovic Courtès writes: > Roel Janssen skribis: > >> Roel Janssen writes: >> >>> Ludovic Courtès writes: > > [...] > In the discussion that ensued, it seems there was a consensus to provide only the diff format:

Re: Display diffs between generations.

2016-10-19 Thread Ludovic Courtès
Roel Janssen skribis: > Roel Janssen writes: > >> Ludovic Courtès writes: [...] >>> In the discussion that ensued, it seems there was a consensus to provide >>> only the diff format: >>> >>> https://lists.gnu.org/archive/html/guix-devel/2016-09/msg00385.html >>> >>> So it seems

Re: Display diffs between generations.

2016-10-18 Thread Roel Janssen
Roel Janssen writes: > Ludovic Courtès writes: > >> Hi Roel! >> >> I realized we have not applied this --list-generations patch of yours, >> which is a pity. So… >> >> Roel Janssen skribis: >> >>> Vincent Legoll writes: >>> On Thu, Sep 1, 2016 at 2:12 PM, Ludovic Courtès

Re: Display diffs between generations.

2016-10-11 Thread Roel Janssen
Ludovic Courtès writes: > Hi Roel! > > I realized we have not applied this --list-generations patch of yours, > which is a pity. So… > > Roel Janssen skribis: > >> Vincent Legoll writes: >> >>> On Thu, Sep 1, 2016 at 2:12 PM, Ludovic Courtès wrote:

Re: Display diffs between generations.

2016-09-05 Thread Vincent Legoll
Hello, On Mon, Sep 5, 2016 at 9:52 AM, Hartmut Goebel wrote: > I agree with this as a general principle, of course. However, my > experience is that currently -l is hardly usable in practice, because it > spits out way too many lines. > > +1 Ah, I don't have a lot

Re: Display diffs between generations.

2016-09-05 Thread Hartmut Goebel
Am 05.09.2016 um 00:12 schrieb Ludovic Courtès: > I agree with this as a general principle, of course. However, my > experience is that currently -l is hardly usable in practice, because it > spits out way too many lines. +1 -- Schönen Gruß Hartmut Goebel Dipl.-Informatiker (univ), CISSP,

Re: Display diffs between generations.

2016-09-04 Thread Ludovic Courtès
Vincent Legoll skribis: > On Thu, Sep 1, 2016 at 2:12 PM, Ludovic Courtès wrote: >> --list-generations=full >>> >>> I think keeping a way to see all generations in one go would be cool >> >> --list-generations would still display all the

Re: Display diffs between generations.

2016-09-04 Thread Roel Janssen
Vincent Legoll writes: > On Thu, Sep 1, 2016 at 2:12 PM, Ludovic Courtès wrote: >> --list-generations=full >>> >>> I think keeping a way to see all generations in one go would be cool >> >> --list-generations would still display all the generations. Or did you >> mean “a

Re: Display diffs between generations.

2016-09-03 Thread Vincent Legoll
On Thu, Sep 1, 2016 at 2:12 PM, Ludovic Courtès wrote: > --list-generations=full >> >> I think keeping a way to see all generations in one go would be cool > > --list-generations would still display all the generations. Or did you > mean “a way to see *the content* of each

Re: Display diffs between generations.

2016-09-01 Thread Ludovic Courtès
Vincent Legoll skribis: --list-generations=full > > I think keeping a way to see all generations in one go would be cool --list-generations would still display all the generations. Or did you mean “a way to see *the content* of each generation”? Ludo’.

Re: Display diffs between generations.

2016-08-31 Thread Vincent Legoll
Hello >>> --list-generations=full I think keeping a way to see all generations in one go would be cool -- Vincent Legoll

Re: Display diffs between generations.

2016-08-31 Thread Ludovic Courtès
Roel Janssen skribis: > Ludovic Courtès writes: > >> Hi Roel, >> >> I’ve just tried the patch and I think it’s awesome! I’ve also always >> been dissatisfied with what ‘--list-generations’ provides—it’s >> inconvenient as soon as you have more than a handful packages. >> >>

Re: Display diffs between generations.

2016-08-29 Thread Roel Janssen
Ludovic Courtès writes: > Hi Roel, > > I’ve just tried the patch and I think it’s awesome! I’ve also always > been dissatisfied with what ‘--list-generations’ provides—it’s > inconvenient as soon as you have more than a handful packages. > > Perhaps we could add an optional argument to

Re: Display diffs between generations.

2016-08-29 Thread Ludovic Courtès
Hi Roel, I’ve just tried the patch and I think it’s awesome! I’ve also always been dissatisfied with what ‘--list-generations’ provides—it’s inconvenient as soon as you have more than a handful packages. Perhaps we could add an optional argument to --list-generations where:

Display diffs between generations.

2016-08-27 Thread Roel Janssen
>From 1ea5eaae4b492c82358c7394c22cd46497388449 Mon Sep 17 00:00:00 2001 From: Roel Janssen Date: Sun, 28 Aug 2016 00:54:06 +0200 Subject: [PATCH] guix package: Display generation diffs. --- guix/scripts/package.scm | 2 +- guix/ui.scm | 34