On 17-02-13 15:35:25, Ludovic Courtès wrote: > ericbav...@openmailbox.org skribis: > > > From: Eric Bavier <bav...@member.fsf.org> > > > > * 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/