ultranormalize_name
function should strip trailing digits
#17774
Labels
ultranormalize_name
function should strip trailing digits
#17774
What's the problem this feature will solve?
Users are able to create packages with extremely similar names by just appending a number, e.g.
pydantic2
.Describe the solution you'd like
I'd like the
ultranormalize_name
functionwarehouse/warehouse/migrations/versions/d18d443f89f0_ultranormalize_name_function.py
Lines 29 to 42 in 69f19a1
to be extended to strip trailing digits when comparing names, so something like
regexp_replace($1, '0+$', '')
.Additional context
The text was updated successfully, but these errors were encountered: