Difference between revisions of "SourceCodeAccess"

(23 intermediate revisions by 7 users not shown)
Line 1: Line 1:
= How to access the Open-Xchange Server source code =
+
= How to download the Open-Xchange Server source code (6.22.0 and later) =
  
The source code is currently only available using cvs access.
+
Starting with 6.22 the source code of Open-Xchange server is available from our Git repository.
 +
 
 +
The following repositories exist:
 +
 
 +
{| border="1" cellspacing="0" cellpadding="5" align="center"
 +
! Repository
 +
! content
 +
|-
 +
| wd/backend
 +
| The main repository containing most of the parts of Open-Xchange server
 +
|-
 +
| frontend6
 +
| The AJAX user interface (version 6)
 +
|-
 +
| wd/frontend/web
 +
| The AJAX user interface of OX App Suite
 +
|-
 +
| documentconverter-api
 +
| The API of the server-based part of the documentconverter needed for OX Text
 +
|-
 +
| office
 +
| The server-code for OX Text and OX Spreadsheet
 +
|-
 +
| office-web
 +
| The frontend-code for OX Text and OX Spreadsheet
 +
|-
 +
| calcengine
 +
| The C++, Apache OpenOffice based calc engine (obsolete)
 +
|-
 +
| guard
 +
| The server-code OX Guard (PGP implementation)
 +
|-
 +
| guard-ui
 +
| The frontend-code for OX Guard (PGP implementation)
 +
|-
 +
|}
 +
 
 +
== Git operations to access the code ==
 +
 
 +
To clone a repository, run
 +
 
 +
$ git clone https://code.open-xchange.com/git/<repository>
 +
$ cd <repository>
 +
$ git checkout -t origin/<branch>
 +
 
 +
For browsing the git repositories, go to https://code.open-xchange.com
 +
 
 +
== The currently used Git branches ==
 +
 
 +
For a list of available branches, run
 +
 
 +
$ git branch -r
 +
 
 +
The main development process uses the following branches:
 +
 
 +
{| border="1" cellspacing="0" cellpadding="5" align="center"
 +
! Git branch
 +
! content
 +
|-
 +
| develop
 +
| head development
 +
|-
 +
| release-<version>
 +
| stabilizing for <version> release
 +
|-
 +
| master
 +
| maintenance of previous releases
 +
|-
 +
|}
 +
 
 +
= How to download the Open-Xchange Server source code (6.20.7 and earlier) =
 +
 
 +
The source code of Open-Xchange Server up to and including version 6.20.7 is available using cvs access and source packages. Please make sure to use an up-to-date CVS client (cvs > 1.12) to check out the repositories. Integrated CVS clients e.g. for current Eclipse version work well, too.  
  
 
== The currently maintained cvs repositories ==
 
== The currently maintained cvs repositories ==
Line 44: Line 116:
 
The open-xchange repository contains several [http://en.wikipedia.org/wiki/OSGi OSGi] bundles which are the building block of the Open-Xchange server package.
 
The open-xchange repository contains several [http://en.wikipedia.org/wiki/OSGi OSGi] bundles which are the building block of the Open-Xchange server package.
 
Each of them has an [http://ant.apache.org/ ant] <tt>build.xml</tt> file containing a target to create a source tarball and a subdirectory called <tt>packaging</tt> which contains the package metadata to build [http://en.wikipedia.org/wiki/Deb_(file_format) DEB] and [http://en.wikipedia.org/wiki/RPM_Package_Manager RPM] packages.
 
Each of them has an [http://ant.apache.org/ ant] <tt>build.xml</tt> file containing a target to create a source tarball and a subdirectory called <tt>packaging</tt> which contains the package metadata to build [http://en.wikipedia.org/wiki/Deb_(file_format) DEB] and [http://en.wikipedia.org/wiki/RPM_Package_Manager RPM] packages.
 +
 +
[[Category: OX6]]
 +
[[Category: AppSuite]]
 +
[[Category: Developer]]

Revision as of 07:40, 18 April 2019

How to download the Open-Xchange Server source code (6.22.0 and later)

Starting with 6.22 the source code of Open-Xchange server is available from our Git repository.

The following repositories exist:

Repository content
wd/backend The main repository containing most of the parts of Open-Xchange server
frontend6 The AJAX user interface (version 6)
wd/frontend/web The AJAX user interface of OX App Suite
documentconverter-api The API of the server-based part of the documentconverter needed for OX Text
office The server-code for OX Text and OX Spreadsheet
office-web The frontend-code for OX Text and OX Spreadsheet
calcengine The C++, Apache OpenOffice based calc engine (obsolete)
guard The server-code OX Guard (PGP implementation)
guard-ui The frontend-code for OX Guard (PGP implementation)

Git operations to access the code

To clone a repository, run

$ git clone https://code.open-xchange.com/git/<repository>
$ cd <repository>
$ git checkout -t origin/<branch>

For browsing the git repositories, go to https://code.open-xchange.com

The currently used Git branches

For a list of available branches, run

$ git branch -r

The main development process uses the following branches:

Git branch content
develop head development
release-<version> stabilizing for <version> release
master maintenance of previous releases

How to download the Open-Xchange Server source code (6.20.7 and earlier)

The source code of Open-Xchange Server up to and including version 6.20.7 is available using cvs access and source packages. Please make sure to use an up-to-date CVS client (cvs > 1.12) to check out the repositories. Integrated CVS clients e.g. for current Eclipse version work well, too.

The currently maintained cvs repositories

Repository content
open-xchange the main repository containing most of the parts of Open-Xchange server
open-xchange-gui The AJAX user interface
open-xchange-admin the Open-Xchange admin daemon used for provisioning (user creation, etc.)
open-xchange-admin-plugin-hosting contains the commandline tools and the oxinstaller
open-xchange-admin-soap SOAP interface

CVS operations to access the code

To see a complete list of Open-Xchange cvs repositories, run the following command:

$ cvs -d :pserver:anonymous@www.open-xchange.com:/cvsroot rls

Note, however, that only the repositories as listed above are actively maintained.

To check out a repository, run

$ cvs -d :pserver:anonymous@www.open-xchange.com:/cvsroot co open-xchange/com.openexchange.authentication.ldap

to check out the ldap authentication plugin.

Organization of the open-xchange repository

The open-xchange repository contains several OSGi bundles which are the building block of the Open-Xchange server package. Each of them has an ant build.xml file containing a target to create a source tarball and a subdirectory called packaging which contains the package metadata to build DEB and RPM packages.