Instead of making many single calls, make use of (somewhat undocumented)
Bodhi method 'get_updates_from_builds'. This speeds up the query time
about 8 times (in a scenario with 50 builds to query).
Details
Details
test suite adjusted. manually tested in ipython, and with upgradepath (depcheck skipped, the downloading is too slow)
Diff Detail
Diff Detail
- Repository
- rLTRN libtaskotron
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Neat! I tried build2update() on 350 packages, this code did it in 30 seconds, code from develop branch didn't end in 6 minutes...