[Mageia-dev] php-smarty vs. php-Smarty

andre999 andre999mga at laposte.net
Mon Jul 16 01:58:43 CEST 2012


Thomas Spuhler a écrit :
> There are two spellings of smarty on distis.
> Mageia and Mandriva use php-smarty, Fedora use php-Smarty and SUSE uses php-
> smarty but internally has /Smarty/Smarty.xxx
>
> /usr/share/php/Smarty/Smarty.class.php
> ours is /usr/share/php/smarty/Smarty.class.php
> This creates problems of dependencies of programs that call for
> Smarty/Smarty.class.php
>
> Any thoughts about this?
>
>    
My bias is toward using lower case in package names and folder names at 
least, if not in the file names themselves.  Although class names often 
start with upper case.
So I would at least leave the folder name lower case, perhaps adding a 
symlink for the initial upper case.
And maybe do the same for the file name ?

(Looking at the packages installed on my system, a fairly important 
majority of *.php file names are lower case.  Of those with initial 
upper case, many have the same name in lower case in other folders.  And 
almost all the folder names in their paths are lower case.)

To me this approach leads to fewer problems with case-related errors.

My 2 cents :)

-- 
André



More information about the Mageia-dev mailing list