On Wed, Dec 01, 2021 at 11:40:43AM -0500, Matthew Miller wrote:
On Wed, Dec 01, 2021 at 01:20:53PM +0000, Daniel P. Berrangé wrote:
> Note the GNOME auto-closer provides a comment telling the user that the
> primary repo is on gitlab and pointing them to where it is. Logging
How hard would it be to actually automatically mirror the PR?
The pain is all around user accounts.
If you have a tool that copies it across, then the new merge request
becomes owned by that tool, and the patch lives in the tool's fork.
You can't create an account on behalf of the original submitter,
and nor can you create the MR under their repo if they already
have an account. So while you could automatically mirror the PR,
the result is not pleasant, because the original author can't
them push a version 2 themselves without opening a completely
new PR separate from the one you mirrored. They also wouldn't
be CCd to see comments.
You really need the original author to open the merge request
themselves so the ownership is correct.
Best option is to just politely ask them to do it. Most people
would be willing to do this if explained simply enough.
Regards,
Daniel
--
|:
https://berrange.com -o-
https://www.flickr.com/photos/dberrange :|
|:
https://libvirt.org -o-
https://fstop138.berrange.com :|
|:
https://entangle-photo.org -o-
https://www.instagram.com/dberrange :|