Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 646622 - sys-apps/portage: add egencache option to generate QA report for changed dependencies
Summary: sys-apps/portage: add egencache option to generate QA report for changed depe...
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Portage team
Depends on:
Reported: 2018-02-05 01:13 UTC by Zac Medico
Modified: 2022-10-01 05:23 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Zac Medico gentoo-dev 2018-02-05 01:13:48 UTC
When egencache is generating metadata, is it already compares the previous cache entry to the new one. So, it has a perfect opportunity to generate a QA report for changed dependencies. The report might simply consist of raw dependency metadata which is intended for analysis by other tools.

Classes of dependency changes that cause problems are enumerated here:
Comment 1 Zac Medico gentoo-dev 2018-02-05 03:26:33 UTC
This could also be implemented as a tool that creates and compares dumps of the metadata cache. The advantage of separating this from egencache is that the tool can run on a separate machine from egencache, operating on snapshots of the rsync tree.

It might also be useful to blame specific commits, but that would be much more expensive because it involves generating metadata cache separately for each commit in which a dependency change may have occurred (could use git bisect).
Comment 2 Zac Medico gentoo-dev 2018-02-06 08:59:24 UTC
The gentoo-repo-qa-bot commits are a convenient data source: