developer.jelix.org is not used any more and exists only for history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Changes between Version 2 and Version 3 of en/sources


Ignore:
Timestamp:
Aug 19, 2009, 2:01:45 PM (11 years ago)
Author:
foxmask
Comment:

s/svn/mercurial/

Legend:

Unmodified
Added
Removed
Modified
  • en/sources

    v2 v3  
    55== Principles ==
    66
    7 Sources stored in the subversion repository are not ready to be performed by PHP. There are some preprocessing instructions in some php files, so, sources should be parsed by a preprocessor in order to be used by PHP. This preprocessing instruction allow to build packages for some specific PHP configurations, or some specific jelix editions.
     7Sources stored in the Mercurial repository are not ready to be performed by PHP. There are some preprocessing instructions in some php files, so, sources should be parsed by a preprocessor in order to be used by PHP. This preprocessing instruction allow to build packages for some specific PHP configurations, or some specific jelix editions.
    88
    99So, here is the process :
    1010
    11  1. get sources of jelix from the subversion repository (svn checkout)
     11 1. get sources of jelix from the Mercurial repository (hg clone)
    1212 1. create an ini file which contains options for the builder
    1313 1. launch the build/buildjelix.php script by giving the ini file, then you have in an other directory the php files of jelix
     
    1616For a contributeur of course he will do :
    1717
    18  1. gets sources of jelix from the subversion repository (svn checkout)
     18 1. gets sources of jelix from the Mercurial repository (hg clone)
    1919 1. makes modification in sources (bug fix, new feature..)
    2020 1. creates an ini file which contains options for the builder
     
    2626== Getting sources ==
    2727
    28 We use [http://subversion.tigris.org/ Subversion] to store sources of jelix and to follow the history of modifications. So you have to install a subversion client on your machine. Then you can access to the repository by giving the address of the repository to subversion commands.
     28We use [http://mercurial.selenic.com/ Mercurial] to store sources of jelix and to follow the history of modifications. So you have to install a mercurial client on your machine. Then you can access to the repository by giving the address of the repository to mercurial commands.
    2929
    3030For "anonymous" contributors, the address is:
    3131
    3232{{{
    33    http://svn.jelix.org/jelix/trunk
     33   http://hg.jelix.org/jelix/trunk
    3434}}}
    3535
     
    3838
    3939{{{
    40    svn+ssh://svnjelix@svn.jelix.org/jelix/trunk
     40   hg+ssh://hg@hg.jelix.org/jelix/trunk
    4141}}}
    4242
    4343
    44 Note: the username to give is always "svnjelix". The server recognize automatically your real login with your ssh key.
     44Note: the username to give is always "hg". The server recognize automatically your real login with your ssh key.
    4545
    4646
    4747So, in a command line, you type
    4848{{{
    49 svn checkout http://svn.jelix.org/jelix/trunk
     49hg clone http://hg.jelix.org/jelix/jelix-trunk/
    5050}}}
    51 ou
     51or
    5252{{{
    53 svn checkout svn+ssh://svnjelix@svn.jelix.org/jelix/trunk
     53hg clone hg+ssh://hg@hg.jelix.org/jelix/jelix-trunk/
    5454}}}
    5555
    5656== Directories ==
    5757
    58 The 'trunk' directory contains latest improvements for the next major release, and the 'branches' directory contains a directory for each minor releases. In this directory, we only fix bugs. No major new features are commited in them.
     58The 'jelix-trunk' directory contains latest improvements for the next major release, and the 'branches' directory contains a directory for each minor releases. In this directory, we only fix bugs. No major new features are commited in them.
    5959
    6060
     
    7777Your local copy of the subversion repository could be at:
    7878{{{
    79    /home/laurent/projects/jelix/svn/
     79   /home/laurent/projects/jelix/hg/
    8080}}}
    8181