Simple test case for packages that must be rebuilt after others were built (*not* soname bump)
Usually libraries do a soname bump if the programs that depend on it need to be rebuilt. apk refuses to install such programs, and we have a test case that fails when we need to rebuild any of our packages because of a soname bump.
But there's also the case where we need to rebuild packages that are based on others, even if they don't do a soname bump. For example: qt5-qtdeclarative needed to be rebuilt after we built qt5-qtbase (!73 (merged)).
The APKINDEX stores the date when packages were built.
So let's store a list of these special cases somewhere in the repo:
{
"qt5-qtbase": ["qt5-qtdeclarative"]
}
...and write a simple Python test that checks if the date of the packages on the right side is higher than the date of the package on the left side.
EDIT: I'll try to get to this soon - if somebody else starts working on this, please report here in the issue to avoid duplicate work.