Suggesting user names
Joel Peshkin
bugreport at peshkin.net
Fri Mar 28 13:26:13 UTC 2003
Chris L. Mason wrote:
>On Thu, Mar 27, 2003 at 09:39:36PM +0000, Gervase Markham wrote:
>
>
>>David Miller wrote:
>>
>>
>>>Just FYI, 2.17.1 and up already do this. :)
>>>
>>>
>>That's not quite true; I think Chris's patch does more fuzzy matching
>>than ours, which only matches an exact substring. Chris?
>>
>>
>>
>
>Yes, that's correct, although I'm not happy with the method I'm using
>right now.
>
>The patch is very short, so I've attached it. (Briefly, the
>DBNameToIdAndCheck function will show the list of suggestions if the name
>doesn't match, if the "suggest-users" parameter is on.)
>
>
>
>
The idea of doing a fuzzy match is kind of cool, but slipping it into
DBNameToId... is not the right place for it. This needs to be an
additional option in the generic user matching code (complete with
confirmation).
See bug 162990
More information about the developers
mailing list