Similar to #34.
The bugzilla sync script crawls all over pagure on dist git and takes forever to run. If we can export some data, we could use it to make that script faster. Not sure what that needed data is yet. Will have to investigate and report back here.
The script got added in #39 and is outputing its data in https://src.fedoraproject.org/extras/
So this gives us a start to optimize things :)
So, what is the status on this? Do we still have changes we would like to do? Or are we ok with the current state?
I have no changes queued up / in mind.
The current slowest part of the script is gathering all of the assignee overrides from the fedora-scm-requests repo. That would be a place to go next to optimize.
The script currently takes ~1 hour (iirc.. I may be mis-remembering).
idea: have a script do this via a post update hook.
It's trivial to add a script to a repo in pagure, just name it post-update.foo and done :) Though we may want to have a way to do this async as this may take a while and the connection remains open until all hooks are done.
Yeah, modifying the script so it can (optionally) take a namespace and name and just process that one package/container/module would be nice. Then this could be run from fedmsg when a new thing is added, and 1x/day to make sure we add everything in case a message was lost.
Alright, so we have more options, let's keep this ticket open :)
With the changes made to pagure and pagure-dist-git to allow bugzilla overrides to land on dist-git, the time it takes to sync from dist-git to bugzilla goes down from 2h to ~20 minutes.
I think that is what we had in mind here and thus we can close this ticket ! :)
Metadata Update from @pingou: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)