guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] website: packages: Anchor location url to commit id.


From: ng0
Subject: Re: [PATCH] website: packages: Anchor location url to commit id.
Date: Mon, 13 Feb 2017 15:45:27 +0000

On 17-02-13 15:35:25, Ludovic Courtès wrote:
> address@hidden skribis:
> 
> > From: Eric Bavier <address@hidden>
> >
> > * website/www/packages.scm (git-description): New variable.
> > (location-url): Include "?id=..." if possible.
> 
> Looks like a good idea, please push!
> 
> Thanks,
> Ludo'.
> 
As a follow-up I think we could also use this now:

(string-append "//git.savannah.gnu.org/cgit/guix.git/tree/"
               (location-file loc) "#n"
               (number->string (location-line loc))))

And the same for other instances of git.savannah.gnu.org,
what do you think?

There are other "http" in the pages which could be replaced with // as
well (for example hydra.gnu.org).

-- 
ng0 -- https://www.inventati.org/patternsinthechaos/



reply via email to

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