X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail.wtbts.no (mail.wtbts.no [213.234.126.131]) by lists.alpinelinux.org (Postfix) with ESMTP id 6D33A1EBFEF for ; Thu, 30 Dec 2010 20:35:54 +0000 (UTC) Received: from localhost (bsna.nor.wtbts.net [127.0.0.1]) by mail.wtbts.no (Postfix) with ESMTP id B36D0AE4002; Thu, 30 Dec 2010 20:35:53 +0000 (UTC) X-Virus-Scanned: Yes Received: from mail.wtbts.no ([127.0.0.1]) by localhost (bsna.nor.wtbts.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yUNRIUCwjyW0; Thu, 30 Dec 2010 20:35:46 +0000 (UTC) Received: from mail.ytre.org (extmail.nor.wtbts.net [10.65.72.14]) by mail.wtbts.no (Postfix) with ESMTP id DEBBFAE4001; Thu, 30 Dec 2010 20:35:45 +0000 (UTC) Received: from mail.ytre.org (localhost [127.0.0.1]) by mail.ytre.org (Postfix) with ESMTP id AEA3560A89E56; Thu, 30 Dec 2010 20:35:45 +0000 (UTC) Received: from localhost (unknown [10.65.96.33]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: ncopa@ytre.org) by mail.ytre.org (Postfix) with ESMTPSA id 8A82960A89E52; Thu, 30 Dec 2010 20:35:45 +0000 (UTC) Date: Thu, 30 Dec 2010 20:35:33 +0000 From: Natanael Copa To: Matt Smith Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] [PATCH] abuild: created 'saveas-*://' URI support Message-ID: <20101230203533.37d4d3dc@alpinelinux.org> In-Reply-To: <1293589337-5232-1-git-send-email-mcs@darkregion.net> References: <1293589337-5232-1-git-send-email-mcs@darkregion.net> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; i686-pc-linux-gnu) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP On Tue, 28 Dec 2010 20:22:17 -0600 Matt Smith wrote: ... > Or we could use this 'saveas' hack. Essentially, the original URI is > converted to read: > > saveas-http://oss.example.org/?get=software&ver=1.0/software-1.0.tar.gz > > In the download process, the 'saveas-' portion is removed, and the > file is downloaded from the original URI, but is saved with the > filename being the last component of the URI. In this case, it will > be saved as 'software-1.0.tar.gz'. > > It is designed so that it works with any protocol supported by abuild. > For example: > > saveas-ftp://oss.example.org/?get=software&ver=1.0/software-1.0.tar.gz > ... > --- > abuild.in | 11 +++++++++-- > 1 files changed, 9 insertions(+), 2 deletions(-) > No-one had better patches. Applied! Thanks! -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---