For statistics and audit reasons it could be useful to store some of these values in task or repo itself.
Easiest way would be to provide event via newRepo. It means changing tag_changed_since_event to return event_id instead of bool.
event
newRepo
tag_changed_since_event
event_id
It needs little bit smarter SQL and it also conflicts with possible speed optimization (use of EXISTS instead of LIMIT).
I'm not sure if it is worth the potential benefits of better kojira performance monitoring, so marking as discussion.
obsoleted by on-demand, see #4033
Metadata Update from @mikem: - Custom field Size adjusted to None - Issue close_status updated to: Dropped - Issue status updated to: Closed (was: Open)
This issue has been migrated to Fedora Forge: https://forge.fedoraproject.org/koji/koji/issues/1451
Please continue any further discussion there.