https://wiki.april.org/index.php?title=Gestion_de_la_configuration&feed=atom&action=history
Gestion de la configuration - Historique des versions
2024-03-29T13:26:03Z
Historique des versions pour cette page sur le wiki
MediaWiki 1.35.13
https://wiki.april.org/index.php?title=Gestion_de_la_configuration&diff=44772&oldid=prev
Vincentxavier le 1 novembre 2011 à 11:44
2011-11-01T11:44:22Z
<p></p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="fr">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Version précédente</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Version du 1 novembre 2011 à 11:44</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l5" >Ligne 5 :</td>
<td colspan="2" class="diff-lineno">Ligne 5 :</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>if [[ $? -ne 0 ]] ; then</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>if [[ $? -ne 0 ]] ; then</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> git log -1 -p|mail -r `git log -1 --pretty=format:"<%ae>"` -s "Git commit on $(hostname)" admins-auto<del class="diffchange diffchange-inline">@april.org</del></div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> git log -1 -p|mail -r `git log -1 --pretty=format:"<%ae>"` -s "Git commit on $(hostname)" admins-auto</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>fi</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>fi</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></pre></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></pre></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Catégorie:Admin sys]]</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Catégorie:Admin sys]]</div></td></tr>
</table>
Vincentxavier
https://wiki.april.org/index.php?title=Gestion_de_la_configuration&diff=44771&oldid=prev
Vincentxavier : Page créée avec « Nous utilisons [http://packages.debian.org/squeeze/etckeeper etckeeper] pour nos fichiers de conf à l'April. Afin de garder des traces des actions, les messages de commit so… »
2011-11-01T11:44:03Z
<p>Page créée avec « Nous utilisons [http://packages.debian.org/squeeze/etckeeper etckeeper] pour nos fichiers de conf à l'April. Afin de garder des traces des actions, les messages de commit so… »</p>
<p><b>Nouvelle page</b></p><div>Nous utilisons [http://packages.debian.org/squeeze/etckeeper etckeeper] pour nos fichiers de conf à l'April. Afin de garder des traces des actions, les messages de commit sont directement envoyés sur la liste admins-auto via le script suivant :<br />
<pre>#!/bin/bash<br />
<br />
git log -1 | grep 'daily autocommit' 2>&1 > /dev/null<br />
<br />
if [[ $? -ne 0 ]] ; then<br />
git log -1 -p|mail -r `git log -1 --pretty=format:"<%ae>"` -s "Git commit on $(hostname)" admins-auto@april.org<br />
fi<br />
</pre><br />
<br />
[[Catégorie:Admin sys]]</div>
Vincentxavier