Projet

Général

Profil

Evolution #1319 » 0002-Syntax-and-rephrasing-on-git-page-refs-1319.patch

Guillaume AGNIERAY, 05/10/2019 22:21

Voir les différences:

source/development/git.rst
.. note::
If you are not familiar with GIT, there are plenty of documentation over the internet.
If you are not familiar with GIT, there are plenty of documentations over the internet.
Some links of interest:
* http://www-cs-students.stanford.edu/~blynn/gitmagic/
* https://schacon.github.com/git/gittutorial.html
* https://ndpsoftware.com/git-cheatsheet.html
* https://git-scm.com/book/fr/v2
* https://ndpsoftware.com/git-cheatsheet.html that explaines relations beetween a git repository levels
* https://ndpsoftware.com/git-cheatsheet.html explaining the relations beetween git commands and the existing levels in the structure of a repository
All Galette sources are stored in their own `Git <https://en.wikipedia.org/wiki/Git>`_ repository hosted by `Tuxfamily <https://www.tuxfamily.org>`_ (big thanks to them!). A `Galette organization is also available on github <https://github.com/galette/>`_, in which all repositories are mirrored.
All GIT repositories follow the :ref:`adopted development model <devmodel>`, therefore you will find two branches on each repository:
* ``master``: this is always the latest stable release,
* ``develop``: development version, may be unstable.
* ``develop``: the development version, may be unstable.
+-----------------------+----------------------------------------------------------------+-----------------------------------------------+
| Project | Tuxfamily | Github |
......
$ git clone git://git.tuxfamily.org/gitroot/galette/galette.git
The ``galette`` directory will then contains a working copy of Galette source code.
:ref:`Third party dependencies <deps>` required by Galette are not available from the repository. You can refer to the :ref:`coding part of contributor manual <contrib_coding>` to get details and example of code contribution.
The ``galette`` directory will then contain a working copy of Galette's source code.
.. _deps:
Third party libs
----------------
Third party librarires
----------------------
:doc:`Galette third party dependencies <technical_infos>` are handled with `Composer dependency manager <https://getcomposer.org>`_. Once composer installed on your system, just go in Galette directory (where you can see `composer.json` and `composer.lock` files) and just run:
:doc:`Galette's third party dependencies <technical_infos>` are not included in the repository. Instead, they are handled with `Composer dependency manager <https://getcomposer.org>`_. Once composer is installed on your workstation, just go in Galette directory (where you will find `composer.json` and `composer.lock` files) and run composer:
.. code-block:: bash
$ cd galette/galette
$ composer install -o
It is possible to use another installed version of the lib, the system side one for example. Just take a look at :ref:`how to configure Galette paths <configpaths>`.
It is also possible to use these libraries if they are provided by another way, on your system side for example. Just take a look at :ref:`how to configure Galette paths <configpaths>`.
.. _gitlinux:
GNU/Linux
---------
Standards GIT commands are certainly provided from default repositories on most GNU/Linux distributions.
Standard GIT commands are provided by default in the package manager of most GNU/Linux distributions.
Some graphical interfaces:
(2-2/5)