Module names

Eric Sandall eric at sandall.us
Fri Jul 8 15:15:53 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

Here's a thought from an outside observer (feel free to ignore/flame
;)): Modules should be named in all lower-case. I've been through this
before on another list and figured I'd share it with you. ;) The
reason: simplicity. No longer will users/devs have to remember/lookup
if it's GIT, Git, or git or perhaps Mozilla or mozilla, R or r, etc.
They will all be git, mozilla, r, etc.

The bad side of this is renaming old modules, which is not fun (I can
attest to that ;)). So the best (IMO) path to this is to start by
requiring new modules to be lower-cased and then rename older modules
as you have time. This would probably be a good way for people new to
Lunar to help out (it's relatively simple, gets people familiar with
how modules look and how they can modify them, etc.).

One issue you'll want to take care if is migration. If you just rename
R to r (e.g.) then users who had R installed will now still have R
installed, but no module to update/remove R. One way to do this is
make R a 'blank' module (does nothing), have it depend on r, and have
r conflict/remove R once it's installed.

Enjoy! :)

- -sandalle

- -- 
Eric Sandall                     |  Source Mage GNU/Linux Developer
eric at sandall.us                  |  http://www.sourcemage.org/
http://eric.sandall.us/          |  SysAdmin @ Inst. Shock Physics @ WSU
http://counter.li.org/  #196285  |  http://www.shock.wsu.edu/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCzpisHXt9dKjv3WERAoY+AJ9blGoyojUrj8nufO/ygQTvxRL7YwCdHUJ8
zajEsGkYoFvxlGFe9JrLffA=
=b/o7
-----END PGP SIGNATURE-----


More information about the Lunar mailing list