Gentoo Archives: gentoo-portage-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-portage-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-portage-dev] [PATCH 0/4] Modernize metadata passing & add INHERIT to md5-cache
Date: Fri, 03 Sep 2021 16:35:39
Message-Id: 20210903163532.2465253-1-mgorny@gentoo.org
1 Hi,
2
3 Here's a patchset that:
4
5 1. Removes some leftover cruft from the old cache format.
6
7 2. Switches internal ebuild.sh/Python metadata logic from using a format
8 resembling the old cache with hardcoded line number to data mapping
9 (sic!) in favor of plain key=value format.
10
11 3. Adds INHERIT key to md5-cache for better compatibility with PkgCore.
12 This key lists eclasses directly inherited by ebuild (vs _eclasses_
13 that lists indirect inherits as well).
14
15 Michał Górny (4):
16 Remove deprecated dbkey support from doebuild/ebuild.sh
17 Switch internal metadata to key=value format
18 Remove UNUSED* auxdbkeys
19 Include INHERIT value in generated cache
20
21 bin/ebuild.sh | 36 ++++++++-----------
22 bin/phase-functions.sh | 2 +-
23 bin/portageq | 3 +-
24 lib/_emerge/EbuildMetadataPhase.py | 15 ++++----
25 lib/_emerge/Package.py | 3 +-
26 lib/portage/__init__.py | 4 +--
27 lib/portage/dbapi/__init__.py | 3 +-
28 .../ebuild/_config/special_env_vars.py | 2 +-
29 lib/portage/package/ebuild/doebuild.py | 22 ++----------
30 repoman/lib/repoman/qa_data.py | 2 +-
31 10 files changed, 33 insertions(+), 59 deletions(-)
32
33 --
34 2.33.0

Replies