Blame Documentation/Models/Docbook/Tcar-ug/Repository/Conventions/infra.docbook

Alain Reguera Delgado 47ec38
<section id="repo-convs-infra">
Alain Reguera Delgado 47ec38
Alain Reguera Delgado 47ec38
    <title>Repository Infrastructure</title>
Alain Reguera Delgado 47ec38
Alain Reguera Delgado 47ec38
    <para>
Alain Reguera Delgado 47ec38
        &TCAR; is made of one <quote>central repository</quote> and
Alain Reguera Delgado 47ec38
        many <quote>working copies</quote> of that central repository.
Alain Reguera Delgado 47ec38
        The working copies are independent one another, can be
Alain Reguera Delgado 47ec38
        distributed all around the world and provide a local place for
Alain Reguera Delgado 47ec38
        designers, documenters, translators and programmers to perform
Alain Reguera Delgado 47ec38
        their work in a decentralized way.  The central repository, on
Alain Reguera Delgado 47ec38
        the other hand, provides a common place for all independent
Alain Reguera Delgado 47ec38
        working copies to exchange data in the community.
Alain Reguera Delgado 47ec38
    </para>
Alain Reguera Delgado 47ec38
Alain Reguera Delgado 47ec38
    <figure id="repo-convs-infra-1">
Alain Reguera Delgado 47ec38
    <title>Repository infrastructure</title>
Alain Reguera Delgado 47ec38
    <screenshot>
Alain Reguera Delgado 47ec38
    <screeninfo>Repository infrastructure</screeninfo>
Alain Reguera Delgado 47ec38
    <mediaobject>
Alain Reguera Delgado 47ec38
    <imageobject>
Alain Reguera Delgado 47ec38
        <imagedata fileref="=TCAR_WORKDIR=/Documentation/Manuals/Svg/Repository/infrastructure.png" format="PNG" /> 
Alain Reguera Delgado 47ec38
    </imageobject>
Alain Reguera Delgado 47ec38
    </mediaobject>
Alain Reguera Delgado 47ec38
    </screenshot>
Alain Reguera Delgado 47ec38
    </figure>
Alain Reguera Delgado 47ec38
Alain Reguera Delgado 47ec38
    <section id="repo-convs-infra-subversion">
Alain Reguera Delgado 47ec38
    <title>Subversion</title>
Alain Reguera Delgado 47ec38
Alain Reguera Delgado 47ec38
    <para>
Alain Reguera Delgado 47ec38
        The current infrastructure that holds &TCAR;, on the Internet,
Alain Reguera Delgado 47ec38
        is made of the following components:
Alain Reguera Delgado 47ec38
    </para>
Alain Reguera Delgado 47ec38
    
Alain Reguera Delgado 47ec38
    <itemizedlist>
Alain Reguera Delgado 47ec38
    <listitem>
Alain Reguera Delgado 47ec38
    <para>
Alain Reguera Delgado 47ec38
        <application>
Alain Reguera Delgado 47ec38
        url="http://subversion.tigris.org/">Subversion</ulink></application>
Alain Reguera Delgado 47ec38
        — Modern Version Control System designed to replace CVS.
Alain Reguera Delgado 47ec38
    </para>
Alain Reguera Delgado 47ec38
    </listitem>
Alain Reguera Delgado 47ec38
    <listitem>
Alain Reguera Delgado 47ec38
    <para>
Alain Reguera Delgado 47ec38
        <application>
Alain Reguera Delgado 47ec38
        url="http://trac.edgewall.org/">Trac</ulink></application>
Alain Reguera Delgado 47ec38
        — Enhanced wiki and issue tracking system.
Alain Reguera Delgado 47ec38
    </para>
Alain Reguera Delgado 47ec38
    </listitem>
Alain Reguera Delgado 47ec38
    <listitem>
Alain Reguera Delgado 47ec38
    <para>
Alain Reguera Delgado 47ec38
        <application>Httpd+WebDav</application>  as data exchanging route between the workstations
Alain Reguera Delgado 47ec38
        and the central repository, through the Internet.  Httpd was
Alain Reguera Delgado 47ec38
        configured to provide service through SSL, so all traffic
Alain Reguera Delgado 47ec38
        between the workstations and the server be protected while it
Alain Reguera Delgado 47ec38
        travels across the Internet.  </para>
Alain Reguera Delgado 47ec38
    </listitem>
Alain Reguera Delgado 47ec38
    <listitem>
Alain Reguera Delgado 47ec38
    <para>
Alain Reguera Delgado 47ec38
       The access rights are controlled by using a combination of both
Alain Reguera Delgado 47ec38
       Subversion's authorization files and Httpd's password files.
Alain Reguera Delgado 47ec38
       These files can be managed consistently through Trac's WebAdmin
Alain Reguera Delgado 47ec38
       plug-in.
Alain Reguera Delgado 47ec38
    </para>
Alain Reguera Delgado 47ec38
    </listitem>
Alain Reguera Delgado 47ec38
    </itemizedlist>
Alain Reguera Delgado 47ec38
Alain Reguera Delgado 47ec38
    <para>
Alain Reguera Delgado 47ec38
        In this infrastructure, the first level of directories in the
Alain Reguera Delgado 47ec38
        repository provides the Subversion's standard
Alain Reguera Delgado 47ec38
        trunk-branches-tags layout.  The second level of directories
Alain Reguera Delgado 47ec38
        provides organization for different work lines, as described
Alain Reguera Delgado 47ec38
        in <xref linkend="repo-convs-worklines" />.  All other
Alain Reguera Delgado 47ec38
        subsequent directory levels from second level on exist to
Alain Reguera Delgado 47ec38
        organize specific concepts related to the work line they
Alain Reguera Delgado 47ec38
        belong to.
Alain Reguera Delgado 47ec38
    </para>
Alain Reguera Delgado 47ec38
Alain Reguera Delgado 47ec38
    </section>
Alain Reguera Delgado 47ec38
Alain Reguera Delgado 47ec38
    <section id="repo-convs-infra-git">
Alain Reguera Delgado 47ec38
    <title>Git</title>
Alain Reguera Delgado 47ec38
Alain Reguera Delgado 47ec38
    <para>
Alain Reguera Delgado 47ec38
        In addition to current Subversion infrastructure, we are
Alain Reguera Delgado 47ec38
        working on a Git infrastructure with the intention of
Alain Reguera Delgado 47ec38
        migrating the current Subversion infrastructure up to it,
Alain Reguera Delgado 47ec38
        progressively. The Git infrastructure we are working on is
Alain Reguera Delgado 47ec38
        made of the following components: 
Alain Reguera Delgado 47ec38
    </para>
Alain Reguera Delgado 47ec38
Alain Reguera Delgado 47ec38
    <itemizedlist>
Alain Reguera Delgado 47ec38
    <listitem>
Alain Reguera Delgado 47ec38
    <para>
Alain Reguera Delgado 47ec38
        Git — Fast version control system.
Alain Reguera Delgado 47ec38
    </para>
Alain Reguera Delgado 47ec38
    </listitem>
Alain Reguera Delgado 47ec38
    <listitem>
Alain Reguera Delgado 47ec38
    <para>
Alain Reguera Delgado 47ec38
        <application>Gitolite</application> — Highly flexible
Alain Reguera Delgado 47ec38
        server for git directory version tracker.
Alain Reguera Delgado 47ec38
    </para>
Alain Reguera Delgado 47ec38
    </listitem>
Alain Reguera Delgado 47ec38
    <listitem>
Alain Reguera Delgado 47ec38
    <para>
Alain Reguera Delgado 47ec38
        <application>Gitweb</application> — Simple web interface
Alain Reguera Delgado 47ec38
        to git repositories.
Alain Reguera Delgado 47ec38
    </para>
Alain Reguera Delgado 47ec38
    </listitem>
Alain Reguera Delgado 47ec38
    <listitem>
Alain Reguera Delgado 47ec38
    <para>
Alain Reguera Delgado 47ec38
        <application>MantisBT</application> — Web-based issue
Alain Reguera Delgado 47ec38
        tracking system.
Alain Reguera Delgado 47ec38
    </para>
Alain Reguera Delgado 47ec38
    </listitem>
Alain Reguera Delgado 47ec38
    <listitem>
Alain Reguera Delgado 47ec38
    <para>
Alain Reguera Delgado 47ec38
        The data exchanging route between the working copies and the
Alain Reguera Delgado 47ec38
        central repository takes place through SSH.
Alain Reguera Delgado 47ec38
    </para>
Alain Reguera Delgado 47ec38
    </listitem>
Alain Reguera Delgado 47ec38
    <listitem>
Alain Reguera Delgado 47ec38
    <para>
Alain Reguera Delgado 47ec38
        The access rights are controlled by using a combination of SSH
Alain Reguera Delgado 47ec38
        public keys and Gitolite's repository configuration file.
Alain Reguera Delgado 47ec38
    </para>
Alain Reguera Delgado 47ec38
    </listitem>
Alain Reguera Delgado 47ec38
    </itemizedlist>
Alain Reguera Delgado 47ec38
    
Alain Reguera Delgado 47ec38
    <para>
Alain Reguera Delgado 47ec38
        In this infrastructure, the first level of directories in the
Alain Reguera Delgado 47ec38
        repository provides organization for different work lines, as
Alain Reguera Delgado 47ec38
        described in <xref linkend="repo-convs-worklines" />.  All
Alain Reguera Delgado 47ec38
        other subsequent directory levels from second level on exist
Alain Reguera Delgado 47ec38
        to organize specific concepts related to the work line they
Alain Reguera Delgado 47ec38
        belong to.
Alain Reguera Delgado 47ec38
    </para>
Alain Reguera Delgado 47ec38
Alain Reguera Delgado 47ec38
    </section>
Alain Reguera Delgado 47ec38
Alain Reguera Delgado 47ec38
</section>