[PATCH] Add search_type url parameter

Lukas Fleischer lfleischer at archlinux.org
Fri Jul 3 00:23:51 UTC 2020


Hi Kevin,

Thanks for your quick reply and your willingness to improve on your
first submission!

On Thu, 02 Jul 2020 at 20:04:10, Kevin Morris wrote:
> The refraining from #2 is due to me being a bit worried due to it changing
> how the API behaves, didn't think about the complete picture ("arch linux"
> second_keyword). I'll start working on that now.

Yes, we need to bump the API version and keep the old behavior for the
current API version. But I don't see any issues with that.

> 1. Rename search_type values to something more sensible (waiting on this
> for feedback from ML)
> 2. Implement support for quoted strings in the search arg: "arch linux".
> Quoted keywords will be taken literally -- that is, "arch linux" would
> trigger a search for the literal 'arch linux' string.

Would (1) still be relevant if (2) is implemented?

Best,
Lukas


More information about the aur-dev mailing list