Resources attached to the Road To DevOps tutorial https://blog.noobtoroot.xyz/road-to-devops/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

73 lines
7.5 KiB

<!-- .slide: data-background="#2E2E2E" data-state="nologo-slide" -->
# Contexte
@@
## La gestion de version
> Maintient l'ensemble des versions d'un ou plusieurs fichiers
Note:
- on pose la question qu'est ce que c'est pour vous la gestion de version
@@
<!-- .slide: class="align-left" -->
## Que permet la gestion de version&nbsp;?
<br>
Offrir la possibilité de<!-- .element: class="fragment" data-fragment-index="1" --> **revenir**<!-- .element: class="fragment" data-fragment-index="1" --> facilement à une <!-- .element: class="fragment" data-fragment-index="1" -->**version antérieure.**<!-- .element: class="fragment" data-fragment-index="1" -->
<br><br>
Garder la trace de modifications :<!-- .element: class="fragment" data-fragment-index="1" --> **qui**<!-- .element: class="fragment" data-fragment-index="1" -->, **quoi**<!-- .element: class="fragment" data-fragment-index="1" -->, **quand**<!-- .element: class="fragment" data-fragment-index="1" --> et<!-- .element: class="fragment" data-fragment-index="1" --> **pourquoi ?**<!-- .element: class="fragment" data-fragment-index="1" -->
<br><br>
Permettre à <!-- .element: class="fragment" data-fragment-index="1" -->**plusieurs personnes**<!-- .element: class="fragment" data-fragment-index="1" --> de travailler <!-- .element: class="fragment" data-fragment-index="1" -->**simultanément**<!-- .element: class="fragment" data-fragment-index="1" --> sur le même projet sans se marcher sur les pieds. <!-- .element: class="fragment" data-fragment-index="1" -->
@@
> Si le code n'est pas enregistré dans un logiciel de gestion de version, il n'existe pas.
@@
<!-- .slide: class="align-left" -->
## 2 Grandes familles de logiciels de gestion de version
<br>
Centralisés (cvs, svn, tfs).
<br><br>Distribués (git, mercurial, bazaar).
@@
## Qu'est-ce qu'un logiciel de gestion de version distribué ?
@@
<div class="sl-block" data-block-type="image" style="min-width: 4px; min-height: 4px; width: 258px; height: 287px; left: 50px; top: 220px;" data-block-id="0ecd8c82f2fafdbc6d67e3cc2ff0deed"><div class="sl-block-content" style="z-index: 11;"><img style="" data-natural-width="1084" data-natural-height="1204" data-lazy-loaded="" data-src="images/02-contexte/distribue.png"></div></div>
<div class="sl-block" data-block-type="text" style="height: auto; min-width: 30px; min-height: 30px; width: 283px; left: 37px; top: 181px;" data-block-id="08bd39eb7a0fa22141fbd038c495b772"><div class="sl-block-content" data-placeholder-tag="p" data-placeholder-text="Text" style="z-index: 12;">
<p>Distribué</p>
</div></div>
<div class="sl-block" data-block-type="image" style="min-width: 4px; min-height: 4px; width: 213px; height: 169px; left: 374px; top: 290px;" data-block-id="796dd328c6f6db1b27936d61cd56534c"><div class="sl-block-content" style="z-index: 13;"><img style="" data-natural-width="1084" data-natural-height="862" data-src="images/02-contexte/centralise.png"></div></div>
<div class="sl-block" data-block-type="text" style="height: auto; min-width: 30px; min-height: 30px; width: 283px; left: 339px; top: 181px;" data-block-id="71ca2e17b37131e9d1929c11541eae98"><div class="sl-block-content" data-placeholder-tag="p" data-placeholder-text="Text" style="z-index: 14;">
<p>Centralisé</p>
</div></div>
<div class="sl-block" data-block-type="line" style="width: auto; height: auto; min-width: 1px; min-height: 1px; left: 354px; top: 140px;" data-block-id="7891cc088e66c43a7d7687ae0161d5ca"><div class="sl-block-content" data-line-x1="-26" data-line-y1="319" data-line-x2="-26" data-line-y2="-110" data-line-color="#000000" data-line-start-type="none" data-line-end-type="none" style="z-index: 15;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" preserveaspectratio="xMidYMid" width="1" height="429" viewbox="-26 -110 1 429"><line stroke="rgba(0,0,0,0)" stroke-width="15" x1="-26" y1="319" x2="-26" y2="-110"></line><line stroke="#000000" stroke-width="2" x1="-26" y1="319" x2="-26" y2="-110"></line></svg></div></div>
<div class="sl-block" data-block-type="shape" style="min-width: 4px; min-height: 4px; width: 348px; height: 500px; left: 602px; top: 140px;" data-block-id="abfdee1d7c3c510282dc5f07091aeb69"><div class="sl-block-content" data-shape-type="rect" data-shape-fill-color="rgb(238, 238, 238)" data-shape-stretch="true" style="z-index: 16;"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="100%" height="100%" preserveaspectratio="none" viewbox="0 0 348 577"><rect width="348" height="577" rx="0" ry="0" class="shape-element" fill="rgb(238, 238, 238)"></rect></svg></div></div>
<div class="sl-block" data-block-type="text" style="height: auto; min-width: 30px; min-height: 30px; width: 348px; left: 602px; top: 150px;" data-block-id="a2c2aeb67a0e8f17f263abd934b47dba"><div class="sl-block-content" data-placeholder-tag="p" data-placeholder-text="Text" style="z-index: 17;">
<p style="text-align: left;">Distribué signifie :</p>
<ul>
<li style="text-align: left;">Chaque développeur dispose d'un <strong>dépôt complet en local</strong>
</li>
<li style="text-align: left;">Techniquement le dépôt central n'est pas différent du dépôt local</li>
<li style="text-align: left;">Facilement utilisable hors ligne</li>
<li style="text-align: left;">La création de branche est facile</li>
</ul>
</div></div>
<div class="sl-block" data-block-type="text" style="height: auto; min-width: 30px; min-height: 30px; width: 960px; left: 0px; top: 31px;" data-block-id="c820880396f87782ef4fe0546029548c"><div class="sl-block-content" data-placeholder-tag="p" data-placeholder-text="Text" style="z-index: 22;">
<h2>Logiciel de version distribué</h2>
</div></div>
@@
<div class="sl-block" data-block-type="text" data-block-id="46c168ac12efd5af84b2b54433d90793" style="height: auto; min-width: 30px; min-height: 30px; width: 960px; left: 0px; top: 0px;"><div class="sl-block-content" data-placeholder-tag="p" data-placeholder-text="Text" style="z-index: 11;">
<h2>Git</h2>
</div></div>
<div class="sl-block" data-block-type="text" style="height: auto; min-width: 30px; min-height: 30px; width: 960px; left: 0px; top: 109px;" data-block-id="4d5c6f37cf3fadcd28e00b4773122a15"><div class="sl-block-content" data-placeholder-tag="p" data-placeholder-text="Text" style="z-index: 12;">
<ul>
<li style="text-align: center;">Créé en 2005 par Linus Torvald pour le noyau linux.</li>
<li>Utilisé par Linux, Android, Eclipse...</li>
<li>Intégration dans Eclipse, XCode, VSCode, Intellij...</li>
<li>Utilisé par Google, SAP, Twitter.</li>
<li>Populaire ++</li>
</ul>
</div></div>
<div class="sl-block" data-block-type="image" style="min-width: 4px; min-height: 4px; width: 242px; height: 101px; left: 42px; top: 541px;" data-block-id="2cba192eb114f0286465ba7056a2413a"><div class="sl-block-content" style="z-index: 13;"><img data-natural-width="910" data-natural-height="380" style="" data-src="images/02-contexte/git.png"></div></div>
<div class="sl-block" data-block-type="image" style="min-width: 4px; min-height: 4px; width: 244px; height: 203px; left: 344px; top: 459px;" data-block-id="7f662a788295a3a57e397caae1f82ed2"><div class="sl-block-content" style="z-index: 14;"><img style="" data-natural-width="800" data-natural-height="665" data-src="images/02-contexte/github.png"></div></div>
<div class="sl-block" data-block-type="image" style="min-width: 4px; min-height: 4px; width: 223px; height: 206px; left: 634px; top: 458px;" data-block-id="ae636bd56a3a6fe18e01ec2b68e42491"><div class="sl-block-content" style="z-index: 15;"><img style="" data-natural-width="1108" data-natural-height="1024" data-src="images/02-contexte/gitlab.png"></div></div>