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 2AB87DC00EC; Wed, 28 Nov 2012 10:38:44 +0000 (UTC) Date: Wed, 28 Nov 2012 11:38:42 +0100 From: Natanael Copa To: Dubiousjim Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] REPODEST vs ~/.cache/abuild Message-ID: <20121128113842.28df627d@ncopa-desktop.alpinelinux.org> In-Reply-To: <20121127132811.GA69074@vaio.jimpryor.net> References: <20121127132811.GA69074@vaio.jimpryor.net> 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=US-ASCII Content-Transfer-Encoding: 7bit On Tue, 27 Nov 2012 08:28:11 -0500 Dubiousjim wrote: > Here is an alternative, just off the top of my head: > > * if REPODEST is unset, handle ~/.cache/abuild as presently. This sounds good. > * if REPODEST is set and ~/.cache/abuild doesn't exist,then > use REPODEST in place of ~/.cache/abuild > * if REPODEST is set and ~/.cache/abuild exists (and points to a > separate location than REPODEST), handle ~/.cache/abuild as > presently. I wonder if this would be simpler: * if REPODEST is set and does not resolve to same location as ~/.cache/abuild, then use REPODEST instead of ~/.cache/abuild Worst case for this would be that scripts depending on current behaviour would generate index twice? I think we should try improve buildrepo while here. If you still prefer what you suggested, then I'm ok with that too. > * if REPODEST is set and ~/.cache/abuild points to it (either is a > symlink to REPODEST, or REPODEST resolves to ~/.cache/abuild), > then use REPODEST in place of ~/.cache/abuild. (Instead of trying > to place the packages under REPODEST and symlinks to them in what > is ultimately the same location.) Yes, this sounds good. Thanks you very much for your feedback! -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---