Diff Renderer


Subject: 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/...dx_20080417.zip

To use it you have to:
  1. Download and unpack this ZIP into your site or your local testing environment.
  2. CHMOD to 0777 the folder where modx_file.php is, otherwise you won't be able to create the XML output file.
  3. Create two folders to be compared: one with the original files and one with the changed files.
  4. Open and edit this part of modx_file.php to correctly set the path of the previously created folders:
    Code: [Download] [Hide]
    1. $original_path = '../_diff/bp128/';  
    2. $working_path = '../_diff/bp129/';  
    3. $modx_file = 'install.xml'; 

  5. Open and edit modx_template_header.php adding description of your mod and your datas.
  6. Launch in your browser modx_file.php.
  7. The XML file will be created in the same folder where you have modx_file.php.


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


Special thanks to evil<3 for having started and created this.

Subject: 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!

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

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

Profile PM  
Subject: Re: Diff Renderer
moreteavicar wrote: [View Post]
At the risk of sounding like the stupid idiot I am... do you need subversion for this?


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

Subject: 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:


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.9916s (PHP: 2% SQL: 98%)
SQL queries: 16 - Debug Off - GZIP Enabled