qubes-doc/SourceCode.md

33 lines
1.3 KiB
Markdown
Raw Normal View History

2010-04-06 22:49:54 +00:00
---
2015-04-10 20:17:45 +00:00
layout: doc
2010-04-06 22:49:54 +00:00
title: SourceCode
2015-04-10 20:17:45 +00:00
permalink: /doc/SourceCode/
redirect_from: /wiki/SourceCode/
2010-04-06 22:49:54 +00:00
---
Qubes Source Code Repositories
==============================
2010-04-06 23:35:50 +00: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, some of them:
2010-04-06 23:35:50 +00:00
2014-05-09 15:19:27 +00:00
- `core-admin.git` -- the core Qubes infrastructure responsible for VM management, VM templates, fs sharing, etc.
- `gui-daemon.git` -- GUI virtualization, Dom0 side.
- `gui-agent-linux.git` -- GUI virtualization, Linux VM side.
- `linux-template-builder.git` - scripts and other files used to create Qubes templates images.
2010-04-06 23:35:50 +00:00
2014-05-09 15:19:27 +00:00
You can browse the repositories [on line via GitWeb](http://git.qubes-os.org/gitweb/). The Qubes official repositories are in the `qubes-rX` directory, where X is release number (1, 2, etc).
2010-04-06 23:35:50 +00:00
To clone a repository:
2015-04-10 20:17:45 +00:00
{% highlight trac-wiki %}
2014-05-09 15:19:27 +00:00
git clone git://git.qubes-os.org/qubes-r2/<repo_name>.git <repo_name>
2015-04-10 20:17:45 +00:00
{% endhighlight %}
2010-04-07 09:51:32 +00:00
e.g.:
2015-04-10 20:17:45 +00:00
{% highlight trac-wiki %}
2014-05-09 15:19:27 +00:00
git clone git://git.qubes-os.org/qubes-r2/core-admin.git core-admin
2015-04-10 20:17:45 +00:00
{% endhighlight %}
2010-04-06 23:35:50 +00:00
2014-05-09 15:19:27 +00:00
Currently the preferred way of contributing to the project is by [sending a patch](/wiki/DevelFaq#Q:HowdoIsubmitapatch) via the project's mailing list (`git format-patch`).