Outils pour utilisateurs

Outils du site


versionning

Ceci est une ancienne révision du document !


Versionning

Semantic Versioning 2.0.0

https://semver.org/ Given a version number MAJOR.MINOR.PATCH, increment the :

  • MAJOR version when you make incompatible API changes,
  • MINOR version when you add functionality in a backwards-compatible manner, and
  • PATCH version when you make backwards-compatible bug fixes.

Git

New project

git init
git remote add origin https://xxx
git branch <branche>
git checkout <branche>

Process Flow

  • IDE > Modifications > branch dev > checkout dev > commit > push
  • Dev (server) > pull (dev) > test ? ok : debug
  • GitLab > merge dev > master
  • Prod (server) > pull (master) > test ? ok : debug

Clone existing project

  • sur le serveur : git clone https://xxx
  • chown -R bnicolas:www-data folder
  • composer update

Gitlab

Nous utilisons Gitlab sur un de nos serveurs pour gérer nos différents projets et leurs évolutions. Nous sommes donc également compétents pour vous accompagner dans le déploiement d'une telle solution de versioning de vos propres projets, applications et sites web.

versionning.1544618872.txt.gz · Dernière modification : 2018/12/12 13:47 de benoit