Get source code: Difference between revisions

From KolibriOS wiki
Jump to navigation Jump to search
(Created page with "== Install Subversion == === Linux === *Ubuntu : <code>apt-get install subversion</code> *Archlinux : <code>pacman -S subversion</code> === Mac OS === *Mountain Lion : Insta...")
 
(Added a section about available GUI clients for git, replacing the previously described TortoiseSVN.)
 
(10 intermediate revisions by 7 users not shown)
Line 1: Line 1:
== Install Subversion ==
The KolibriOS developer team makes use of a central Git source code repository.
It contains not only KolibriOS kernel and drivers, but also almost all programs and libraries that are present in this OS.
 
The repository is located https://git.kolibrios.org/KolibriOS/kolibrios.git<br>
 
There are also read-only repository mirrors:
* https://github.com/KolibriOS/kolibrios.git
* http://repo.or.cz/w/kolibrios.git
 
Keep in mind that these repositories are for checkouts only, not commits.
 
== Installing Git ==


=== Linux ===
=== Linux ===
*Ubuntu
 
: <code>apt-get install subversion</code>
* Ubuntu
*Archlinux
: <code>apt-get install git</code>
: <code>pacman -S subversion</code>
* Arch Linux
: <code>pacman -S git</code>


=== Mac OS ===
=== Mac OS ===
*Mountain Lion
 
: Install the command line tools for ''Xcode from Xcode -> Preferences -> Downloads''.
* Mountain Lion
: Install the Command Line Tools for ''Xcode from Xcode -> Preferences -> Downloads''.
: Or download it directly from https://developer.apple.com/downloads/
: Or download it directly from https://developer.apple.com/downloads/
*Previous versions
* Previous versions
: Comes installed.
: Comes installed.


== Get the code ==
=== Windows ===
*In a terminal go to where you want to put the source code of Kolibri.
 
*Now run the following and wait:
*[https://gitforwindows.org/ Git for Windows]
: <code>svn checkout svn://kolibrios.org kolibrios</code>
 
== Get code ==
 
* In a terminal, go to where you want to download the source code of KolibriOS.
* Now run the following and wait:
: <code>git clone https://git.kolibrios.org/KolibriOS/kolibrios.git</code>
 
=== Git mirrors ===
 
As mentioned above, there are two official mirrors of central Git repository:
* https://github.com/KolibriOS/kolibrios.git
* http://repo.or.cz/w/kolibrios.git
 
Remember that there are read-only mirrors of Git repository, you cannot commit to these repositories.<br>
Please get write access to official Git repository if you wish to make contributions or make pull request from your local copy of repository!
 
== Git GUI ==
 
If you find it more comfortable to work with Git through GUI, rather than a terminal, you can use the built-in git-gui or pick one of many GUI clients listed on the official website:
* https://git-scm.com/downloads/guis
 
In particular:
* [https://tortoisegit.org/ TortoiseGit] for Windows
* [https://gitlab.gnome.org/GNOME/gitg/ gitg] for Linux
* [https://gitnuro.com/ Gitnuro] for MacOS
 
Alternatively, you can use Git extensions for your favorite code editor, like [https://code.visualstudio.com/docs/sourcecontrol/overview Source control] in VSCode.
 
 
[[Category:Manuals]]
[[Category:Development]]

Latest revision as of 09:16, 27 January 2025

The KolibriOS developer team makes use of a central Git source code repository. It contains not only KolibriOS kernel and drivers, but also almost all programs and libraries that are present in this OS.

The repository is located https://git.kolibrios.org/KolibriOS/kolibrios.git

There are also read-only repository mirrors:

Keep in mind that these repositories are for checkouts only, not commits.

Installing Git

Linux

  • Ubuntu
apt-get install git
  • Arch Linux
pacman -S git

Mac OS

  • Mountain Lion
Install the Command Line Tools for Xcode from Xcode -> Preferences -> Downloads.
Or download it directly from https://developer.apple.com/downloads/
  • Previous versions
Comes installed.

Windows

Get code

  • In a terminal, go to where you want to download the source code of KolibriOS.
  • Now run the following and wait:
git clone https://git.kolibrios.org/KolibriOS/kolibrios.git

Git mirrors

As mentioned above, there are two official mirrors of central Git repository:

Remember that there are read-only mirrors of Git repository, you cannot commit to these repositories.
Please get write access to official Git repository if you wish to make contributions or make pull request from your local copy of repository!

Git GUI

If you find it more comfortable to work with Git through GUI, rather than a terminal, you can use the built-in git-gui or pick one of many GUI clients listed on the official website:

In particular:

Alternatively, you can use Git extensions for your favorite code editor, like Source control in VSCode.