Relates to https://pagure.io/pagure/issue/1749
Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr
This is being proposed for review/input but I'd like to add some basic tests before it gets merged :)
1 new commit added
Allow searching the content of the comments on an issue tracker
2 new commits added
Allow filtering the issue list by the close status
rebased onto 502d4b67c4363868fe61d05f30ca865049094d52
The following commit Allow filtering the issue list by the close status looks good to me
@cverna and the first one? :)
Postgresql support full text search and this is also supported in sqlalchemy, it might be more performant to use it here, since the the column used for search can be indexed.
SQLalchemy docs --> https://docs.sqlalchemy.org/en/latest/dialects/postgresql.html#full-text-search
It can be indexed in postgresql but not in mysql/mariadb which doesn't support indexing TEXT field (only VARCHAR can be), so that would make pagure officially not compatible with mysql/mariadb (which may make @arrfab sad)
Postgresql support full text search and this is also supported in sqlalchemy, it might be more performant to use it here, since the the column used for search can be indexed. It can be indexed in postgresql but not in mysql/mariadb which doesn't support indexing TEXT field (only VARCHAR can be), so that would make pagure officially not compatible with mysql/mariadb (which may make @arrfab sad)
Ha good point
This will allow to search the descriptions of the issues also not only comments.
Ok second commit LGTM too :)
Thanks for the review, I'll add some tests before merging this one though :)
rebased onto ca9a01b0a12b0f17fa5e8874252e2d1f607a0d20
LGTM
rebased onto a1a8ce6586c92b60130763001b95f1a1d9a8f1b4
:thumbsup:
rebased onto 0329382f02aee4a5657b7a964601e987e5864564
Thanks for the reviews folks! :)
rebased onto a05e6b7914c81e5a81f94ff63bb6225259ecb4f6
Pull-Request has been merged by pingou
Relates to https://pagure.io/pagure/issue/1749
Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr