#203: make rpmguard run as a post-bodhi-update test too ---------------------+------------------------------------------------------ Reporter: wwoods | Owner: Type: task | Status: new Priority: major | Milestone: Multi-hook tests Component: tests | Version: 1.0 Resolution: | Keywords: ---------------------+------------------------------------------------------ Comment (by wwoods):
There's a quirk here - for the post-koji-build hook, 'kojitag' will be the newly-applied tag. But for post-bodhi-update, 'kojitag' is the tag that is being ''requested''.
list_previous_release() gives the newest package in any of the ''parent'' repos of the repo that corresponds to the given kojitag. So when a package is requesting to be moved into updates-testing we'll compare it to the newest package in updates
We've recently changed the behavior of koji_utils' list_previous_releases() method so it only returns results for the ''parent'' tags of the given tag. So a package requesting to be moved into -updates will ''not'' be compared against the ''current'' package in -updates - instead it will be compared to the original version, in the 'fedora' repo.
This seems wrong, but at the moment I'm not sure what the Right Thing To Do is. Needs some thought.