Difference between revisions of "Developer's Corner"

From Elite Wiki
 
(12 intermediate revisions by 4 users not shown)
Line 2: Line 2:
  
 
* [[Contributing to the project]]
 
* [[Contributing to the project]]
* [[Setting up a development environment]]
+
* [[Release Process]]
 +
* [[Branding]]
 
* [https://ooliteproject.github.io/oolite/ Oolite API documentation]
 
* [https://ooliteproject.github.io/oolite/ Oolite API documentation]
 +
 +
== OS Specific parts ==
 +
 +
{| class="wikitable" style="margin:auto"
 +
|+ Operating System dependent stuff
 +
|-
 +
! Procedure !! Apple Mac !! Linux !! Windows
 +
|-
 +
| Setting up a development environment || [[Development on Apple Mac]] || [[Development on Linux]] || [[Development on Windows]]
 +
|-
 +
| Compiling || [[Compiling on Apple Mac]] || [[Compiling on Linux]] || [[Developing Oolite#On_Windows_2 | Compiling on Windows]]
 +
|-
 +
| Testing || [[Testing on Apple Mac]] || [[Testing on Linux]] || [[Testing on Windows]]
 +
|-
 +
| Packaging into Installer || [[Installer on Apple Mac]] || [[Installer on Linux]] || [[Installer on Windows]]
 +
|-
 +
| Running                  || [[Running_Oolite-Mac]] || ||
 +
|}
 +
 +
==Releasing the code==
 +
 +
Once you developed a while you are no longer happy that all you created is called 'nightly' or 'prerelease' or 'unstable'.
 +
If you are convinced the current status should be published as 'stable' or 'release', follow the [[Oolite Release Process]].
 +
 +
[[Category:Oolite Development]]
 +
 +
== Hints ==
 +
 +
The code is organized across several git repositories. The main one refers to the others as submodules - but always to a concise commit.
 +
If you need to update submodules you also need to tell update the reference in the main repository. Here you can see that handling submodules can lead to strange effects: https://bb.oolite.space/viewtopic.php?f=3&t=21470
 +
 +
To learn mode about submodules read the fine manual at https://git-scm.com/book/en/v2/Git-Tools-Submodules

Latest revision as of 09:38, 22 September 2024

Here you will find information that helps understanding the Oolite source code, build and test the project.

OS Specific parts

Operating System dependent stuff
Procedure Apple Mac Linux Windows
Setting up a development environment Development on Apple Mac Development on Linux Development on Windows
Compiling Compiling on Apple Mac Compiling on Linux Compiling on Windows
Testing Testing on Apple Mac Testing on Linux Testing on Windows
Packaging into Installer Installer on Apple Mac Installer on Linux Installer on Windows
Running Running_Oolite-Mac

Releasing the code

Once you developed a while you are no longer happy that all you created is called 'nightly' or 'prerelease' or 'unstable'. If you are convinced the current status should be published as 'stable' or 'release', follow the Oolite Release Process.

Hints

The code is organized across several git repositories. The main one refers to the others as submodules - but always to a concise commit. If you need to update submodules you also need to tell update the reference in the main repository. Here you can see that handling submodules can lead to strange effects: https://bb.oolite.space/viewtopic.php?f=3&t=21470

To learn mode about submodules read the fine manual at https://git-scm.com/book/en/v2/Git-Tools-Submodules