From: Roel Janssen <roel@gnu.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: Display diffs between generations.
Date: Tue, 25 Oct 2016 18:01:23 +0200 [thread overview]
Message-ID: <87twc08lkc.fsf@gnu.org> (raw)
In-Reply-To: <877f8x1o7j.fsf@gnu.org>
Ludovic Courtès writes:
> Hi!
>
> Benz Schenk <benz.schenk@uzh.ch> skribis:
>
>> On Fri, 21 Oct 2016 11:37:00 +0200
>> Roel Janssen <roel@gnu.org> wrote:
>
> [...]
>
>>> The attached patch implements this behavior. However, because I use
>>> @code{previous-generation-number} to determine which generation to diff
>>> with, the following will not provide a diff as expected:
>>>
>>> guix package --list-generations=42,41,40
>>>
>>> Any ideas on how to fix this? Otherwise I'll give it another go over
>>> the weekend.
>>>
>>> Kind regards,
>>> Roel Janssen
>>
>> I adapted your patch to hopefully implement the desired behaviour, but
>> it might need some cleaning up as I'm just getting started learning
>> scheme.
>
>From what I can see that Benz’ patch does indeed work as expected (but
> really, the example above is a corner case that we shouldn’t worry too
> much about.)
>
> Roel, if that’s fine with you, please commit with proper commit log and
> acknowledgment.
>
> Thanks to both of you. :-)
Thanks a lot Benz!
There's only one thing:
Would it make more sense to stick to the chronology of the generations
(sorting them before displaying them)?
If you think Benz's patch is good, then I will push that one. Otherwise
I'll adapt it to sort the generations.
@Benz, what's the copyright line you want to have in the patch?
Kind regards,
Roel Janssen
next prev parent reply other threads:[~2016-10-25 16:00 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-27 23:02 Display diffs between generations Roel Janssen
2016-08-29 16:25 ` Ludovic Courtès
2016-08-29 19:08 ` Roel Janssen
2016-08-31 20:52 ` Ludovic Courtès
2016-08-31 21:11 ` Vincent Legoll
2016-09-01 12:12 ` Ludovic Courtès
2016-09-03 13:03 ` Vincent Legoll
2016-09-04 16:53 ` Roel Janssen
2016-10-10 20:30 ` Ludovic Courtès
2016-10-11 7:19 ` Roel Janssen
2016-10-18 12:43 ` Roel Janssen
2016-10-19 20:22 ` Ludovic Courtès
2016-10-19 21:48 ` Roel Janssen
2016-10-20 12:36 ` Ludovic Courtès
2016-10-20 12:56 ` Roel Janssen
2016-10-20 19:38 ` Ludovic Courtès
2016-10-21 9:37 ` Roel Janssen
2016-10-21 14:40 ` Benz Schenk
2016-10-24 20:33 ` Ludovic Courtès
2016-10-25 16:01 ` Roel Janssen [this message]
2016-10-26 11:13 ` Benz Schenk
2016-10-26 11:38 ` Ludovic Courtès
2016-10-26 12:58 ` Roel Janssen
2016-09-04 22:12 ` Ludovic Courtès
2016-09-05 7:52 ` Hartmut Goebel
2016-09-05 10:38 ` Vincent Legoll
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87twc08lkc.fsf@gnu.org \
--to=roel@gnu.org \
--cc=guix-devel@gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).