[Top][All Lists]

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

Re: [PATCH] lint: add 'source' checker.

From: Ludovic Courtès
Subject: Re: [PATCH] lint: add 'source' checker.
Date: Mon, 29 Dec 2014 21:32:34 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Cyril Roelandt <address@hidden> skribis:

> +(define (check-source package)
> +  ""
> +  (let ((origin (package-source package)))
> +    (when (and origin
> +               (eqv? (origin-method origin) url-fetch))
> +      (let* ((strings (origin-uri origin))
> +             (uris (if (list? strings)
> +                       (map string->uri strings)
> +                       (list (string->uri strings)))))

I realized while fixing it in list-packages.scm that mirror:// URIs
actually need to be expanded here.  See commit 1c69e4c for an example.


reply via email to

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