ovirt-ansible-collection: Automatic bugzilla linking
Description
Activity

Former user October 26, 2020 at 1:21 PM
We do not perform github->gerrit sync at the moment, only the other way around.
Adding support for this workflow would definitley require some work yet if we have more projects primarily hosted on GH and tracked via BZ this may be worth the effort.

Anton Marchukov October 26, 2020 at 9:43 AM
yes, exactly, it does and that hooks code is gerrit specific, so it will not work with github actions without rewriting. so looks like we do not have a solution for github yet at least developed within our team. Maybe we can do it using github to gerrit sync and than use a hook it gerrit. That’s the only quick solution I can sync of.

Barak Korren October 26, 2020 at 9:39 AM
Its done by the Gerrit hooks no? Theoretically you could run similar code in a GitHub action to get similar results.

Anton Marchukov October 26, 2020 at 9:30 AM
The implementation I am aware of if gerrit specific. Adding also in case they developed some other hooks for kubevirt that could do it.

Former user October 26, 2020 at 9:20 AM
I know that on Gerrit this linking is done via hooks, can we update BZ through GitHub?
Details
Details
Assignee

Reporter

Hi all,
I now pushed my first PR to ovirt-ansible-collection [1].
It has a Bug-Url link to [2].
The bug wasn't updated with a link to the PR. Should it? Please make
it so that it does.
Also, perhaps, when creating new projects, do this automatically for
them (and ask what bugzilla product should be affected).
Thanks and best regards,
[1] https://github.com/oVirt/ovirt-ansible-collection/pull/151
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1844965
–
Didi