unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#22242: Help constructing source URL
@ 2015-12-26  7:05 Leo Famulari
  2015-12-26  7:46 ` Ricardo Wurmus
  0 siblings, 1 reply; 4+ messages in thread
From: Leo Famulari @ 2015-12-26  7:05 UTC (permalink / raw)
  To: 22242

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#22242: Help constructing source URL
  2015-12-26  7:05 bug#22242: Help constructing source URL Leo Famulari
@ 2015-12-26  7:46 ` Ricardo Wurmus
  2015-12-26 13:32   ` Andreas Enge
  2015-12-26 16:48   ` Leo Famulari
  0 siblings, 2 replies; 4+ messages in thread
From: Ricardo Wurmus @ 2015-12-26  7:46 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 22242


Leo Famulari <leo@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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#22242: Help constructing source URL
  2015-12-26  7:46 ` Ricardo Wurmus
@ 2015-12-26 13:32   ` Andreas Enge
  2015-12-26 16:48   ` Leo Famulari
  1 sibling, 0 replies; 4+ messages in thread
From: Andreas Enge @ 2015-12-26 13:32 UTC (permalink / raw)
  To: 22242-done

This is not quite a bug, closing it.

Andreas

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#22242: Help constructing source URL
  2015-12-26  7:46 ` Ricardo Wurmus
  2015-12-26 13:32   ` Andreas Enge
@ 2015-12-26 16:48   ` Leo Famulari
  1 sibling, 0 replies; 4+ messages in thread
From: Leo Famulari @ 2015-12-26 16:48 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 22242

On Sat, Dec 26, 2015 at 08:46:38AM +0100, Ricardo Wurmus wrote:
> 
> Leo Famulari <leo@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
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-12-26 16:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-26  7:05 bug#22242: Help constructing source URL Leo Famulari
2015-12-26  7:46 ` Ricardo Wurmus
2015-12-26 13:32   ` Andreas Enge
2015-12-26 16:48   ` Leo Famulari

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).