https://www.icyphoenix.com/viewtopic.php?f=32&t=4134
-----------------------------------
Mighty Gorgon
Sat 26 Apr, 2008 22:53

Diff Renderer
-----------------------------------
Hi all.
I have created ModX diff renderer to easily create code changes packages.

Original Discussion here: http://www.phpbb.com/community/viewtopic.php?f=71&t=804975

My instructions: http://www.phpbb.com/community/viewtopic.php?p=5162335#p5162335

Download: http://www.icyphoenix.com/_release/mg_diff_tools_modx_20080417.zip

To use it you have to:
[list=1][*]Download and unpack this ZIP into your site or your local testing environment.
[*]CHMOD to 0777 the folder where [b]modx_file.php[/b] is, otherwise you won't be able to create the XML output file.
[*]Create two folders to be compared: one with the original files and one with the changed files.
[*]Open and edit this part of [b]modx_file.php[/b] to correctly set the path of the previously created folders:
[code]$original_path = '../_diff/bp128/';
$working_path = '../_diff/bp129/';
$modx_file = 'install.xml';[/code]
[*]Open and edit [b]modx_template_header.php[/b] adding description of your mod and your datas.
[*]Launch in your browser [b]modx_file.php[/b].
[*]The XML file will be created in the same folder where you have [b]modx_file.php[/b].[/list]

Currently it doesn't add new files to be copied... but may be easily added.


Special thanks to [url=http://www.phpbb.com/community/memberlist.php?mode=viewprofile&u=222905]evil<3 for having started and created this.


-----------------------------------
Zuker
Sun 27 Apr, 2008 02:16

Re: Diff Renderer
-----------------------------------
Igor (evil<3) it's one of the guy's that teach me what i know form phpbb

so thanks igor and, obviously, luca!


-----------------------------------
Zuker
Mon 16 Jun, 2008 00:47

Re: Diff Renderer
-----------------------------------
works like a charm :mrgreen:


-----------------------------------
moreteavicar
Mon 01 Sep, 2008 22:47

Re: Diff Renderer
-----------------------------------
At the risk of sounding like the stupid idiot I am... do you need subversion for this?


-----------------------------------
andrea75
Tue 02 Sep, 2008 09:30

Re: Diff Renderer
-----------------------------------
[quote user="moreteavicar" post="31329"]At the risk of sounding like the stupid idiot I am... do you need subversion for this?[/quote]

No, this script is standalone... you don't need SVN to run it. You have only to follow instructions. ;)


-----------------------------------
Mighty Gorgon
Wed 03 Sep, 2008 11:11

Re: Diff Renderer
-----------------------------------
You may also be interested in this which is much more automated:
http://www.icyphoenix.com/viewtopic.php?f=32&t=4613

But this is based on phpBB 3... maybe someone will find the time to adapt to Icy Phoenix boards... and that would be great for developing and updating boards. :wink:


