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 344B91389E2 for ; Sat, 13 Dec 2014 16:26:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 89AE4E09F4; Sat, 13 Dec 2014 16:26:45 +0000 (UTC) Received: from mail-wg0-f42.google.com (mail-wg0-f42.google.com [74.125.82.42]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 41776E085C for ; Sat, 13 Dec 2014 16:26:44 +0000 (UTC) Received: by mail-wg0-f42.google.com with SMTP id z12so11392573wgg.1 for ; Sat, 13 Dec 2014 08:26:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:user-agent:mime-version:content-type :content-transfer-encoding:message-id; bh=CneFBmCUFuQIX5uWrf6vUjtsrvbLsv4UE43DcdRto+s=; b=JNZeP3ySmSAfN+d7XhHQAaaB2UXAF1mpHX0aCLehbYOgTQI0HT9S4XKZyuWrBct4PT F03YTSh7HiobfuUs+m56f/h8dUd8swKpjGmdLy7xheALK2Y7v4EStpoo4ZmuCcIxE4bs QJd6bZBkTnzgPZbERKGt5oYhvjWZWixcrMGvsUw6nXq2EpKnpufd9gzxiKux5JwMWvul CFpuIMs3xbERXCPpiBVHLEh0YdWwA1x6XjXgTt4mx8bzV6jnZSJYwnhXJ/+LKxfxKEn5 T63EiT+Bk+VS9S2Hw9YU7uE54UiACCcId4ibc/bTotMZrLn/F/wVrS5OaKKLmq4ZRXo0 5Erg== X-Received: by 10.180.96.227 with SMTP id dv3mr17538377wib.50.1418488002959; Sat, 13 Dec 2014 08:26:42 -0800 (PST) Received: from afta-picea.localnet (host-94-251-141-202.dynamic.mm.pl. [94.251.141.202]) by mx.google.com with ESMTPSA id ud1sm6084223wjc.7.2014.12.13.08.26.42 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 13 Dec 2014 08:26:42 -0800 (PST) From: Arfrever Frehtes Taifersar Arahesis X-Google-Original-From: Arfrever Frehtes Taifersar Arahesis To: Gentoo Portage Development Subject: [gentoo-portage-dev] [PATCH] portage.dbapi.bintree.binarytree: Delete PORTDIR-reliant microoptimization in index of binary packages Date: Sat, 13 Dec 2014 17:26:23 +0100 User-Agent: KMail (GNU/Linux) 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 Content-Type: multipart/signed; boundary="nextPart5913740.4H12opRuo0"; protocol="application/pgp-signature"; micalg=pgp-sha512 Content-Transfer-Encoding: 7bit Message-Id: <201412131726.25205.Arfrever.FTA@gmail.com> X-Archives-Salt: d61e7756-3d24-408a-91b4-afe64a09cb36 X-Archives-Hash: e5cfeb8ef90a5eb1cbbe2769c5ace6c9 --nextPart5913740.4H12opRuo0 Content-Type: multipart/mixed; boundary="Boundary-01=_xiGjUfw3fcV1c8p" Content-Transfer-Encoding: 7bit --Boundary-01=_xiGjUfw3fcV1c8p Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline [[[ portage.dbapi.bintree.binarytree: Delete PORTDIR-reliant microoptimization in index of binary packages. This microoptimization cannot work when no main repository exists. ]]] -- Arfrever Frehtes Taifersar Arahesis --Boundary-01=_xiGjUfw3fcV1c8p Content-Type: text/x-patch; charset="utf-8"; name="portage.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline; filename="portage.patch" =2D-- pym/portage/dbapi/bintree.py +++ pym/portage/dbapi/bintree.py @@ -360,16 +360,6 @@ "repository" : "", } =20 =2D # It is especially important to populate keys like =2D # "repository" that save space when entries can =2D # inherit them from the header. If an existing =2D # pkgindex header already defines these keys, then =2D # they will appropriately override our defaults. =2D main_repo =3D self.settings.repositories.mainRepo() =2D if main_repo is not None and not main_repo.missing_repo_name: =2D self._pkgindex_default_header_data["repository"] =3D \ =2D main_repo.name =2D self._pkgindex_translated_keys =3D ( ("DESCRIPTION" , "DESC"), ("repository" , "REPO"), --Boundary-01=_xiGjUfw3fcV1c8p-- --nextPart5913740.4H12opRuo0 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCgAGBQJUjGixAAoJEHgbAhhyXND8jD0P/1HhCa5IDaQZVr33itrjigrR mcxLucO9Ly9xnRwVH9EzGVHC0l+FH451dGNpgfdynBkp0EJ8kYHJSSN3lbjdH1dj lRjL9mKDiQpDqLgfe77ldJ/SaTKDq9OQ0wRn2KfOsZNB7aVoliSAUqYnuwfE7KFM XiwGmQwsHvclCyN8CNIxKGwOduTB6lQVDSPNJWMt3436FowSTX4ZK0haxR79iejl 5PCfxNzQRMC1lwob8PNCamb9BwkF6ioxfODqMiQ1g6JkVTiIC+ahl0GDODdS+/26 t5mlww8NBE+Be+Nu2XL67v+zOuoNd0I5UzfSCJuRDyDhJTNQjO2EaOuJ4HDou9SV FZ0Wo0nakRjCwgdsDDqF9c1wePDXm2ZAy0lwwR7zgTuWY0mR/bi2wREBsHuNRCDc cdZQ23Vmq4VIxzBFH4yEkpveo4+/V7Rwz4dBAMfBXvZm6O4knBf97A9Y7llV0f2e 2Y2poJY27gcXhK9xZmMe52YfM8Xwtt/kPqXIxXIfAlqBqxPU4RRZqRJnP2WN4oR+ qhgi24A2DNPNQoMXWL6j7g3LVhkBP8JfGdonO2jkm7YbmeulVadBx/TvHGoKNHxy P09IHjkpDAF86H63OVJiNRlwsWcJ9RYlX3wQdeN0b+42MIoqbNLot0iW9O+48sjJ MKfjMCRyNjLlM+jv/B2B =89ZW -----END PGP SIGNATURE----- --nextPart5913740.4H12opRuo0--