Squash per-rpm results into per-update
ClosedPublic

Authored by jskladan on Jun 23 2014, 10:30 AM.

Details

Summary

Added the possibility to report per-updates rather than per-rpm.

Test Plan

This code is working, and tested using runtask.py, unittests pass.

Diff Detail

Repository
rDEPCK task-depcheck
Lint
Lint Skipped
Unit
Unit Tests Skipped
jskladan retitled this revision from to Squash per-rpm results into per-update.Jun 23 2014, 10:30 AM
jskladan updated this object.
jskladan edited the test plan for this revision. (Show Details)
jskladan added reviewers: tflink, kparal.
jskladan added subscribers: jdulaney, mkrizek.

Overall, it looks sound to me

depcheck/squash_results.py
12

I'd prefer not to have namespace collisions with the koji module. I realize that we aren't using the base koji lib here but it could happen in the future

49

I assume this is left over from debugging?

jskladan updated this revision to Diff 432.Jun 23 2014, 12:15 PM
  • added tests and slightly restructured code
jskladan updated this object.Jun 23 2014, 12:16 PM
jskladan edited the test plan for this revision. (Show Details)
jskladan updated this revision to Diff 433.Jun 23 2014, 12:24 PM
  • updated according to review
tflink accepted this revision.Jun 23 2014, 12:47 PM

Looks good to me

This revision is now accepted and ready to land.Jun 23 2014, 12:47 PM
kparal added inline comments.Jun 23 2014, 1:22 PM
depcheck.yml
45

The quotes don't have to be there, but of course, don't hurt anybody. Just a note.

jskladan closed this revision.Jun 23 2014, 1:45 PM
jskladan updated this revision to Diff 442.

Closed by commit rDEPCKe492c9e60487 (authored by @jskladan).