Bug#846141: hint-tester always converts its input to lowercase, meaning you can't use it on package versions with uppercase characters
Control: tags -1 confirmed
Iain Lane:
> Package: release.debian.org
> Severity: normal
> User: release.debian.org@packages.debian.org
> Usertags: britney
>
> Ahoy,
>
> I noticed when using hint-tester on Ubuntu.
>
> britney> easy […] dreamchess/0.2.1-RC2-2build1 […]
> Version mismatch, dreamchess 0.2.1-rc2-2build1 != 0.2.1-RC2-2build1
>
> The latter is the right version, but my input has been downcased by
> britney.
>
> Apparently[0] uppercase characters are legal in package versions (and
> even if they weren't this would be a strange place to surface the
> violation). Is there a reason for calling lower() here? Attached a patch
> which just removes that - and makes the hint work for me.
>
> Cheers,
>
Hi,
Thanks for catching this. :)
I will include it in one of the coming patch bundles for Britney.
Thanks,
~Niels
Reply to: