[pmwiki-users] Keeping recipes up to date -- updated

Patrick R. Michaud pmichaud at pobox.com
Thu Feb 15 23:19:17 CST 2007


Based on excellent feedback provided on the mailing list,
we now have an improved script for checking installed versions
of recipes and comparing those to what's listed on pmwiki.org.

The new recipe is available at

    http://www.pmwiki.org/wiki/Cookbook/RecipeCheck

Yes, it used to be called "RecipeUpdates", but I figure that
"Recipe Check" is a more accurate name.  

To see a sample report for pmwiki.org, visit

    http://www.pmwiki.org/wiki/Cookbook/RecipeCheck?action=recipecheck

This new version has two major improvements:
  - provides a more useful message when allow_url_fopen is disabled
  - obtains version information from scripts in cookbook/ even 
    for those scripts that aren't loaded
  - can report "unknown" version some recipes that don't set $RecipeInfo

For those who are unable to use RecipeCheck due to PHP restrictions,
the site analyzer script has also been updated to perform the same
checks:   http://www.pmwiki.org/wiki/PmWiki/SiteAnalyzer

I've also started a page at http://www.pmwiki.org/wiki/Cookbook/RecipeMap
that maps script names to the corresponding recipe page 
(e.g., 'mimetex.php' maps to Cookbook:MimeTex).  This allows
RecipeCheck to report pmwiki.org version information 
even for those scripts that don't set $RecipeInfo.
However, the Cookbook.RecipeMap is still incomplete -- if you 
find an older recipe that needs to be mapped, feel free to add it
to the page or report it here and someone can add it.

This feature is still somewhat experimental, and we probably
still have some kinks to be worked out, but using it I've
already been able to clean up and update some scripts
on pmwiki.org .

Comments welcomed as always.

Pm



More information about the pmwiki-users mailing list