[yocto] [layerindex-web][patch v3 1/1] recipes.html: Require keyword for recipe search

Paul Eggleton paul.eggleton at linux.intel.com
Tue Nov 7 18:43:27 PST 2017


On Wednesday, 8 November 2017 11:47:49 AM NZDT Mark Hatle wrote:
> On 11/7/17 4:31 PM, Amanda Brindle wrote:
> > Use JavaScript to check if the search box for recipe search is
> > empty before querying the database. This will prevent the "502
> > Bad Gateway" error that occurs when the query takes too long due
> > to the large list of recipes. Since there are so many recipes
> > spread across the layers in the OE index, there's no point in
> > allowing a user to search without a keyword in order to browse
> > the list; it simply isn't digestible as a whole.
> > 
> > Add a browse button for the Machines, Classes, and Distros pages.
> 
> There are reasons to view all of the recipes, machines, classes, distros,
> etc. (Not necessarily good reasons, but I know people do it.)
> 
> If the query is too long, it would be better to figure out a way to get a
> partial response and formulate the first page based on partial responses...
> having a multipage response that the user can look at.

I'm willing to be proven wrong, but unfortunately it looks to me like this 
will require major re-engineering to sort out for a fairly weak use case. If 
you consider this important, would you be able to look into making it work?

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list