X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from ncopa-desktop.alpinelinux.org (3.203.202.84.customer.cdi.no [84.202.203.3]) (using SSLv3 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nc@alpinelinux.org) by mail.alpinelinux.org (Postfix) with ESMTPSA id 5D923DC001E; Fri, 15 Feb 2013 10:06:20 +0000 (UTC) Date: Fri, 15 Feb 2013 11:06:18 +0100 From: Natanael Copa To: Francesco Cc: Subject: Re: [alpine-devel] saveas uri in APKBUILDs Message-ID: <20130215110618.6ce197b9@ncopa-desktop.alpinelinux.org> In-Reply-To: <6527a9010c5ab92eb8c2fe528bb6b06c@bsod.eu> References: <20130215094038.7f847eaf@ncopa-desktop.alpinelinux.org> <511DF6F5.3030105@citrix.com> <6527a9010c5ab92eb8c2fe528bb6b06c@bsod.eu> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.13; x86_64-unknown-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=UTF-8 Content-Transfer-Encoding: quoted-printable On Fri, 15 Feb 2013 09:57:33 +0100 Francesco wrote: > Il 2013-02-15 09:51 Roger Pau Monn=C3=A9 ha scritto: > > On 15/02/13 09:40, Natanael Copa wrote: > >=20 > > I have no stake in this, but I think the Arch format is more intuitive > > than the one used in Alpine. >=20 > I've the same opinion as Roger. > "newfile" is more immediate than "saveas". >=20 > My two cents. >=20 newfile was only an example. Other example: source=3D"saveas-https://https://github/bar/foo/archive/v1.0/foo-1.0.tar.= gz" vs. source=3D"foo-1.0.tar.gz::https://github/bar/foo/archive/v1.0" I somehow like the former variant because it is very easy to implement code: filename=3D${source##*/} the latter would need some kind of conditional, if contains :: then, else..= .: case $source in *::*) filename=3D${source/::*/};; *) filename=3D${source##*/};; esac I still think it might be worth do the change unless someone have strong op= inions. -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---