FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Pacman Development

LinkBack Thread Tools
Old 01-17-2012, 04:40 AM
Default Rationale for the patch for case insensitive configuration values

On Tue, Jan 17, 2012 at 8:24 AM, Alexander Rødseth <rodseth@gmail.com> wrote:
> Hi,
> I understand that case sensitivity can, perhaps, bring clarity for
> configuration values like ILoveCandy, but IMO, both "Never" and
> "never" should be allowed, as the uppercase letters bring no more
> clarity, but add an additional requirement for the users to conform
> to. That is the reason for the patch. Also, in the name of
> consistency, I changed all the checks in conf.c, not just the check
> for the word "Never".
> This is about simplicity and removing a constraint that users
> shouldn't have to relate to when editing pacman.conf.

This is not about simplicity, but "user-friendliness" or ease.

Look at pacman.conf, every directive or option is in CamelCase, and the
only things that are (likely) in lowercase are package and repo names and
file paths.

This distinction is good and increases clarity. By being case
insensitive, you introduce complexity, allow this consistency to be
broken and potentially reduce clarity.

> I tested both compilation and execution of the resulting pacman binary
> and it works fine here.
> --
> Sincerely,
> *Alexander Rødseth
> *Arch Linux Trusted User
> *(xyproto on IRC, trontonic on AUR)

Thread Tools

All times are GMT. The time now is 05:37 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org