Difference between revisions of "Git"

From openZIM
Jump to: navigation, search
(Checking Out)
(Commit Access)
Line 14: Line 14:
  
 
=== Commit Access ===
 
=== Commit Access ===
Commit changes to your local repository once you got commit access to our server:
+
Once you got commit access to our server check out the whole trunk (or a part of it) before you start working on your local repository:
 
<pre>
 
<pre>
svn ci svn+ssh://USER@openzim.org/trunk
+
svn co svn+ssh://USER@openzim.org/trunk
 +
</pre>
 +
 
 +
Commit changes:
 +
<pre>
 +
svn ci
 
</pre>
 
</pre>
 
* replace USER with you openZIM user account
 
* replace USER with you openZIM user account

Revision as of 17:18, 28 February 2009

Subversion Access

Checking Out

Read-only access via WEBDAV is available to our repository.

Checking out the complete trunk the first time:

svn co http://svn.openzim.org/svnroot/trunk

or update everything once you have checked out:

svn up http://svn.openzim.org/svnroot/trunk

Commit Access

Once you got commit access to our server check out the whole trunk (or a part of it) before you start working on your local repository:

svn co svn+ssh://USER@openzim.org/trunk

Commit changes:

svn ci
  • replace USER with you openZIM user account
  • replace trunk with the branch you whish to check out

Structure

The suggested subversion repository structure is:

  • trunk
    • 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.