Difference between revisions of "Git"
Line 8: | Line 8: | ||
Checking out the complete trunk the first time: | Checking out the complete trunk the first time: | ||
< | <pre> | ||
svn co http://svn.openzim.org/svnroot/trunk zim | svn co http://svn.openzim.org/svnroot/trunk zim | ||
</ | </pre> | ||
or update everything once you have checked out: | or update everything once you have checked out: | ||
< | <pre> | ||
svn up http://svn.openzim.org/svnroot/trunk | svn up http://svn.openzim.org/svnroot/trunk | ||
</ | </pre> | ||
=== Commit Access === | === 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: | 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> | ||
svn co svn+ssh://USER@openzim.org/var/svn/repos/trunk zim | svn co svn+ssh://USER@openzim.org/var/svn/repos/trunk zim | ||
</ | </pre> | ||
Commit changes: | Commit changes: | ||
< | <pre> | ||
svn ci | svn ci | ||
</ | </pre> | ||
* replace USER with you openZIM user account | * replace USER with you openZIM user account | ||
* replace trunk with the branch you whish to check out | * replace trunk with the branch you whish to check out |
Revision as of 21:17, 1 June 2011
Subversion Access
WebSVN
Browse our repository via HTTP:
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 zim
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/var/svn/repos/trunk zim
Commit changes:
svn ci
- replace USER with you openZIM user account
- replace trunk with the branch you whish to check out
How to contribute without Commit Access
Just send your patches to the developers mailinglist. They can be discussed their and reach the developers in the team which are able to integrate them into the current codebase.
How to get Commit Access at openZIM
If you are a frequent contributor to openZIM check with the developers on the mailinglist for acknowledgement. Then send your username and and ssh public key to the list. Manuel Schneider is in charge of the server management, he will create your account and notify you.
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.
- zimlib