]> git.rm.cloudns.org Git - xonotic/xonotic.wiki.git/commitdiff
git howto: deduplicate, update repo sizes
authorbones_was_here <bones_was_here@xonotic.au>
Sat, 1 Mar 2025 21:35:52 +0000 (07:35 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Sun, 2 Mar 2025 07:18:28 +0000 (17:18 +1000)
Git.md

diff --git a/Git.md b/Git.md
index 8e019f02288f5fdb3687fcacd0c1d76a15b98044..f39f46ec26c307b69d1343f5cc22bf98221fe872 100644 (file)
--- a/Git.md
+++ b/Git.md
@@ -6,41 +6,6 @@ This page is about how to use `git` and the `all` script for development.
 To download and compile a git build please see [Repository_Access](Repository_Access).  
 To get push access and contribute please read [CONTRIBUTING](https://gitlab.com/xonotic/xonotic/-/blob/master/CONTRIBUTING.md).  
 
-Cloning the repository
-----------------------
-
-    git clone https://gitlab.com/xonotic/xonotic.git
-    cd xonotic
-     ./all update -l best
-
-Expected time (~2.5MiB/s): ~2m (initial checkout) + ~75m (./all update)  
-Expected size: 11.7 GiB
-
-|Repository |Size   |
-|:--        |:--    |
-|data       |4.6 GiB  |
-|music      |382 MiB|
-|darkplaces |160 MiB |
-|netradiant |42 MiB |
-|d0_blind_id|776 KiB|
-|maps       |5.6 GiB|
-|gmqcc      |22 MiB|
-
-After cloning the repository
-----------------------------
-
-After you cloned the repository (using `git clone <url>`) you are ready to start creating a branch to start working.
-Please check [Repository Access](Repository_Access) to make sure you checked out **all** of the repositories. `data/` for example resides in its own repository.
-
-Compiling
----------
-
-Run `./all compile` to compile the engine and gamecode. Add `-d` to include debugging symbols.
-
-Running
--------
-
-Run `./all run` launch the game after compiling. `./all run dedicated` to start a dedicated server instead.
 
 Project structure
 -----------------
@@ -49,24 +14,24 @@ The game content can be divided into several distinct parts, like the `data/` di
 
 The current structure looks as follows:
 
-| Directory | Repository |
-| --------- | ---------- |
-|`/`|git://git.xonotic.org/xonotic/xonotic.git|
-|`/d0_blind_id`|git://git.xonotic.org/xonotic/d0_blind_id.git|
-|`/darkplaces`|git://git.xonotic.org/xonotic/darkplaces.git|
-|`/data/xonotic-data.pk3dir`|git://git.xonotic.org/xonotic/xonotic-data.pk3dir.git|
-|`/data/xonotic-maps.pk3dir`|git://git.xonotic.org/xonotic/xonotic-maps.pk3dir.git|
-|`/data/xonotic-music.pk3dir`|git://git.xonotic.org/xonotic/xonotic-music.pk3dir.git|
-|`/data/xonotic-nexcompat.pk3dir`|git://git.xonotic.org/xonotic/xonotic-nexcompat.pk3dir.git|
-|`/gmqcc`|git://git.xonotic.org/xonotic/gmqcc.git|
-|`/mediasource`|git://git.xonotic.org/xonotic/mediasource.git|
-|`/netradiant`|git://git.xonotic.org/xonotic/netradiant.git|
-|`/netradiant-xonoticpack`|git://git.xonotic.org/xonotic/netradiant-xonoticpack.git|
-
-When using the ssh protocol, the xonotic/ directory is skipped, so it’s just: git.xonotic.org/xonotic.git
+| Directory                      | Size   | Repository |
+| ---------                      | ------ | ---------- |
+|`/`                             | 303MiB |[xonotic.git](https://gitlab.com/xonotic/xonotic)|
+|`/d0_blind_id`                  | 576KiB |[d0_blind_id.git](https://gitlab.com/xonotic/d0_blind_id)|
+|`/darkplaces`                   | 96MiB  |[darkplaces.git](https://gitlab.com/xonotic/darkplaces)|
+|`/data/xonotic-data.pk3dir`     | 3.9GiB |[xonotic-data.pk3dir.git](https://gitlab.com/xonotic/xonotic-data.pk3dir)|
+|`/data/xonotic-maps.pk3dir`     | 5.5GiB |[xonotic-maps.pk3dir.git](https://gitlab.com/xonotic/xonotic-maps.pk3dir)|
+|`/data/xonotic-music.pk3dir`    | 367MiB |[xonotic-music.pk3dir.git](https://gitlab.com/xonotic/xonotic-music.pk3dir)|
+|`/data/xonotic-nexcompat.pk3dir`| 956MiB |[xonotic-nexcompat.pk3dir.git](https://gitlab.com/xonotic/xonotic-nexcompat.pk3dir)|
+|`/data/xonotic-xoncompat.pk3dir`| 956MiB |[xonotic-xoncompat.pk3dir.git](https://gitlab.com/xonotic/xonotic-xoncompat.pk3dir)|
+|`/gmqcc`                        | 19MiB  |[gmqcc.git](https://gitlab.com/xonotic/gmqcc)|
+|`/mediasource`                  | 3.6GiB |[mediasource.git](https://gitlab.com/xonotic/mediasource)|
+|`/netradiant`                   | 70MiB  |[netradiant.git](https://gitlab.com/xonotic/netradiant)|
+|`/netradiant-xonoticpack`       | 204KiB |[netradiant-xonoticpack.git](https://gitlab.com/xonotic/netradiant-xonoticpack)|
 
 You can still use the `data/` directory as base for the game since darkplaces now supports `.pk3dir` directories natively.
 
+
 Creating a new branch
 ---------------------