[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Emacs interface for Guix
From: |
Alex Kost |
Subject: |
Re: [PATCH] Emacs interface for Guix |
Date: |
Thu, 14 Aug 2014 00:58:27 +0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Ludovic Courtès (2014-08-13 20:03 +0400) wrote:
> Alex Kost <address@hidden> skribis:
>
> [...]
>
>> (I excluded “upgrade” part as it's the same as “install”, and
>> ‘show-transaction’ is almost the same as ‘show-what-to-remove/install’
>> from "package.scm".)
>
> Yes.
>
> Could you turn the above thing into a patch with a commit log? Bonus
> points for ‘manifest-perform-transaction’ unit tests. Make sure to add
> a copyright line for yourself in profiles.scm.
>
> And then a second patch to actually use it in (guix scripts package)
> would be wonderful. :-)
Ok, I'm attaching these patches. But there are several issues there:
- I fixed a typo in "tests/profiles.scm" (“profile” -> “profiles”) – Is
it ok to do this in that commit or should there be a separate commit?
- I added a copyright line to the test file as well. Is it ok?
- The main thing: look at ‘manifest-show-transaction’ – unlike
‘show-what-to-remove/install’ it doesn't display an output path of a
package item, because a store should be used for that. So is it
acceptable or should something be changed there?
> In the next iteration, ‘show-what-to-remove/install’ should report
> packages that are going to be upgraded (by checking among ‘install’
> those are already in the manifest.)
I'll try to do this.
>> Also I think "guix.el" should check for freshness too, so
>> ‘check-package-freshness’ should probably be exported.
>
> Yes, probably in the (gnu packages) module?
Probably, but I think I'm not competent to decide :)
0001-profiles-Add-manifest-transaction.patch
Description: Text Data
0002-guix-package-Use-manifest-transaction.patch
Description: Text Data
--
Alex Kost
- Re: Emacs interface for Guix, Ludovic Courtès, 2014/08/11
- [PATCH] Emacs interface for Guix, Alex Kost, 2014/08/12
- Re: [PATCH] Emacs interface for Guix, Ludovic Courtès, 2014/08/12
- Re: [PATCH] Emacs interface for Guix, Alex Kost, 2014/08/12
- Re: [PATCH] Emacs interface for Guix, Ludovic Courtès, 2014/08/12
- Re: [PATCH] Emacs interface for Guix, Alex Kost, 2014/08/13
- Re: [PATCH] Emacs interface for Guix, Ludovic Courtès, 2014/08/13
- Re: [PATCH] Emacs interface for Guix,
Alex Kost <=
- Re: [PATCH] Emacs interface for Guix, Alex Kost, 2014/08/15
- Re: [PATCH] Emacs interface for Guix, Ludovic Courtès, 2014/08/16
- [PATCH] manifest-transaction, Alex Kost, 2014/08/16
- [PATCH] profiles: Report about upgrades., Alex Kost, 2014/08/20
- Re: [PATCH] profiles: Report about upgrades., Ludovic Courtès, 2014/08/23
- Re: [PATCH] profiles: Report about upgrades., Ludovic Courtès, 2014/08/30
- Re: [PATCH] profiles: Report about upgrades., Alex Kost, 2014/08/31
- Re: [PATCH] profiles: Report about upgrades., Ludovic Courtès, 2014/08/31
- Re: [PATCH] profiles: Report about upgrades., Jason Self, 2014/08/31
- Re: [PATCH] Emacs interface for Guix, Ludovic Courtès, 2014/08/16