2010-04-06 18:49:54 -04:00
---
layout: wiki
title: SourceCode
permalink: /wiki/SourceCode/
---
Qubes Source Code Repositories
==============================
2010-04-06 19:35:50 -04:00
All the Qubes code is kept in GIT repositories. We divided the project into several components, each of which has its own separate repository:
- `core.git` -- the core Qubes infrastructure responsible for VM management, VM temaplates, fs sharing, etc.
- `gui.git` -- GUI virtualization, both Dom0 and VM side.
- `template-builder.git` - scripts and other files used to create Qubes templates and NetVM images.
2011-04-18 12:03:22 -04:00
You can browse the repositories [ on line via GitWeb ](http://git.qubes-os.org/gitweb/ ). The Qubes official repositories are in the `mainstream` directory.
2010-04-06 19:35:50 -04:00
To clone a repository:
``` {.wiki}
2011-04-18 12:03:22 -04:00
git clone git://git.qubes-os.org/mainstream/< repo_name > .git < repo_name >
2010-04-07 05:51:32 -04:00
```
e.g.:
``` {.wiki}
2011-04-18 17:10:21 -04:00
git clone git://git.qubes-os.org/mainstream/core.git core
2010-04-06 19:35:50 -04:00
```
Currently the preferred way of contributing to the project is by sending a patch via the project's mailing list (`git format-patch`).