GNU bug report logs - #22242
Help constructing source URL

Previous Next

Package: guix;

Reported by: Leo Famulari <leo <at> famulari.name>

Date: Sat, 26 Dec 2015 07:07:01 UTC

Severity: normal

Done: Andreas Enge <andreas <at> enge.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Leo Famulari <leo <at> famulari.name>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 22242 <at> debbugs.gnu.org
Subject: bug#22242: Help constructing source URL
Date: Sat, 26 Dec 2015 11:48:26 -0500
On Sat, Dec 26, 2015 at 08:46:38AM +0100, Ricardo Wurmus wrote:
> 
> Leo Famulari <leo <at> famulari.name> writes:
> 
> > Our tinyproxy package needs to be updated to use the current source URL.
> >
> > The current URL is:
> > https://download.banu.com/tinyproxy/1.8/tinyproxy-1.8.3.tar.gz
> >
> > I don't know how to abstract the "1.8" directory to account for other
> > versions.
> 
> How about this:
> 
> (string-append "https://download.banu.com/tinyproxy/"
>                (version-major+minor version)
>                "/tinyproxy-" version ".tar.gz")

Thanks! I've updated the package definition using this method.

> 
> ~~ Ricardo
> 




This bug report was last modified 9 years and 148 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.