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

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Mon Jan 19 00:55:48 CST 2009


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

Date        : 2009/01/19 00:55
User        : lalomartins
Edit Summary: instructions for switching an existing 1.x branch

@@ -1,20 +1,21 @@
+ 
  ====== Downloading Crossfire ======
  
- The current version of the Crossfire server is 1.10.0 as of 2007-Mar-27, however there have been updates available via SVN since then.
+ The current version of the Crossfire server is 1.11.0 as of 2008-Feb-1, however there have been updates available via SVN since then.
  
  ===== SourceForge Releases =====
  
    * http://sourceforge.net/project/showfiles.php?group_id=13833
  
  ==== SVN via SourceForge ====
  
  The general commands to check out a module (archtypes, client, maps, server map editor, et al) is the following:
-   * svn co https://crossfire.svn.sourceforge.net/svnroot/crossfire/arch
-   * svn co https://crossfire.svn.sourceforge.net/svnroot/crossfire/client
-   * svn co https://crossfire.svn.sourceforge.net/svnroot/crossfire/maps
-   * svn co https://crossfire.svn.sourceforge.net/svnroot/gridarta
-   * svn co https://crossfire.svn.sourceforge.net/svnroot/crossfire/server
+   * svn co <nowiki>https://crossfire.svn.sourceforge.net/svnroot/crossfire/arch</nowiki>
+   * svn co <nowiki>https://crossfire.svn.sourceforge.net/svnroot/crossfire/client</nowiki>
+   * svn co <nowiki>https://crossfire.svn.sourceforge.net/svnroot/crossfire/maps</nowiki>
+   * svn co <nowiki>https://crossfire.svn.sourceforge.net/svnroot/gridarta</nowiki>
+   * svn co <nowiki>https://crossfire.svn.sourceforge.net/svnroot/crossfire/server</nowiki>
  
  ==== Trunk & Branch: ====
  
  You will also notice that there are directories labeled as trunk and branch.
@@ -36,26 +37,73 @@
  
  Note: The commands, below, presume you are in the directory where the archetypes, client, maps or server currently reside.
  
    * Branch: 
-     * svn co https://crossfire.svn.sourceforge.net/svnroot/crossfire/arch/branches/1.12
-     * svn co https://crossfire.svn.sourceforge.net/svnroot/crossfire/client/branches/1.12
-     * svn co https://crossfire.svn.sourceforge.net/svnroot/crossfire/maps/branches/1.12
-     * svn co https://crossfire.svn.sourceforge.net/svnroot/crossfire/server/branches/1.12
+     * svn co <nowiki>https://crossfire.svn.sourceforge.net/svnroot/crossfire/arch/branches/1.12</nowiki>
+     * svn co <nowiki>https://crossfire.svn.sourceforge.net/svnroot/crossfire/client/branches/1.12</nowiki>
+     * svn co <nowiki>https://crossfire.svn.sourceforge.net/svnroot/crossfire/maps/branches/1.12</nowiki>
+     * svn co <nowiki>https://crossfire.svn.sourceforge.net/svnroot/crossfire/server/branches/1.12</nowiki>
    * Trunk: 
-     * svn co https://crossfire.svn.sourceforge.net/svnroot/crossfire/arch/trunk
-     * svn co https://crossfire.svn.sourceforge.net/svnroot/crossfire/client/trunk
-     * svn co https://crossfire.svn.sourceforge.net/svnroot/crossfire/maps/trunk
-     * svn co https://crossfire.svn.sourceforge.net/svnroot/crossfire/server/trunk
+     * svn co <nowiki>https://crossfire.svn.sourceforge.net/svnroot/crossfire/arch/trunk</nowiki>
+     * svn co <nowiki>https://crossfire.svn.sourceforge.net/svnroot/crossfire/client/trunk</nowiki>
+     * svn co <nowiki>https://crossfire.svn.sourceforge.net/svnroot/crossfire/maps/trunk</nowiki>
+     * svn co <nowiki>https://crossfire.svn.sourceforge.net/svnroot/crossfire/server/trunk</nowiki>
  
  It is also possible to checkout files from SVN and have them install to a remote directory. This is accomplished by adding the file path to the end of the SVN command.
  
  For instance:
- svn co https://crossfire.svn.sourceforge.net/svnroot/crossfire/maps/branches/1.12 /path/to/map/directory/
+ svn co <nowiki>https://crossfire.svn.sourceforge.net/svnroot/crossfire/maps/branches/1.12</nowiki> /path/to/map/directory/
  
  Or, more specifically:
- svn co https://crossfire.svn.sourceforge.net/svnroot/crossfire/maps/branches/1.12 /share/crossfire/maps/
+ svn co <nowiki>https://crossfire.svn.sourceforge.net/svnroot/crossfire/maps/branches/1.12</nowiki> /share/crossfire/maps/
  
  This would check out the latest changes to maps 1.x branch and place them in the /share/crossfire/maps/ directory.
  
  ==== Browse the SVN Repository ====
  Latest SVN changes and history is available at: http://crossfire.svn.sourceforge.net/viewvc/crossfire/
+ 
+ ==== Switching an old 1.x checkout ====
+ Until January 2008, the way the project was using branches was slightly different.  So people looking for small updates and bugfixes to 1.x code would be following a branch called 1.x (eg /maps/branches/1.x).  Now, the branches are actual release numbers: 1.11, 1.12, 1.13.  Doing an update in such 
+ a checkout would simply fail, with the not so helpful message:
+ 
+ > ''svn: Target path does not exist''
+ 
+ So if you use a checkout like that, here's the recommended thing to do:
+ 
+ First you should make a choice.  Do you want to follow the supported, released version, and get eventual bugfixes for that?  Or do you want to  follow the work-in-progress for the next release?
+ 
+ If you want to follow the supported, released version, do this:
+ 
+ ''svn switch <nowiki>https://crossfire.svn.sourceforge.net/svnroot/crossfire/$COMPONENT/branches/1.11</nowiki> .''
+ 
+ where $COMPONENT is the thing you're following -- server, client, arch, maps.  So for example:
+ 
+ <code>
+ % cd server
+ % svn switch https://crossfire.svn.sourceforge.net/svnroot/crossfire/server/branches/1.11 .
+ </code>
+ 
+ But it would probably be even better to remove your checkout, and instead 
+ create one from the "stable" export:
+ 
+ ''svn co <nowiki>https://crossfire.svn.sourceforge.net/svnroot/crossfire/stable/</nowiki> crossfire''
+ 
+ This will get all the components, on the supported version.  It has the significant benefit that when 1.12 is released, you don't have to run "switch" again; you will automatically start following that one.
+ 
+ 
+ 
+ On the other hand, if you want to follow the work-in-progress 1.x release (more or less equivalent to the old branches/1.x):
+ 
+ ''svn switch <nowiki>https://crossfire.svn.sourceforge.net/svnroot/crossfire/$COMPONENT/branches/1.12</nowiki> .''
+ 
+ for example:
+ 
+ <code>
+ % cd server
+ % svn switch https://crossfire.svn.sourceforge.net/svnroot/crossfire/server/branches/1.12 .
+ </code>
+ 
+ But it would probably be even better to remove your checkout, and instead create one from the "next" export:
+ 
+ ''svn co <nowiki>https://crossfire.svn.sourceforge.net/svnroot/crossfire/next/</nowiki> crossfire-alpha''
+ 
+ This will get all the components, on the supported version.  It has the significant benefit that when 1.12 is released, you don't have to run "switch" again; you will automatically start following 1.13 instead.


IP-Address  : 209.162.35.64
Old Revision: http://wiki.metalforge.net/doku.php/downloading?rev=1232347295
New Revision: http://wiki.metalforge.net/doku.php/downloading

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




More information about the crossfire-wiki mailing list