Changes between Version 6 and Version 7 of BuildInstructionsGettingTheCode


Ignore:
Timestamp:
Feb 23, 2024, 7:59:06 AM (2 months ago)
Author:
Alistair_Findlay
Comment:

Note reads "you should never need to use SVN if you don't want to.", then article shows SVN instructions first. I agree with the note, and the difference scales with availible local bandwidth. Git now takes precedence over SVN in artcle.

Legend:

Unmodified
Added
Removed
Modified
  • BuildInstructionsGettingTheCode

    v6 v7  
    11= Getting the code =
    22== Windows ==
     3=== Git ===
     4 * Download and install [https://tortoisegit.org/ TortoiseGit]. (Make sure you reboot when it asks you to.)
    35=== Subversion (SVN) ===
    46 * Download and install [https://tortoisesvn.net/ TortoiseSVN]. (Make sure you check the "command line client tools" option and reboot when it asks you to.)
    5 
    6 === Git ===
    7  * Download and install [https://tortoisegit.org/ TortoiseGit]. (Make sure you reboot when it asks you to.)
    87
    98== macOS ==
     
    2120
    2221== Linux ==
     22=== Git ===
     23`Git` is usually present on modern distributions of Linux however you might need to install it in some cases.  Depending on your Linux flavour your package manager might differ. For instance on **Ubuntu** it would be:
     24
     25{{{
     26#!sh
     27sudo apt update
     28sudo apt install git
     29}}}
    2330=== Subversion (SVN) ===
    2431You might need to have to install subversion for it to work. Depending on your Linux flavour your package manager might differ. For instance on **Ubuntu** it would be:
     
    2936sudo apt install subversion
    3037}}}
    31 === Git ===
    32 `Git` is usually present on modern distributions of Linux however you might need to install it in some cases.  Depending on your Linux flavour your package manager might differ. For instance on **Ubuntu** it would be:
    33 
    34 {{{
    35 #!sh
    36 sudo apt update
    37 sudo apt install git
    38 }}}
    3938== All platforms ==
    4039You'll need approximatively **8GB** for a clean checkout, and a few more if you build and run the game. So try to have at least **20GB** free to be safe.
     
    4342
    4443'''Important:''' Make sure that the checkout directory doesn't contain special characters (spaces or non-ASCII characters)
     44=== Git ===
     45To use a `Git` mirror, use one of the following commands:
    4546
     47{{{
     48#!sh
     49git clone https://github.com/0ad/0ad.git
     50}}}
     51or
     52
     53{{{
     54#!sh
     55git clone https://gitlab.com/0ad/0ad.git
     56}}}
     57As of February 2024, the Git repo consumes about 9 GB of disk space. Consider using `--depth=50` or something like that if you don't plan to compile previous versions.
    4658=== Subversion (SVN) ===
    4759To checkout the latest code from `SVN`, run this command:
     
    6476svn up 0ad
    6577}}}
    66 === Git ===
    67 To use a `Git` mirror, use one of the following commands:
    68 
    69 {{{
    70 #!sh
    71 git clone https://github.com/0ad/0ad.git
    72 }}}
    73 or
    74 
    75 {{{
    76 #!sh
    77 git clone https://gitlab.com/0ad/0ad.git
    78 }}}
    79 As of April 2020, the Git repo consumes about 10 GB of disk space. Consider using `--depth=50` or something like that if you don't plan to compile previous versions.