pkgcore / pkgcheck

pkgcore-based QA utility for ebuild repos
https://pkgcore.github.io/pkgcheck
BSD 3-Clause "New" or "Revised" License
34 stars 29 forks source link

[New Check]: detect calling of phase functions #625

Closed arthurzam closed 9 months ago

arthurzam commented 9 months ago

Is there an existing such new check request for this?

Explain

Phase functions are special, not really functions in bash meaning. We can't assume we can call them. More history and story at bug 596616.

Examples

No response

Output message

ine {lineno}: calling phase function {func_name!r} is invalid

Documentation

No response

Result level

error