From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 0DE071389E2 for ; Wed, 24 Dec 2014 12:02:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4E19AE0944; Wed, 24 Dec 2014 12:02:17 +0000 (UTC) Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AFC90E092A for ; Wed, 24 Dec 2014 12:02:16 +0000 (UTC) Received: by mail-wi0-f169.google.com with SMTP id r20so15576461wiv.0 for ; Wed, 24 Dec 2014 04:02:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=8vY9MOABqg6a1zwGvdMBnl7+FA9H3zmBfXU+Loe5JPA=; b=tCAB7fJpFZqp8XXZD+8mh62TYfjN5W6Cno0kHlRP6pSTsmFJUxjt1Lri/V3gF1wtZn wzAXAoKjlUrsY8nN6jw/Vax0HLW3YUgBilctbvO63Cadv5bZMzlmvK+tltQvweAks/eP bvkUDrFvjimjO+qJJ9c4qSsd7DmCoUUKwHvHZNZeSUka/1UqYPKq4XQVX+AiCSOSJ0GC R9xM4ORi87vg3JKly9wjiWo2XBJmNiv8Z4YPYMkBiVKucS6TxCF8YlT+258kwEEyFd3i 7WaNuxMj4O2nVkucFWWXV7RnvmZOJOE+VA4bh50DI9R1uNp6rq8LuqdVJRMB2SiqiP9k mttA== X-Received: by 10.180.78.233 with SMTP id e9mr33211414wix.25.1419422535562; Wed, 24 Dec 2014 04:02:15 -0800 (PST) Received: from ?IPv6:2001:1418:100:558::2? (cl-1369.trn-01.it.sixxs.net. [2001:1418:100:558::2]) by mx.google.com with ESMTPSA id wb9sm20933636wic.20.2014.12.24.04.02.14 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Dec 2014 04:02:14 -0800 (PST) Message-ID: <549AAB08.2050908@gmail.com> Date: Wed, 24 Dec 2014 13:01:12 +0100 From: "vivo75@gmail.com" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-portage-dev@lists.gentoo.org Subject: Re: [gentoo-portage-dev] [RFC] New file layout for PKGDIR and binhosts References: <549A1C31.8040500@gentoo.org> <549A4C25.9050000@gentoo.org> <549A75C5.70600@gentoo.org> In-Reply-To: <549A75C5.70600@gentoo.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 8df5ac52-20c0-4a84-aff9-ad0120761f15 X-Archives-Hash: 07d5dcca38cd6fca0cfc1c138b692968 Il 24/12/2014 09:13, Zac Medico ha scritto: >> I like this (and it has been a long time coming). What format are we >> > going to store the metadata of the use flag combinations and the rest? > The current approach is to store the data in an xpak segment that is > appended to the end of the tbz2 file. The $PKGDIR/Packages files serves > as a cache for the essential parts of the xpak data that are used in > dependency calculations. > I'd like to see the xpak data being put in it's own file at the _beginning_ of the tar file. tar -Jcf \ ${PKGDIR}/${CATEGORY}/${PN}/${PF}-${COUNTER}.xpak \ tmp/${CATEGORY}:${PN}:${PF}-${COUNTER}.xpak \ *all_the_other_stuff* this way reading it could be faster on some media and filesystem and it would not deviate from the standard tar. Being in /tmp/ is only for commodity but the place is debatable. Instead the fact it _must_ be the first file it's not, in a sequential archive file like tar some things depend on it. seem to be the right time to do the change, since tool need to be rewritten anyway, but I'll leave to you analyze the fallout of this change. Best regards, Francesco Riosa