[pmwiki-users] Rethinking $RecipeInfo (was: Keeping recipes up to date)

Kathryn Andersen kat_lists at katspace.homelinux.org
Thu Feb 15 15:10:05 CST 2007


On Thu, Feb 15, 2007 at 01:52:59PM -0600, Patrick R. Michaud wrote:
> On Thu, Feb 15, 2007 at 08:40:39PM +0100, Dominique Faure wrote:
> I do think it's preferable that recipes be able to use SDV() 
> to set $RecipeInfo instead of always forcing a value.  Using 
> SDV() allows an administrator (or possibly another recipe) to
> easily override the recipe's understanding of its version.

I think this is a BAD idea.  Why on earth should one give misinformation
about the version of a recipe?  Surely it only adds confusion, makes
debugging more difficult, and also defeats the purpose of $RecipeInfo,
which is supposed to tell you the which version of the recipe is
*installed*, not the version you'd *like* to be installed.  If you have
to change the $RecipeInfo, that seems to me an indication that something
is broken, and therefore it should be fixed, rather than whitewashed.
 
Kathryn Andersen
-- 
 _--_|\     | Kathryn Andersen	<http://www.katspace.com>
/      \    | 
\_.--.*/    | GenFicCrit mailing list <http://www.katspace.com/gen_fic_crit/>
      v     | 
------------| Melbourne -> Victoria -> Australia -> Southern Hemisphere
Maranatha!  |	-> Earth -> Sol -> Milky Way Galaxy -> Universe



More information about the pmwiki-users mailing list