How does CachyOS automates the building of packages?

Hi,

We have currently the “cachybuilder” not public, due having some credientals in (Proxys, DB and co).
we will plan to make it public in the future, but this also requires then to rewrite the git history.

So, basically we have a db, which contains the status of each package (Failed, Build, Skipped.
Here a example from our Dashboard (this is also planned to be made public) of the x86-64-v3 and x86-64-v4 repository:

When a new queue starts, the builder does compare the pkgversions against the versions maintained in archlinux’s state repository:

Since the state repository is sometimes “ugly” maintained, we need to include some skips and overrides.

When a newer package is then available, it will git clone it from their gitlab, checksout in the correct tag and build the package and put it into the “to be moved” state.
When the queue is fully done, it will add all packages to the repository.