[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] gnu-maintenance: Improve 'official-gnu-packages'; add the relate
From: |
Nikita Karetnikov |
Subject: |
[PATCH] gnu-maintenance: Improve 'official-gnu-packages'; add the related procedures. |
Date: |
Sat, 16 Mar 2013 23:30:54 +0400 |
> Yes please, that would be better.
I apologize for the delay. What do you think about the attached patch?
I noticed that 'guile-gnome' has two 'doc-url' fields. How can I handle
this? (I ignored it for now.)
Also, is there a better way to create 'gnu-package-descriptor'? Note
that I don't want to use setters.
For example, it should be possible to match a list of regexps against a
list of fields. But I haven't found a way to do so because some fields
are optional and I also don't want to rely on their order.
> This code is run by the user’s Guile, which may be older than 2.0.7
> (‘http-get*’ was introduced in 2.0.7), so you can’t rely on it.
> What you can do is something along the lines of what (guix build
> download) does, but always return a port. Maybe there’s a way to share
> code.
But how can I return a port with 'http-get'? ('http-fetch*' is a
temporary function.)
> I’d rather change ‘group-packages’ to ‘read-package-fields’ or something
> like that.
I changed it to 'group-package-fields' and added some comments.
> identity
(identity sublst) won't work.
If (regexp-exec package-line-rx (first sublst)) returns #t,
'and=>' will call 'identity' with the result of 'regexp-exec'. But it
should return 'sublst' instead.
I also changed 'gnu-package?'. Please test.
0001-gnu-maintenance-Improve-official-gnu-packages-add-th.patch
Description: Text Data
pgpyYODGYltzU.pgp
Description: PGP signature
- [PATCH] gnu-maintenance: Replace 'official-gnu-packages' with 'find-packages'., Nikita Karetnikov, 2013/03/06
- Re: [PATCH] gnu-maintenance: Replace 'official-gnu-packages' with 'find-packages'., Ludovic Courtès, 2013/03/06
- [PATCH] gnu-maintenance: Improve 'official-gnu-packages'; add the related procedures.,
Nikita Karetnikov <=
- Re: [PATCH] gnu-maintenance: Improve 'official-gnu-packages'; add the related procedures., Ludovic Courtès, 2013/03/22
- Re: [PATCH] gnu-maintenance: Improve 'official-gnu-packages'; add the related procedures., Nikita Karetnikov, 2013/03/26
- Re: [PATCH] gnu-maintenance: Improve 'official-gnu-packages'; add the related procedures., Ludovic Courtès, 2013/03/26
- Re: [PATCH] gnu-maintenance: Improve 'official-gnu-packages'; add the related procedures., Nikita Karetnikov, 2013/03/26
- Re: [PATCH] gnu-maintenance: Improve 'official-gnu-packages'; add the related procedures., Ludovic Courtès, 2013/03/26
- Re: [PATCH] gnu-maintenance: Improve 'official-gnu-packages'; add the related procedures., Nikita Karetnikov, 2013/03/27