guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 04/13] utils: Use '@' for separating package names and versio


From: Mathieu Lirzin
Subject: Re: [PATCH 04/13] utils: Use '@' for separating package names and version numbers.
Date: Mon, 29 Feb 2016 01:28:23 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Hi,

address@hidden (Ludovic Courtès) writes:

> What about this:
>
>   1. Put the new ‘package-name->name+version’ in (guix utils) and keep
>      it dumb (i.e., it insists on having an address@hidden, as is the case 
> with the
>      patch you posted.)
>
>   2. Add the fallback case in ‘specification->package’ and
>      ‘specification->package+output’ in (gnu packages).
>
> How does that sound?

Thanks for finding a solution.  It seems to work (at least according to ‘make
check’).

However, I am not pleased by the current state of the
‘specification/package-name->...’ procedures.  They don't compose well,
and are obfuscated by being fragmented across a bunch of modules.  I
don't know if there is much room for improvement but my feeling is that
the brain involvement required for implementing the '@' thing was far
too high compared to the actual task.

I have left the emacs interface untouched.

Attachment: 0001-packages-Factorize-package-specification-search.patch
Description: Text Data

Attachment: 0002-utils-Use-for-separating-package-names-and-version-n.patch
Description: Text Data

--
Mathieu Lirzin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]