[Crossfire-wiki] [Crossfire DokuWiki] page changed: map_making

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Sun Apr 22 23:11:01 CDT 2007


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2007/04/22 23:11
User        : leaf
Edit Summary: HOWTO steps for creating a diff file via CLI

@@ -95,9 +95,35 @@
  ===== Map Contributions =====
  
  Once a map has been created, you have the option of contributing it back to the Crossfire project.  Here's a few ways on how to do that.
  
- **NOTE** In all cases, we ask that you compress the map file(s) first by using either WinZip (for .zip files) or tar (for .tgz files); this helps to save on bandwidth, disk space and overall time to "handle" the files
+ **NOTE** In all cases, we ask that you compress the map file(s) first by using either WinZip (for .zip files) or tar (for .tgz files); this helps to save on bandwidth, disk space and overall time to "handle" the files.
+ 
+ ==== Creating a "diff" ====
+ 
+ There are all kinds of technical reasons for using a "diff" file to merge in file updates.  The biggest reason is it gives whom ever else is working with your map changes an easy to read file comparison to see what has changed, exactly.  One will need Subversion (SVN) installed and setup before attempting to create a diff.
+ 
+ SVN diff from the command line:
+ 
+   $ svn diff > patchfile
+ 
+ This run a comparison (or difference) between your local files to what is in place in the Crossfire Subversion repository at SourceForge.  It is advised to use a more descriptive name for the patchfile - since that is just an example.
+ 
+ Now, use the tar command to compress the patchfile
+ 
+   $ tar czvf mypatchfile.tgz patchfile
+ 
+ This will take all the contents of patchfile and compress it in to mypatchfile.tgz
+ 
+ The command to uncompress said file is
+ 
+   $ tar xzvf mypatchfile.tgz
+ 
+ Remember, c = compress while x = extract
+ 
+ FIXME - Document how to create a diff against SVN using TortoiseSVN and TortoiseMerge
+ 
+ Once you have your diff file, see the options below for submitting them or making others aware of your new map or map updates.
  
  ==== Submit the map as a "patch" on SourceForge ====
    - Visit the SourceForge patch upload page at https://sourceforge.net/tracker/?func=add&group_id=13833&atid=313833
    - Follow the online instructions for submitting the patch - please be thorough on filling out the online submit form
@@ -109,5 +135,4 @@
      * Try to keep the attachment at 1MB or less in size
      * If possible, avoid composing the message in HTML format -- this helps keep the mail archives "looking nice" and consistant
      * If you would like to sign up for the Crossfire Maps mailing list, visit https://lists.sourceforge.net/lists/listinfo/crossfire-maps
  
- FIXME - Document how to create a dif against SVN and submit the updates that way (patch tracker or mailing list)


IP-Address  : 65.165.40.73
Old Revision: http://wiki.metalforge.net/doku.php/map_making?rev=1177300451
New Revision: http://wiki.metalforge.net/doku.php/map_making

-- 
This mail was generated by DokuWiki at
http://wiki.metalforge.net/




More information about the crossfire-wiki mailing list