#519 Add support to edit comment of an issue and clean the code a little to make it more generic
Merged by pingou. Opened by pingou.
edit_issue_comment  into  editing

Download 519.patch
no initial comment

Fixes https://pagure.io/pagure/issue/484

Just wondering, but would it be an idea to put both of these in a single migration, since there has not been a Pagure release that had the previous one, and these two changes are very close together?

We could be it kind of also make sense to keep them separate, also because there were two people working on them

Would it be an idea to instead of defaulting to issue and then have a fallback to pull-request, default to "unknown", and have specific cases for pull-request and issue?
That would be a bit more robust if we add more things (as it would fail to "unknown" instead of "issue", making for easier debugging), and is more symmetrical.

Fair enough, just throwing out the idea.

I personally like the url_for usage as it would work with other mount paths.

This would complicate this quite a bit. Ignore previous comment.

This would complicate this quite a bit. Ignore previous comment.

Looks good to me.

Metadata