[pmwiki-users] Proposal: version control for cookbooks recipes

Hans design5 at softflow.co.uk
Sat Oct 28 05:27:19 CDT 2006


Saturday, October 28, 2006, 10:35:05 AM, Crisses wrote:

> It would probably have nothing to do with whether multiple recipes  
> are on the same page, but I do suggest that we start right off the  
> bat with declairing the name of the recipe in the file.  So not only
> the version, but a code that entirely differentiates recipes from one
> another from the get-go.  Otherwise how many forum.php's could there be?

> $RecipeInfo['Name'] = 'xes_forum_1';

> We should start right off the bat respecting everyone's namespaces.

All recipes have unique filenames, and we do respect each other in
that we are not overwriting each other's files when uploading.

$RecipeInfo['RecipeName'][...]=... as Patrick outlined relates to the
Cookbook page: RecipeName=PageName in Cookbook. It does not identify
the unique filename. It implies to me to have only one unique recipe
script per cookbook page. Also the version checking script Patrick may
write will need to dig out the recipe filename from the cookbook page.
I used Download: filename in the info box, and this may be good
enough. But again it does not allow for more than one recipe script
per page.

So maybe it is time to split up the pages, so there is at least a page
with the recipe info box for each unique recipe file. Then use
(:include ...:) to avoid duplicate information.


Hans





More information about the pmwiki-users mailing list