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


Message #8 received at 22242 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Leo Famulari <leo <at> famulari.name>
Cc: 22242 <at> debbugs.gnu.org
Subject: Re: bug#22242: Help constructing source URL
Date: Sat, 26 Dec 2015 08:46:38 +0100
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")

~~ 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.