Some in depth information for developing, testing, debugging and translating Patchmanager is available in the Wiki.
Generated documentation of the patchmanager code is available at Github Pages
The Patchmanager Testcases might be helpful to support implementing, debugging and testing Patchmanager. For details see the README, RPMs are available at OpenRepos and SailfishOS:Chum.