]> de.git.xonotic.org Git - xonotic/xonotic.wiki.git/blobdiff - Repository_Access.md
How to downgrade
[xonotic/xonotic.wiki.git] / Repository_Access.md
index 5b6e9d0e03d379cd4e3f7df50eee91679dee188c..4e78fd1dbb6f888f9482a1afc9e0a844333f8a64 100644 (file)
@@ -20,7 +20,7 @@ Linux already has an adequate base for development, all we really need to do her
 
 **Ubuntu Dependencies** (independent package `x11-proto-devel` dependencies fill the rest of the Debian package dependencies):
 
-    sudo apt-get install build-essential xserver-xorg-dev x11proto-xf86dri-dev x11proto-xf86dga-dev x11proto-xf86vidmode-dev libxxf86dga-dev libxcb-xf86dri0-dev libxpm-dev libxxf86vm-dev libsdl2-dev libsdl2-image-dev libclalsadrv-dev libasound2-dev libxext-dev libjpeg-turbo8-dev git-core unzip wget
+    sudo apt-get install build-essential xserver-xorg-dev x11proto-xf86dri-dev x11proto-xf86dga-dev x11proto-xf86vidmode-dev libxxf86dga-dev libxcb-xf86dri0-dev libxpm-dev libxxf86vm-dev libsdl1.2-dev libsdl2-dev libsdl2-image-dev libclalsadrv-dev libasound2-dev libxext-dev libjpeg-turbo8-dev git-core unzip wget
 
 Note: If using **i386** architecture, you can replace `libdsl1.2debian` with `libsdl1.2debian:i386` in the list above. On Debian, use `libjpeg8-dev` if `libjpeg-turbo8-dev` isn’t available in the package repositories. To be able to download maps from game servers when using Xonotic for online gaming, you will also need `curl` installed on your system.
 
@@ -79,6 +79,7 @@ The `run` command can also be followed by standard DarkPlaces commandline argume
 To update your Git clone, you can repeat the commands above without the first “git clone” line- And don’t forget to compile after you update- Like this:
 
     cd xonotic
+    ./all checkout
     ./all update
     ./all compile
 
@@ -86,6 +87,10 @@ To update your Git clone, you can repeat the commands above without the first 
 
 ***
 
+If you run into issues with the latest version you can easily revert to an older one. Since most bugs are caused by the game code rather that the engine, you just need to downgrade that repository. Inside the main xonotic repository, use `cd data/xonotic-data` and then `git checkout <some older commit>`. After that go back `cd -` and `./all compile` (with the optional `-r` flag).
+
+***
+
 Contributing and getting write access
 -------------------------------------
 
@@ -101,7 +106,9 @@ Get a checkout (see above), and do:
 
     ./all keygen
 
-and follow the instructions that are shown.
+and follow the instructions that are shown. Be sure that you've done:
+
+    ./all update -p
 
 After that, you can write to the repository using the usual git commands (commit, push).