Skip to content

Commit 1309b50

Browse files
committed
content: rework metadata verification section for metadata gen
1 parent ef90be1 commit 1309b50

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

content/posts/metadata-cache-generation.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,17 @@ and are generally required when running on ebuild repos lacking bundled,
3434
pre-generated metadata.
3535

3636
Metadata generation implementations handle verification differently with both
37-
portage and pkgcore treating the data as raw strings performing few validity
38-
checks. Verification requires parsing metadata strings into relevant data
39-
structures significantly extending generation time when written in slower
40-
languages. This is resolved using development tools such as pkgcheck that
41-
verifies ebuild metadata before pushing commits.
42-
43-
Conversely, pkgcraft tries to confirm metadata validity as much as possible.
44-
Most verification using localized knowledge is performed, but anything
45-
requiring repo-wide info such as dependency visibility is not. For example, all
46-
dependency fields are parsed into their related data structures, catching any
47-
invalid formatting.
37+
portage and pkgcore treating the data as raw strings, performing few validity
38+
checks. Proper verification requires parsing metadata strings into relevant
39+
data structures significantly extending generation time when written in slower
40+
languages. This is currently resolved using other development tools (such as
41+
pkgcheck) that perform the metadata parsing, flagging errors as they arise.
42+
43+
Conversely, pkgcraft aims to perform as much verification as much as possible
44+
during generation. Most verification using localized knowledge is performed,
45+
but more performance intensive checks requiring repo-wide info such as
46+
dependency visibility are not. For example, all dependency fields are parsed
47+
into their related data structures, catching any invalid formatting.
4848

4949
# Pkgcraft tooling
5050

0 commit comments

Comments
 (0)