#6 [RFE] Sync comment
Closed: Fixed 5 years ago by ralph. Opened 7 years ago by cqi.

It would be much useful to synchronize comments, that are added to pagure issue, to corresponding JIRA issue.


Agreed.

I'm not sure how to handle situations where the comment gets edited. Should we copy the new comment over?

Maybe we could use the numeric id associated with github and pagure comments to uniquely map them to JIRA comments somehow.

For instance, if we took this event, it could appear in JIRA like:

(c39790, Chenxiong Qi) Just tried to build ``python-gssapi``, but failed. It requires ``Cython >= 0.21``, unfortunately, there is also no EPEL packages of ``Cython``. Maybe we can do following in parallel.\r\n\r\n- In ``rpkg``, use ``python-krbV`` if ``python-gssapi`` is not available.\r\n- Modify SPEC, require ``python-krbV`` and ``python-gssapi`` in RHEL6/7 and Fedora respectively.\r\n- Request EPEL packages from ``python-gssapi`` package maintainers.\r\n\r\nOnce the EPEL packages are available one day, remove dependency of ``python-krbV`` again.

In addition,

  • make c39790 link to pagure and github comments
  • convert \r\n to newline in JIRA comment, if possible or necessary

@biakymet took a stab at this in #50, which was just merged.

I'm going to close this. If anyone wants modifications to the way comment sync works, please open new issues here (and submit patches!)

Metadata Update from @ralph:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

5 years ago

Login to comment on this ticket.

Metadata