/srv/irclogs.ubuntu.com/2016/06/07/#launchpad-dev.txt

cjwatsonwgrant: you said "the usual 3-character threshold" the other day - do you know where that's implemented?  it is, perhaps obviously, near-impossible to search for11:58
wgrantcjwatson: That's a good question. It could be in the JS picker frontend.11:59
cjwatsonthanks, will hunt12:14
cjwatsonmin_search_chars, indeed.12:47
cjwatsonHm.  This is all very reminiscent of the DSP picker work from 2011 that I tried to resurrect once ... maybe it makes more sense to try to finish that than to continue with the BinaryAndSourcePackageName vocabulary.12:54
cjwatsonSourcePackage.setBranch ensures a DistributionSourcePackage row, so that would be charms-safe.12:55
* cjwatson digs up year-old branch for that and is pleasantly surprised to find it not entirely exploding13:05
wgrantcjwatson: Still using the updated cache tables, though?13:05
wgrantDistributionSourcePackageInDatabase doesn't know about binary names AFAICR13:05
cjwatsonThe stuff I dug up uses DistributionSourcePackageCache13:06
wgrant(and the table isn't necessary for DistributionSourcePackage objects)13:06
cjwatsonBut it goes through that for binary names rather than using DistroSeriesPackageCache13:06
cjwatsonWhich seems potentially likely to perform better; will have to see13:06
cjwatsonI didn't at all understand the constraints at the time I was last working on this (I was just resurrecting some old work by Purple in an attempt to deal with https://bugs.launchpad.net/launchpad/+bug/42298), but there's a query here that's ranking exact source name, exact binary name, partial source name, partial binary name13:08
mupBug #42298: package picker lists unpublished (invalid) packages <lp-bugs> <target-picker> <vocabulary> <Launchpad itself:Triaged> <https://launchpad.net/bugs/42298>13:08
cjwatsoncache-aware and archive-aware13:09
=== frankban is now known as frankban|afk

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!