[pmwiki-users] Recipes version identification

Hans design5 at softflow.co.uk
Mon Nov 13 13:29:02 CST 2006


Monday, November 13, 2006, 7:08:11 PM, H. wrote:

>   On 10/27/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
>   > [...] I noted in
>   > http://article.gmane.org/gmane.comp.web.wiki.pmwiki.user/34702
>   > that it would be good for recipe authors to start adding lines like
>   >
>   >     $RecipeInfo['RecipeName]['Version'] = '20061025';
>   >
>   > to recipes, so that we have a standard mechanism for recipe
>   > checking.  Then I'll implement a module that a site can use
>   > to check installed recipes against the latest versions on
>   > pmwiki.org.

He also wrote:
> The format of the version number string is entirely up to
> the recipe author -- however, it should correspond to the
> "Version:" line on the recipe's cookbook page.  In other words,
> the value of {Cookbook.RecipeName$:Version} on pmwiki.org
> should match what's entered in the array above (this is
> likely how the automatic tools will determine if a 
> locally installed recipe is up-to-date).

i.e. you are not bound to write '20061113',
for instance I prefer '2006-11-13' since I can read it easier,
or you may prefer a serial number.


Hans





More information about the pmwiki-users mailing list