Difference between revisions of "Git"

From openZIM
Jump to: navigation, search
Line 1: Line 1:
== Access ==
+
We have an '''open developement process''', all our source code is public and available for download using [http://en.wikipedia.org/wiki/Git Git].
=== Web ===
 
  
[https://gerrit.wikimedia.org/r/gitweb?p=openzim.git Browse our repository with your Web browser].
+
== Read only ==
 
 
=== Read only ===
 
Read-only access via WEBDAV is available to our repository.
 
  
Checking out the complete trunk the first time:
+
Checking out the whole code repository:
 
<pre>
 
<pre>
 
git clone https://gerrit.wikimedia.org/r/p/openzim.git
 
git clone https://gerrit.wikimedia.org/r/p/openzim.git
 
</pre>
 
</pre>
  
=== Read/Write ===
+
== Read/Write ==
 
Once you got write permission on the repository:
 
Once you got write permission on the repository:
 
<pre>
 
<pre>
Line 18: Line 14:
 
</pre>
 
</pre>
  
==== How to contribute without Write Access ====
+
== Web ==
Just send your patches to the [[Mailinglist|developers mailinglist]]. They can be discussed their and reach the developers in the team which are able to integrate them into the current codebase.
 
  
* [[Mailinglist|Subscribe yourself to ''offline-l (at) lists.wikimedia.org'']]
+
[https://gerrit.wikimedia.org/r/gitweb?p=openzim.git Browse our repository with your Web browser].
  
 
== Structure ==
 
== Structure ==
Line 31: Line 26:
 
* zimreader
 
* zimreader
 
*: a web server based on [http://www.tntnet.org Tntnet], which makes zim-files available via web.
 
*: a web server based on [http://www.tntnet.org Tntnet], which makes zim-files available via web.
 +
 +
__NOTOC__

Revision as of 19:33, 11 January 2013

We have an open developement process, all our source code is public and available for download using Git.

Read only

Checking out the whole code repository:

git clone https://gerrit.wikimedia.org/r/p/openzim.git

Read/Write

Once you got write permission on the repository:

git clone ssh://<user>@gerrit.wikimedia.org:29418/openzim.git

Web

Browse our repository with your Web browser.

Structure

The suggested subversion repository structure is:

  • zimlib
    Contains the libzim, which allows programs to read zim-files. Here are also some command line tools to access zim-files.
  • zimwriter
    is a system, which creates zim files using zimlib.
  • zimreader
    a web server based on Tntnet, which makes zim-files available via web.