#109: post-bodhi-update watcher -----------------------+---------------------------------------------------- Reporter: wwoods | Owner: wwoods Type: task | Status: assigned Priority: major | Milestone: autoqa depcheck Component: watchers | Version: 1.0 Resolution: | Keywords: -----------------------+---------------------------------------------------- Comment (by wwoods):
At some point lmacken and I discussed (and lmacken implemented) a 'start_date' parameter to the 'list' call. This would allow you to list pending releases newer than a given timestamp, e.g.:
{{{ def bodhi_pending_since(release, timestamp): bodhi = fedora.client.bodhi.BodhiClient() # start_date and end_date are undocumented arguments to bodhi's list call params = {'release': release, 'status': 'pending', 'start_date': timestamp} return bodhi.send_request('list', req_params = params) }}}
But it seems to be broken at the moment. Will investigate further.