[Module::Build] Is "recommends" friendly enough?
Status: Beta
Brought to you by:
kwilliams
|
From: Sagar S. <sag...@so...> - 2003-11-01 13:30:30
|
Hi, First of all thank you for producing Module::Build. Even at this stage of development, it is excellent. I like the idea of the recommends method, as i often have optional dependencies for my modules (mainly things that are dependencies of specific tests which get skipped when the module isn't there). I had a quick play with it, and what i'm not sure is whether it's friendly enough to the user. If i have an uninstalled module 'Sagar::Great' =3D> 1, in requires iget the following output: ERROR: Sagar::Great: Prerequisite Sagar::Great isn't installed ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions of the modules indicated above before proceeding with this installation. Which sounds fairly reasonable. Now if i have an uninstalled module: 'Sagar::SICRAP' =3D> 3, i get: WARNING: Sagar::Great: Prerequisite Sagar::Great isn't installed ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions of the modules indicated above before proceeding with this installation. My concern is that the 'ERRORS/WARNINGS FOUND..." message is a bit too harsh/unfriendly when all that the user is missing is a recommended module. It puts me off using the recommends feature. What do others think? Perhaps something more akin to : WARNING: Sagar::Great: Optional Sagar::Great isn't installed You may wish to install the recommended versions of the modules indicated above before proceeding with this installation. Or perhaps i'm just too nice to my users ;-) S. --=20 Sagar Shah <sag...@so...> |