Files
gentoo-zh/scripts
Zakk 7b37d842bf .github: fix and extend the emerge-on-pr QA checks
The gentoo-zh binhost carries binpkgs of overlay packages, so the
onlydeps step resolved the target as a binpkg and skipped its build
dependencies, and the package step then built them from source and
failed on their QA elog. The onlydeps step of emerge-on-pr and tatt now
passes --usepkg-exclude for the target, as tatt and tinderbox-cluster
do in their own build steps.

The report steps move into scripts/emerge-report.sh, one subcommand per
step:

- check fails only on the target's own QA or ERROR elog. Dependency
  elog is listed in the comment and does not fail the job. Portage's
  Atom matches the category/pf of each elog file to the target.
- save lists the package.* entries that autounmask added since the
  snapshot taken before the onlydeps step, because a user has to add
  them by hand.

A new step unmerges the target, so pkg_prerm and pkg_postrm elog is
checked too, and both emerge steps pass --backtrack=300, as
pkg-testing-tools does.

pkgcheck-new-findings.py rates BadKeywords, MissingLicenseRestricts,
UnknownManifest and VisibleVcsPkg as errors, as Gentoo CI's
pkgcheck2html does.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-22 20:53:10 +11:00
..