PenUltima Online

It is currently Sat Aug 30, 2008 7:04 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Submitting Distro SVN Patches
PostPosted: Fri Oct 05, 2007 8:38 pm 
Offline
POL Developer
User avatar

Joined: Sun Feb 12, 2006 9:50 pm
Posts: 834
Location: Indiana, USA
Patch Submissions must include the following information
* The purpose of the patch. What if fixes, adds, or adjusts.
* Link or qoute of the original bug report if one does exist.
* Credit to the author if you are not the original author.
* Patch code should conform to the existing Distro format.

Creating an SVN Patch file for submission
* Make sure you have your modified code in you copy of the Distro SVN
* Make sure the patch is made against a clean copy of the SVN, so as not to include other changes not intended.
* Remember to always create a patch file by right clicking on the ROOT directory of the SVN copy, not a subdirectory.
* Code comments are highly welcomed, and recommended.
* Attach the Patch file to your post, host it at Filebeam, or another free file hosting service.
* Code changes need to be in English, for conformity to the rest of Distro.


Right Click on the Root Directory of your SVN Copy. This is very important. It must be the Root Directory.
Go to TortoiseSVN in the Context Menu, Then select Create Patch
Image

Once you click on that, TortoiseSVN will load, and then eventually show all the Modified Files in your SVN Copy.
Make sure the correct ones are checkmarked, then click OK.
Image

Save the new patch file anywhere you like, just remember where you put it! Name it, with the extension of the file being called ".patch". Filenames with these extensions, and .txt will both be allowed to be posted on the submission forum.
Image

Next, go make your post here in the Submissions forum, and be sure to attach your patch! This way, not only can Distro Devs use this patch, but also other people who wish to test your fine work! :)



Applying someone's patch file, so you can test it until it gets approved, or denied, for Distro!

* Save the file from the forum post on your PC. Go to your copy of the Distro SVN, and right click on the Root Directory.
* Go to TortoiseSVN, then click on Apply Patch.
* Go to the location where you saved the Patch File you downloaded. Select that patch file to apply.

_________________
POL Developer - The Penguin Scripter


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 06, 2007 6:28 am 
Offline

Joined: Sat Feb 04, 2006 6:26 pm
Posts: 539
Attributes documentation.

As a test to see if this system works. Documented in a similar style to the brainAI web pages.

This patch creates a directory called docs in the attributes package.
releases\097\Distro\pkg\systems\attributes\docs


seems we can't create new directories, so this is a bit limiting unless we are simply adding or editing files.


Attachments:
attributesDocs.patch [254.87 KiB]
Downloaded 1 time
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl