[PATCH] setup.exe case-insensitive package sorting
Wed Sep 19 16:21:00 GMT 2012
On Wed, Sep 12, 2012 at 10:46:02PM -0600, Warren Young wrote:
>This patch is incomplete, but I've been fighting this for four hours
>now. I'm tired, hungry, and frustrated, so in case I don't get back to
>finishing this, I decided to just post what I have so far.
>The point of the patch is to get the Select Packages screen's package
>lists to sort case-insensitively.
>(This saga began after I spent far too long looking for the R package
>down in the bottom third of the Interpreters category.)
>The patch works for the flat views only. I have yet to figure out how
>to do the same for the Category tree view, since that is treated as a
>completely separate exception case in the code.
>(Any setup.exe hackers want to opine on whether it's reasonable for it
>to have required 3 hours of spelunking through the package DB reader,
>the INI file parser, and the dialog chaining system to find out where to
>even begin attempting the patch? Did I make par? Was there a map to
>this twisty maze of global variables that I missed?)
You want us to weigh in on your being tired and frustrated and unable
to figure out source code? I'm going to carefully lay down that loaded
I modified "upset" to do case insensitive sorting of packages. This seems
preferable to adding YA level of complexity to setup.
More information about the Cygwin-apps