[PATCH] Re: Allow to use nicer UI names

Nicolas Sebrecht nicolas.s-dev at laposte.net
Sun Mar 6 14:45:02 GMT 2011


On Sun, Mar 06, 2011 at 11:04:46AM +0100, Sebastian Spaeth wrote:
> 
> The previous ui names were pretty unwieldy. Is it TTYUI.TTY or
> TTY.TTYUI? Do I have to use capitals and where?
> 
> Simplify the names by making them case insensitive and by dropping
> everything before the dot.
> 
> So "Curses.Blinkenlights" can now be invoked as "blinkenlights" or
> "BLINKENLIGHTS". The old names will still work just fine so the
> transition should be smooth. We issue a warning that the long names are
> deprecated.
> 
> Document in offlineimap.conf that we don't accept lists of fallback UIs,
> but only one UI option (this was already the case before this commit but
> still wrongly documented).
> 
> The list of accepted ui names is:
>   ttyui (default), basic, quiet, machineui, blinkenlights
> 
> Signed-off-by: Sebastian Spaeth <Sebastian at SSpaeth.de>
> ---
> This is an improved version over that that has been sent earlier in that
> this still allows the old names to be used, so it won't break existing
> configurations. It will just notify the user to use the shorter
> names. The UI name changes just do away with everything before the '.'
> 
> I rebased against 'next' as I believe this is not critical enough for master.

Nice. We couldn't have a better strategy for the final move.
Applied; thanks.

-- 
Nicolas Sebrecht




More information about the OfflineIMAP-project mailing list