SourceCodeAccess: Difference between revisions

From Open-Xchange
No edit summary
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
= How to download the Open-Xchange Server source code (6.22.0 and later) =
= How to download the Open-Xchange source code =
 
Starting with 6.22 the source code of Open-Xchange server is available from Git repositories.


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


The following repositories exist:
The following repositories exist:
Line 9: Line 10:
! content
! content
|-  
|-  
| wd/backend
| https://gitlab.open-xchange.com/middleware/core
| The main repository containing most of the parts of Open-Xchange server
| The main repository containing most of the parts of Open-Xchange server
|-
|-
| frontend6
| https://gitlab.open-xchange.com/frontend/core
| The user interface of OX App Suite
|-
| https://gitlab.open-xchange.com/appsuite/guard
| The server-code and UI for OX Guard (PGP implementation)
|-
| https://code.open-xchange.com/git/frontend6
| The AJAX user interface (version 6)
| The AJAX user interface (version 6)
|-
|-
| wd/frontend/web
| documentconverter-api
| The AJAX user interface of OX AppSuite
| The API of the server-based part of the documentconverter needed for OX Text
|-
|-
| main/office
| office
| The server-code for OX Text
| The server-code for OX Text and OX Spreadsheet
|-
|-
| main/office-web
| office-web
| The frontend-code for OX Text
| The frontend-code for OX Text and OX Spreadsheet
|-
| mobile-api-facade
|
|-
|-
|}
|}
Line 28: Line 38:
== Git operations to access the code ==
== Git operations to access the code ==


To clone a repository, run
To clone a repository in case of gitlab please follow the instructions shown there.
For cloning from code.open-xchange.com, run


  $ git clone http://code.open-xchange.com/git/<repository>
  $ git clone https://code.open-xchange.com/git/<repository>
  $ cd <repository>
  $ cd <repository>
  $ git checkout -t origin/<branch>
  $ git checkout -t origin/<branch>
Line 53: Line 64:
|-
|-
| master
| master
| maintenance of current release
|-
| master-<version>
| maintenance of previous releases
| 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 ==
{| border="1" cellspacing="0" cellpadding="5" align="center"
! 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 [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.


[[Category: OX6]]
[[Category: OX6]]
[[Category: AppSuite]]
[[Category: Developer]]

Latest revision as of 10:11, 8 January 2020

How to download the Open-Xchange source code

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


The following repositories exist:

Repository content
https://gitlab.open-xchange.com/middleware/core The main repository containing most of the parts of Open-Xchange server
https://gitlab.open-xchange.com/frontend/core The user interface of OX App Suite
https://gitlab.open-xchange.com/appsuite/guard The server-code and UI for OX Guard (PGP implementation)
https://code.open-xchange.com/git/frontend6 The AJAX user interface (version 6)
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
mobile-api-facade

Git operations to access the code

To clone a repository in case of gitlab please follow the instructions shown there. For cloning from code.open-xchange.com, run

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

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 current release
master-<version> maintenance of previous releases