X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-la0-f48.google.com (mail-la0-f48.google.com [209.85.215.48]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id C9D90DC00F8 for ; Fri, 10 Oct 2014 08:55:53 +0000 (UTC) Received: by mail-la0-f48.google.com with SMTP id gi9so2824581lab.35 for ; Fri, 10 Oct 2014 01:55:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=1lbM4CP1UScx2jmCOHmKySPQtck5MwVAX8/N9myK324=; b=0M+FhpyzPmwrc9tpUVCkrVL11opI/RW4sg5gkBcFfAg2PEi+qd3CmS+heoVShivcxH ytkoaP96mPsue2Du3qD+lUhw2kG9Mv7RyJJ8wLwoNeUYJPlzyF2Mpp6EajpUeUHuj5t0 xbZkiyWGDIOkB4VqCplFtFIDCNK4CbAK2kKKh+He4ky1awZEYco1IcidzVHHfsI4SbNS xBxBW0VbxhZJdPjnsVT5wvh8w9wcK+mByZ17OikQZkWFgd64PBFds5a/VGDDXNELa5mZ DruKIBLnGt2G5kwfpD5xWL2T6aZcm+YlgPevJOPWhKMjJDa7qeAwt2QUj9ZNJloBusuT gqdg== X-Received: by 10.112.209.2 with SMTP id mi2mr2948693lbc.51.1412930920233; Fri, 10 Oct 2014 01:48:40 -0700 (PDT) Received: from vostro ([83.145.235.199]) by mx.google.com with ESMTPSA id w2sm1636759lad.30.2014.10.10.01.48.38 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Oct 2014 01:48:39 -0700 (PDT) Sender: =?UTF-8?Q?Timo_Ter=C3=A4s?= Date: Fri, 10 Oct 2014 11:48:03 +0300 From: Timo Teras To: Carlo Landmeter Cc: Alpine-devel Subject: Re: [alpine-devel] apk-tools work-in-progress Message-ID: <20141010114803.121e68fb@vostro> In-Reply-To: References: <20141008131721.747fcc9d@vostro> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.23; x86_64-alpine-linux-musl) 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 Fri, 10 Oct 2014 10:32:09 +0200 Carlo Landmeter wrote: > > If you have new patchsets, old ones that are rebased, something I > > missed or just other ideas for apk-tools, please reply to this mail. > > One of the missing features in apk-tools (I've had this question > multiple times on IRC) is the ability of query packages file list > when not installed. I think we have discussed this before, but I > though I would just bump it again to see what you think about it. > Maybe add an switch to generate an alternative database which we can > query after it has been generated locally? This would be http://bugs.alpinelinux.org/issues/2623 I'm not sure how this could be done nicely using existing code. Probably the "fetch | tar" pipeline is what I'd end up implementing in APK. This does tie up a bit with the 'info' / 'search' and flags simplification. There should be applet that deals with raw 'packages' like 'apk verify' does. Printing meta-data from a .apk could be one option. So we basically have queries of: - installed - index - package Now the info in 'index' is a subset of stuff in 'installed'; and package contains all that is in 'installed' though, it'll be in different format. But yes, this should be taken into account when considering changes to applet names. Thanks, Timo --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---