Re: ROADMAP in git tree needs to be updated.

2014-12-29 Thread Omar Radwan
>I’m tempted to remove the file >altogether, because that’s not really the >preferred way to communicate about >this, and is bound to become >outdated. I think removing it is a bad idea because a roadmap gives you an idea of what is planning to be implemented and the goal. Estimations make people

Re: ROADMAP in git tree needs to be updated.

2014-12-29 Thread Ludovic Courtès
Omar Radwan skribis: > I was browsing the guix git tree the other day, and I was reading the > ROADMAP file, and I found it extremely outdated. It talks about Guix 1.0 > being released in time for GNU's 30th anniversary. I think it needs a > rewrite Yeah. (Though it also starts with two paragra

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

2014-12-29 Thread Ludovic Courtès
Cyril Roelandt 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) > +

Re: New home-page checker for ‘guix lint’

2014-12-29 Thread Ludovic Courtès
Cyril Roelandt skribis: > That's cool, though I find your lack of tests disturbing. Commit 907c98a adds tests, using Guile’s HTTP server. Thanks for pointing fingers! ;-) Ludo’.

ROADMAP in git tree needs to be updated.

2014-12-29 Thread Omar Radwan
I was browsing the guix git tree the other day, and I was reading the ROADMAP file, and I found it extremely outdated. It talks about Guix 1.0 being released in time for GNU's 30th anniversary. I think it needs a rewrite

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

2014-12-29 Thread Ludovic Courtès
Cyril Roelandt skribis: > * guix/scripts/lint.scm (uri-available?): New procedure. > (%checkers): Add 'home-page' checker Some comments in addition to what David already wrote. > +(define (uri-available? uri) > + "Return #t if the given URI can be reached, otherwise throw a > +'not-available

Re: New home-page checker for ‘guix lint’

2014-12-29 Thread Ludovic Courtès
Cyril Roelandt skribis: > That's cool, though I find your lack of tests disturbing. :-) I admit I took the usual approach of “oh but all this is untestable, it requires the web and all that.” I realize we can certainly do better, using Guile’s web server for instance. I’ll see what I can do.

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

2014-12-29 Thread David Thompson
Cyril Roelandt writes: > * guix/scripts/lint.scm (uri-available?): New procedure. > (%checkers): Add 'home-page' checker > --- > guix/scripts/lint.scm | 98 > ++- > 1 file changed, 65 insertions(+), 33 deletions(-) > > diff --git a/guix/scripts/